naftiko: 1.0.0-alpha2 info: label: RapidAPI Studio API — Endpoints description: 'RapidAPI Studio API — Endpoints. 4 operations. Lead operation: List endpoints. Self-contained Naftiko capability covering one Rapidapi business surface.' tags: - Rapidapi - Endpoints created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: RAPIDAPI_API_KEY: RAPIDAPI_API_KEY capability: consumes: - type: http namespace: studio-endpoints baseUri: https://studio.rapidapi.com/v1 description: RapidAPI Studio API — Endpoints business capability. Self-contained, no shared references. resources: - name: projects-projectId-endpoints path: /projects/{projectId}/endpoints operations: - name: listendpoints method: GET description: List endpoints outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createendpoint method: POST description: Create an endpoint outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: projects-projectId-endpoints-endpointId path: /projects/{projectId}/endpoints/{endpointId} operations: - name: updateendpoint method: PUT description: Update an endpoint outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteendpoint method: DELETE description: Delete an endpoint outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: X-RapidAPI-Key value: '{{env.RAPIDAPI_API_KEY}}' placement: header exposes: - type: rest namespace: studio-endpoints-rest port: 8080 description: REST adapter for RapidAPI Studio API — Endpoints. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/{projectid}/endpoints name: projects-projectid-endpoints description: REST surface for projects-projectId-endpoints. operations: - method: GET name: listendpoints description: List endpoints call: studio-endpoints.listendpoints outputParameters: - type: object mapping: $. - method: POST name: createendpoint description: Create an endpoint call: studio-endpoints.createendpoint with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid}/endpoints/{endpointid} name: projects-projectid-endpoints-endpointid description: REST surface for projects-projectId-endpoints-endpointId. operations: - method: PUT name: updateendpoint description: Update an endpoint call: studio-endpoints.updateendpoint with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteendpoint description: Delete an endpoint call: studio-endpoints.deleteendpoint outputParameters: - type: object mapping: $. - type: mcp namespace: studio-endpoints-mcp port: 9090 transport: http description: MCP adapter for RapidAPI Studio API — Endpoints. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-endpoints description: List endpoints hints: readOnly: true destructive: false idempotent: true call: studio-endpoints.listendpoints outputParameters: - type: object mapping: $. - name: create-endpoint description: Create an endpoint hints: readOnly: false destructive: false idempotent: false call: studio-endpoints.createendpoint with: body: tools.body outputParameters: - type: object mapping: $. - name: update-endpoint description: Update an endpoint hints: readOnly: false destructive: false idempotent: true call: studio-endpoints.updateendpoint with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-endpoint description: Delete an endpoint hints: readOnly: false destructive: true idempotent: true call: studio-endpoints.deleteendpoint outputParameters: - type: object mapping: $.