naftiko: 1.0.0-alpha2 info: label: Apigee API Management — Environments description: 'Apigee API Management — Environments. 5 operations. Lead operation: Apigee List Environments. Self-contained Naftiko capability covering one Apigee business surface.' tags: - Apigee - Environments 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-environments baseUri: https://apigee.googleapis.com/v1 description: Apigee API Management — Environments business capability. Self-contained, no shared references. resources: - name: organizations-organizationId-environments path: /organizations/{organizationId}/environments operations: - name: listenvironments method: GET description: Apigee List Environments outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createenvironment method: POST description: Apigee Create an Environment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: organizations-organizationId-environments-environmentId path: /organizations/{organizationId}/environments/{environmentId} operations: - name: getenvironment method: GET description: Apigee Get an Environment outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateenvironment method: PUT description: Apigee Update an Environment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteenvironment method: DELETE description: Apigee Delete an Environment outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.APIGEE_API_KEY}}' exposes: - type: rest namespace: api-management-environments-rest port: 8080 description: REST adapter for Apigee API Management — Environments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/organizations/{organizationid}/environments name: organizations-organizationid-environments description: REST surface for organizations-organizationId-environments. operations: - method: GET name: listenvironments description: Apigee List Environments call: api-management-environments.listenvironments outputParameters: - type: object mapping: $. - method: POST name: createenvironment description: Apigee Create an Environment call: api-management-environments.createenvironment with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/organizations/{organizationid}/environments/{environmentid} name: organizations-organizationid-environments-environmentid description: REST surface for organizations-organizationId-environments-environmentId. operations: - method: GET name: getenvironment description: Apigee Get an Environment call: api-management-environments.getenvironment outputParameters: - type: object mapping: $. - method: PUT name: updateenvironment description: Apigee Update an Environment call: api-management-environments.updateenvironment with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteenvironment description: Apigee Delete an Environment call: api-management-environments.deleteenvironment outputParameters: - type: object mapping: $. - type: mcp namespace: api-management-environments-mcp port: 9090 transport: http description: MCP adapter for Apigee API Management — Environments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: apigee-list-environments description: Apigee List Environments hints: readOnly: true destructive: false idempotent: true call: api-management-environments.listenvironments outputParameters: - type: object mapping: $. - name: apigee-create-environment description: Apigee Create an Environment hints: readOnly: false destructive: false idempotent: false call: api-management-environments.createenvironment with: body: tools.body outputParameters: - type: object mapping: $. - name: apigee-get-environment description: Apigee Get an Environment hints: readOnly: true destructive: false idempotent: true call: api-management-environments.getenvironment outputParameters: - type: object mapping: $. - name: apigee-update-environment description: Apigee Update an Environment hints: readOnly: false destructive: false idempotent: true call: api-management-environments.updateenvironment with: body: tools.body outputParameters: - type: object mapping: $. - name: apigee-delete-environment description: Apigee Delete an Environment hints: readOnly: false destructive: true idempotent: true call: api-management-environments.deleteenvironment outputParameters: - type: object mapping: $.