naftiko: 1.0.0-alpha2 info: label: Apigee Registry API — API Specs description: 'Apigee Registry API — API Specs. 7 operations. Lead operation: Apigee List API Specs. Self-contained Naftiko capability covering one Apigee business surface.' tags: - Apigee - API Specs 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-specs baseUri: https://apigeeregistry.googleapis.com/v1 description: Apigee Registry API — API Specs business capability. Self-contained, no shared references. resources: - name: projects-projectId-locations-locationId-apis-apiId-versions-versionId-specs path: /projects/{projectId}/locations/{locationId}/apis/{apiId}/versions/{versionId}/specs operations: - name: listapispecs method: GET description: Apigee List API Specs 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: createapispec method: POST description: Apigee Create an API Spec outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: apiSpecId in: query type: string description: Required. The ID to use for the spec. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: projects-projectId-locations-locationId-apis-apiId-versions-versionId-specs-spec path: /projects/{projectId}/locations/{locationId}/apis/{apiId}/versions/{versionId}/specs/{specId} operations: - name: getapispec method: GET description: Apigee Get an API Spec outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateapispec method: PATCH description: Apigee Update an API Spec 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: deleteapispec method: DELETE description: Apigee Delete an API Spec outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: force in: query type: boolean description: If true, delete child resources as well. - name: projects-projectId-locations-locationId-apis-apiId-versions-versionId-specs-spec path: /projects/{projectId}/locations/{locationId}/apis/{apiId}/versions/{versionId}/specs/{specId}:getContents operations: - name: getapispeccontents method: GET description: Apigee Get API Spec Contents outputRawFormat: json outputParameters: - name: result type: object value: $. - name: projects-projectId-locations-locationId-apis-apiId-versions-versionId-specs-spec path: /projects/{projectId}/locations/{locationId}/apis/{apiId}/versions/{versionId}/specs/{specId}:rollback operations: - name: rollbackapispec method: POST description: Apigee Rollback an API Spec outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.APIGEE_API_KEY}}' exposes: - type: rest namespace: registry-api-specs-rest port: 8080 description: REST adapter for Apigee Registry API — API Specs. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/{projectid}/locations/{locationid}/apis/{apiid}/versions/{versionid}/specs name: projects-projectid-locations-locationid-apis-apiid-versions-versionid-specs description: REST surface for projects-projectId-locations-locationId-apis-apiId-versions-versionId-specs. operations: - method: GET name: listapispecs description: Apigee List API Specs call: registry-api-specs.listapispecs with: filter: rest.filter orderBy: rest.orderBy outputParameters: - type: object mapping: $. - method: POST name: createapispec description: Apigee Create an API Spec call: registry-api-specs.createapispec with: apiSpecId: rest.apiSpecId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid}/locations/{locationid}/apis/{apiid}/versions/{versionid}/specs/{specid} name: projects-projectid-locations-locationid-apis-apiid-versions-versionid-specs-spec description: REST surface for projects-projectId-locations-locationId-apis-apiId-versions-versionId-specs-spec. operations: - method: GET name: getapispec description: Apigee Get an API Spec call: registry-api-specs.getapispec outputParameters: - type: object mapping: $. - method: PATCH name: updateapispec description: Apigee Update an API Spec call: registry-api-specs.updateapispec with: updateMask: rest.updateMask allowMissing: rest.allowMissing body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteapispec description: Apigee Delete an API Spec call: registry-api-specs.deleteapispec with: force: rest.force outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid}/locations/{locationid}/apis/{apiid}/versions/{versionid}/specs/specid-getcontents name: projects-projectid-locations-locationid-apis-apiid-versions-versionid-specs-spec description: REST surface for projects-projectId-locations-locationId-apis-apiId-versions-versionId-specs-spec. operations: - method: GET name: getapispeccontents description: Apigee Get API Spec Contents call: registry-api-specs.getapispeccontents outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid}/locations/{locationid}/apis/{apiid}/versions/{versionid}/specs/specid-rollback name: projects-projectid-locations-locationid-apis-apiid-versions-versionid-specs-spec description: REST surface for projects-projectId-locations-locationId-apis-apiId-versions-versionId-specs-spec. operations: - method: POST name: rollbackapispec description: Apigee Rollback an API Spec call: registry-api-specs.rollbackapispec with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: registry-api-specs-mcp port: 9090 transport: http description: MCP adapter for Apigee Registry API — API Specs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: apigee-list-api-specs description: Apigee List API Specs hints: readOnly: true destructive: false idempotent: true call: registry-api-specs.listapispecs with: filter: tools.filter orderBy: tools.orderBy outputParameters: - type: object mapping: $. - name: apigee-create-api-spec description: Apigee Create an API Spec hints: readOnly: false destructive: false idempotent: false call: registry-api-specs.createapispec with: apiSpecId: tools.apiSpecId body: tools.body outputParameters: - type: object mapping: $. - name: apigee-get-api-spec description: Apigee Get an API Spec hints: readOnly: true destructive: false idempotent: true call: registry-api-specs.getapispec outputParameters: - type: object mapping: $. - name: apigee-update-api-spec description: Apigee Update an API Spec hints: readOnly: false destructive: false idempotent: true call: registry-api-specs.updateapispec with: updateMask: tools.updateMask allowMissing: tools.allowMissing body: tools.body outputParameters: - type: object mapping: $. - name: apigee-delete-api-spec description: Apigee Delete an API Spec hints: readOnly: false destructive: true idempotent: true call: registry-api-specs.deleteapispec with: force: tools.force outputParameters: - type: object mapping: $. - name: apigee-get-api-spec-contents description: Apigee Get API Spec Contents hints: readOnly: true destructive: false idempotent: true call: registry-api-specs.getapispeccontents outputParameters: - type: object mapping: $. - name: apigee-rollback-api-spec description: Apigee Rollback an API Spec hints: readOnly: false destructive: false idempotent: false call: registry-api-specs.rollbackapispec with: body: tools.body outputParameters: - type: object mapping: $.