naftiko: 1.0.0-alpha2 info: label: Couchbase Eventing Service REST API — Import Export description: 'Couchbase Eventing Service REST API — Import Export. 3 operations. Lead operation: Export all Eventing Functions. Self-contained Naftiko capability covering one Couchbase business surface.' tags: - Couchbase - Import Export created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: COUCHBASE_API_KEY: COUCHBASE_API_KEY capability: consumes: - type: http namespace: eventing-service-rest-import-export baseUri: https://localhost:8096 description: Couchbase Eventing Service REST API — Import Export business capability. Self-contained, no shared references. resources: - name: api-v1-export path: /api/v1/export operations: - name: exportallfunctions method: GET description: Export all Eventing Functions outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v1-export-functionName path: /api/v1/export/{functionName} operations: - name: exporteventingfunction method: GET description: Export a specific Eventing Function outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v1-import path: /api/v1/import operations: - name: importfunctions method: POST description: Import Eventing Functions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: basic username: '{{env.COUCHBASE_USER}}' password: '{{env.COUCHBASE_PASS}}' exposes: - type: rest namespace: eventing-service-rest-import-export-rest port: 8080 description: REST adapter for Couchbase Eventing Service REST API — Import Export. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v1/export name: api-v1-export description: REST surface for api-v1-export. operations: - method: GET name: exportallfunctions description: Export all Eventing Functions call: eventing-service-rest-import-export.exportallfunctions outputParameters: - type: object mapping: $. - path: /v1/api/v1/export/{functionname} name: api-v1-export-functionname description: REST surface for api-v1-export-functionName. operations: - method: GET name: exporteventingfunction description: Export a specific Eventing Function call: eventing-service-rest-import-export.exporteventingfunction outputParameters: - type: object mapping: $. - path: /v1/api/v1/import name: api-v1-import description: REST surface for api-v1-import. operations: - method: POST name: importfunctions description: Import Eventing Functions call: eventing-service-rest-import-export.importfunctions with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: eventing-service-rest-import-export-mcp port: 9090 transport: http description: MCP adapter for Couchbase Eventing Service REST API — Import Export. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: export-all-eventing-functions description: Export all Eventing Functions hints: readOnly: true destructive: false idempotent: true call: eventing-service-rest-import-export.exportallfunctions outputParameters: - type: object mapping: $. - name: export-specific-eventing-function description: Export a specific Eventing Function hints: readOnly: true destructive: false idempotent: true call: eventing-service-rest-import-export.exporteventingfunction outputParameters: - type: object mapping: $. - name: import-eventing-functions description: Import Eventing Functions hints: readOnly: false destructive: false idempotent: false call: eventing-service-rest-import-export.importfunctions with: body: tools.body outputParameters: - type: object mapping: $.