naftiko: 1.0.0-alpha2 info: label: Apigee API Management — Shared Flows description: 'Apigee API Management — Shared Flows. 4 operations. Lead operation: Apigee List Shared Flows. Self-contained Naftiko capability covering one Apigee business surface.' tags: - Apigee - Shared Flows 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-shared-flows baseUri: https://apigee.googleapis.com/v1 description: Apigee API Management — Shared Flows business capability. Self-contained, no shared references. resources: - name: organizations-organizationId-sharedflows path: /organizations/{organizationId}/sharedflows operations: - name: listsharedflows method: GET description: Apigee List Shared Flows outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createsharedflow method: POST description: Apigee Create a Shared Flow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: query type: string description: Name of the shared flow. Must be unique within the organization. required: true - name: action in: query type: string description: Set to "import" when uploading a ZIP bundle. - name: body in: body type: object description: Request body (JSON). required: false - name: organizations-organizationId-sharedflows-sharedFlowId path: /organizations/{organizationId}/sharedflows/{sharedFlowId} operations: - name: getsharedflow method: GET description: Apigee Get a Shared Flow outputRawFormat: json outputParameters: - name: result type: object value: $. - name: deletesharedflow method: DELETE description: Apigee Delete a Shared Flow outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.APIGEE_API_KEY}}' exposes: - type: rest namespace: api-management-shared-flows-rest port: 8080 description: REST adapter for Apigee API Management — Shared Flows. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/organizations/{organizationid}/sharedflows name: organizations-organizationid-sharedflows description: REST surface for organizations-organizationId-sharedflows. operations: - method: GET name: listsharedflows description: Apigee List Shared Flows call: api-management-shared-flows.listsharedflows outputParameters: - type: object mapping: $. - method: POST name: createsharedflow description: Apigee Create a Shared Flow call: api-management-shared-flows.createsharedflow with: name: rest.name action: rest.action body: rest.body outputParameters: - type: object mapping: $. - path: /v1/organizations/{organizationid}/sharedflows/{sharedflowid} name: organizations-organizationid-sharedflows-sharedflowid description: REST surface for organizations-organizationId-sharedflows-sharedFlowId. operations: - method: GET name: getsharedflow description: Apigee Get a Shared Flow call: api-management-shared-flows.getsharedflow outputParameters: - type: object mapping: $. - method: DELETE name: deletesharedflow description: Apigee Delete a Shared Flow call: api-management-shared-flows.deletesharedflow outputParameters: - type: object mapping: $. - type: mcp namespace: api-management-shared-flows-mcp port: 9090 transport: http description: MCP adapter for Apigee API Management — Shared Flows. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: apigee-list-shared-flows description: Apigee List Shared Flows hints: readOnly: true destructive: false idempotent: true call: api-management-shared-flows.listsharedflows outputParameters: - type: object mapping: $. - name: apigee-create-shared-flow description: Apigee Create a Shared Flow hints: readOnly: false destructive: false idempotent: false call: api-management-shared-flows.createsharedflow with: name: tools.name action: tools.action body: tools.body outputParameters: - type: object mapping: $. - name: apigee-get-shared-flow description: Apigee Get a Shared Flow hints: readOnly: true destructive: false idempotent: true call: api-management-shared-flows.getsharedflow outputParameters: - type: object mapping: $. - name: apigee-delete-shared-flow description: Apigee Delete a Shared Flow hints: readOnly: false destructive: true idempotent: true call: api-management-shared-flows.deletesharedflow outputParameters: - type: object mapping: $.