naftiko: 1.0.0-alpha2 info: label: APIIDA API Control Plane — Versions description: 'APIIDA API Control Plane — Versions. 2 operations. Lead operation: APIIDA Create API Version. Self-contained Naftiko capability covering one Apiida business surface.' tags: - Apiida - Versions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APIIDA_API_KEY: APIIDA_API_KEY capability: consumes: - type: http namespace: api-control-plane-versions baseUri: https://{tenant}.backend.apiida.io description: APIIDA API Control Plane — Versions business capability. Self-contained, no shared references. resources: - name: apis-apiId-versions path: /apis/{apiId}/versions operations: - name: createapiversion method: POST description: APIIDA Create API Version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: apis-apiId-versions-version-openProxySpec path: /apis/{apiId}/versions/{version}/openProxySpec operations: - name: uploadopenproxyspec method: PUT description: APIIDA Upload Specification to API Version 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.APIIDA_API_KEY}}' exposes: - type: rest namespace: api-control-plane-versions-rest port: 8080 description: REST adapter for APIIDA API Control Plane — Versions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/apis/{apiid}/versions name: apis-apiid-versions description: REST surface for apis-apiId-versions. operations: - method: POST name: createapiversion description: APIIDA Create API Version call: api-control-plane-versions.createapiversion with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/apis/{apiid}/versions/{version}/openproxyspec name: apis-apiid-versions-version-openproxyspec description: REST surface for apis-apiId-versions-version-openProxySpec. operations: - method: PUT name: uploadopenproxyspec description: APIIDA Upload Specification to API Version call: api-control-plane-versions.uploadopenproxyspec with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: api-control-plane-versions-mcp port: 9090 transport: http description: MCP adapter for APIIDA API Control Plane — Versions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: apiida-create-api-version description: APIIDA Create API Version hints: readOnly: false destructive: false idempotent: false call: api-control-plane-versions.createapiversion with: body: tools.body outputParameters: - type: object mapping: $. - name: apiida-upload-specification-api-version description: APIIDA Upload Specification to API Version hints: readOnly: false destructive: false idempotent: true call: api-control-plane-versions.uploadopenproxyspec with: body: tools.body outputParameters: - type: object mapping: $.