naftiko: 1.0.0-alpha2 info: label: Apigee API Management — Deployments description: 'Apigee API Management — Deployments. 3 operations. Lead operation: Apigee List Organization Deployments. Self-contained Naftiko capability covering one Apigee business surface.' tags: - Apigee - Deployments created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APIGEE_API_KEY: APIGEE_API_KEY capability: consumes: - type: http namespace: api-management-deployments baseUri: https://apigee.googleapis.com/v1 description: Apigee API Management — Deployments business capability. Self-contained, no shared references. resources: - name: organizations-organizationId-deployments path: /organizations/{organizationId}/deployments operations: - name: listorganizationdeployments method: GET description: Apigee List Organization Deployments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: sharedFlows in: query type: boolean description: Set to true to return shared flow deployments instead of API proxy deployments. - name: organizations-organizationId-environments-environmentId-apis-apiId-revisions-rev path: /organizations/{organizationId}/environments/{environmentId}/apis/{apiId}/revisions/{revisionId}/deployments operations: - name: deployapiproxyrevision method: POST description: Apigee Deploy an API Proxy Revision outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: override in: query type: boolean description: Set to true to force deployment of the new revision over the currently deployed revision by overriding conflict checks. - name: sequencedRollout in: query type: boolean description: Set to true to enable sequenced rollout, which deploys to pods in a gradual manner. - name: undeployapiproxyrevision method: DELETE description: Apigee Undeploy an API Proxy Revision outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: sequencedRollout in: query type: boolean description: Set to true to enable sequenced rollout for undeployment. authentication: type: bearer token: '{{env.APIGEE_API_KEY}}' exposes: - type: rest namespace: api-management-deployments-rest port: 8080 description: REST adapter for Apigee API Management — Deployments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/organizations/{organizationid}/deployments name: organizations-organizationid-deployments description: REST surface for organizations-organizationId-deployments. operations: - method: GET name: listorganizationdeployments description: Apigee List Organization Deployments call: api-management-deployments.listorganizationdeployments with: sharedFlows: rest.sharedFlows outputParameters: - type: object mapping: $. - path: /v1/organizations/{organizationid}/environments/{environmentid}/apis/{apiid}/revisions/{revisionid}/deployments name: organizations-organizationid-environments-environmentid-apis-apiid-revisions-rev description: REST surface for organizations-organizationId-environments-environmentId-apis-apiId-revisions-rev. operations: - method: POST name: deployapiproxyrevision description: Apigee Deploy an API Proxy Revision call: api-management-deployments.deployapiproxyrevision with: override: rest.override sequencedRollout: rest.sequencedRollout outputParameters: - type: object mapping: $. - method: DELETE name: undeployapiproxyrevision description: Apigee Undeploy an API Proxy Revision call: api-management-deployments.undeployapiproxyrevision with: sequencedRollout: rest.sequencedRollout outputParameters: - type: object mapping: $. - type: mcp namespace: api-management-deployments-mcp port: 9090 transport: http description: MCP adapter for Apigee API Management — Deployments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: apigee-list-organization-deployments description: Apigee List Organization Deployments hints: readOnly: true destructive: false idempotent: true call: api-management-deployments.listorganizationdeployments with: sharedFlows: tools.sharedFlows outputParameters: - type: object mapping: $. - name: apigee-deploy-api-proxy-revision description: Apigee Deploy an API Proxy Revision hints: readOnly: false destructive: false idempotent: false call: api-management-deployments.deployapiproxyrevision with: override: tools.override sequencedRollout: tools.sequencedRollout outputParameters: - type: object mapping: $. - name: apigee-undeploy-api-proxy-revision description: Apigee Undeploy an API Proxy Revision hints: readOnly: false destructive: true idempotent: true call: api-management-deployments.undeployapiproxyrevision with: sequencedRollout: tools.sequencedRollout outputParameters: - type: object mapping: $.