naftiko: 1.0.0-alpha2 info: label: Apollo Config Open API — Clusters description: 'Apollo Config Open API — Clusters. 3 operations. Lead operation: Get environments and clusters. Self-contained Naftiko capability covering one Apollo Config business surface.' tags: - Apollo Config - Clusters created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APOLLO_CONFIG_API_KEY: APOLLO_CONFIG_API_KEY capability: consumes: - type: http namespace: apollo-open-clusters baseUri: http://localhost:8070 description: Apollo Config Open API — Clusters business capability. Self-contained, no shared references. resources: - name: openapi-v1-apps-appId-envclusters path: /openapi/v1/apps/{appId}/envclusters operations: - name: getenvclusters method: GET description: Get environments and clusters outputRawFormat: json outputParameters: - name: result type: object value: $. - name: openapi-v1-envs-env-apps-appId-clusters-clusterName path: /openapi/v1/envs/{env}/apps/{appId}/clusters/{clusterName} operations: - name: getcluster method: GET description: Get cluster info outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createcluster method: POST description: Create a cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: Authorization value: '{{env.APOLLO_CONFIG_API_KEY}}' placement: header exposes: - type: rest namespace: apollo-open-clusters-rest port: 8080 description: REST adapter for Apollo Config Open API — Clusters. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/openapi/v1/apps/{appid}/envclusters name: openapi-v1-apps-appid-envclusters description: REST surface for openapi-v1-apps-appId-envclusters. operations: - method: GET name: getenvclusters description: Get environments and clusters call: apollo-open-clusters.getenvclusters outputParameters: - type: object mapping: $. - path: /v1/openapi/v1/envs/{env}/apps/{appid}/clusters/{clustername} name: openapi-v1-envs-env-apps-appid-clusters-clustername description: REST surface for openapi-v1-envs-env-apps-appId-clusters-clusterName. operations: - method: GET name: getcluster description: Get cluster info call: apollo-open-clusters.getcluster outputParameters: - type: object mapping: $. - method: POST name: createcluster description: Create a cluster call: apollo-open-clusters.createcluster with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: apollo-open-clusters-mcp port: 9090 transport: http description: MCP adapter for Apollo Config Open API — Clusters. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-environments-and-clusters description: Get environments and clusters hints: readOnly: true destructive: false idempotent: true call: apollo-open-clusters.getenvclusters outputParameters: - type: object mapping: $. - name: get-cluster-info description: Get cluster info hints: readOnly: true destructive: false idempotent: true call: apollo-open-clusters.getcluster outputParameters: - type: object mapping: $. - name: create-cluster description: Create a cluster hints: readOnly: false destructive: false idempotent: false call: apollo-open-clusters.createcluster with: body: tools.body outputParameters: - type: object mapping: $.