naftiko: 1.0.0-alpha2 info: label: RapidAPI REST Platform API — Organizations description: 'RapidAPI REST Platform API — Organizations. 3 operations. Lead operation: List all organizations. Self-contained Naftiko capability covering one Rapidapi business surface.' tags: - Rapidapi - Organizations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: RAPIDAPI_API_KEY: RAPIDAPI_API_KEY capability: consumes: - type: http namespace: rest-platform-organizations baseUri: https://platform.rapidapi.com/v1 description: RapidAPI REST Platform API — Organizations business capability. Self-contained, no shared references. resources: - name: organizations path: /organizations operations: - name: listorganizations method: GET description: List all organizations outputRawFormat: json outputParameters: - name: result type: object value: $. - name: organizations-organizationId path: /organizations/{organizationId} operations: - name: getorganization method: GET description: Get an organization outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateorganization method: PUT description: Update an organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: X-RapidAPI-Key value: '{{env.RAPIDAPI_API_KEY}}' placement: header exposes: - type: rest namespace: rest-platform-organizations-rest port: 8080 description: REST adapter for RapidAPI REST Platform API — Organizations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/organizations name: organizations description: REST surface for organizations. operations: - method: GET name: listorganizations description: List all organizations call: rest-platform-organizations.listorganizations outputParameters: - type: object mapping: $. - path: /v1/organizations/{organizationid} name: organizations-organizationid description: REST surface for organizations-organizationId. operations: - method: GET name: getorganization description: Get an organization call: rest-platform-organizations.getorganization outputParameters: - type: object mapping: $. - method: PUT name: updateorganization description: Update an organization call: rest-platform-organizations.updateorganization with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: rest-platform-organizations-mcp port: 9090 transport: http description: MCP adapter for RapidAPI REST Platform API — Organizations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-organizations description: List all organizations hints: readOnly: true destructive: false idempotent: true call: rest-platform-organizations.listorganizations outputParameters: - type: object mapping: $. - name: get-organization description: Get an organization hints: readOnly: true destructive: false idempotent: true call: rest-platform-organizations.getorganization outputParameters: - type: object mapping: $. - name: update-organization description: Update an organization hints: readOnly: false destructive: false idempotent: true call: rest-platform-organizations.updateorganization with: body: tools.body outputParameters: - type: object mapping: $.