naftiko: 1.0.0-alpha2 info: label: Apigee Registry API — API Versions description: 'Apigee Registry API — API Versions. 5 operations. Lead operation: Apigee List API Versions. Self-contained Naftiko capability covering one Apigee business surface.' tags: - Apigee - API Versions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APIGEE_API_KEY: APIGEE_API_KEY capability: consumes: - type: http namespace: registry-api-versions baseUri: https://apigeeregistry.googleapis.com/v1 description: Apigee Registry API — API Versions business capability. Self-contained, no shared references. resources: - name: projects-projectId-locations-locationId-apis-apiId-versions path: /projects/{projectId}/locations/{locationId}/apis/{apiId}/versions operations: - name: listapiversions method: GET description: Apigee List API Versions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: filter in: query type: string description: Filter expression. - name: orderBy in: query type: string description: Field to order results by. - name: createapiversion method: POST description: Apigee Create an API Version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: apiVersionId in: query type: string description: Required. The ID to use for the version. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: projects-projectId-locations-locationId-apis-apiId-versions-versionId path: /projects/{projectId}/locations/{locationId}/apis/{apiId}/versions/{versionId} operations: - name: getapiversion method: GET description: Apigee Get an API Version outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateapiversion method: PATCH description: Apigee Update an API Version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: updateMask in: query type: string description: Required. Comma-separated list of fields to update. required: true - name: allowMissing in: query type: boolean description: If true, create if it does not exist. - name: body in: body type: object description: Request body (JSON). required: true - name: deleteapiversion method: DELETE description: Apigee Delete an API Version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: force in: query type: boolean description: If true, delete child resources as well. authentication: type: bearer token: '{{env.APIGEE_API_KEY}}' exposes: - type: rest namespace: registry-api-versions-rest port: 8080 description: REST adapter for Apigee Registry API — API Versions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/{projectid}/locations/{locationid}/apis/{apiid}/versions name: projects-projectid-locations-locationid-apis-apiid-versions description: REST surface for projects-projectId-locations-locationId-apis-apiId-versions. operations: - method: GET name: listapiversions description: Apigee List API Versions call: registry-api-versions.listapiversions with: filter: rest.filter orderBy: rest.orderBy outputParameters: - type: object mapping: $. - method: POST name: createapiversion description: Apigee Create an API Version call: registry-api-versions.createapiversion with: apiVersionId: rest.apiVersionId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid}/locations/{locationid}/apis/{apiid}/versions/{versionid} name: projects-projectid-locations-locationid-apis-apiid-versions-versionid description: REST surface for projects-projectId-locations-locationId-apis-apiId-versions-versionId. operations: - method: GET name: getapiversion description: Apigee Get an API Version call: registry-api-versions.getapiversion outputParameters: - type: object mapping: $. - method: PATCH name: updateapiversion description: Apigee Update an API Version call: registry-api-versions.updateapiversion with: updateMask: rest.updateMask allowMissing: rest.allowMissing body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteapiversion description: Apigee Delete an API Version call: registry-api-versions.deleteapiversion with: force: rest.force outputParameters: - type: object mapping: $. - type: mcp namespace: registry-api-versions-mcp port: 9090 transport: http description: MCP adapter for Apigee Registry API — API Versions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: apigee-list-api-versions description: Apigee List API Versions hints: readOnly: true destructive: false idempotent: true call: registry-api-versions.listapiversions with: filter: tools.filter orderBy: tools.orderBy outputParameters: - type: object mapping: $. - name: apigee-create-api-version description: Apigee Create an API Version hints: readOnly: false destructive: false idempotent: false call: registry-api-versions.createapiversion with: apiVersionId: tools.apiVersionId body: tools.body outputParameters: - type: object mapping: $. - name: apigee-get-api-version description: Apigee Get an API Version hints: readOnly: true destructive: false idempotent: true call: registry-api-versions.getapiversion outputParameters: - type: object mapping: $. - name: apigee-update-api-version description: Apigee Update an API Version hints: readOnly: false destructive: false idempotent: true call: registry-api-versions.updateapiversion with: updateMask: tools.updateMask allowMissing: tools.allowMissing body: tools.body outputParameters: - type: object mapping: $. - name: apigee-delete-api-version description: Apigee Delete an API Version hints: readOnly: false destructive: true idempotent: true call: registry-api-versions.deleteapiversion with: force: tools.force outputParameters: - type: object mapping: $.