naftiko: 1.0.0-alpha2 info: label: Couchbase Analytics Service REST API — Analytics Settings description: 'Couchbase Analytics Service REST API — Analytics Settings. 2 operations. Lead operation: Get analytics settings. Self-contained Naftiko capability covering one Couchbase business surface.' tags: - Couchbase - Analytics Settings created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: COUCHBASE_API_KEY: COUCHBASE_API_KEY capability: consumes: - type: http namespace: analytics-service-rest-analytics-settings baseUri: https://localhost:8095 description: Couchbase Analytics Service REST API — Analytics Settings business capability. Self-contained, no shared references. resources: - name: settings-analytics path: /settings/analytics operations: - name: getanalyticssettings method: GET description: Get analytics settings outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateanalyticssettings method: POST description: Update analytics settings 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: analytics-service-rest-analytics-settings-rest port: 8080 description: REST adapter for Couchbase Analytics Service REST API — Analytics Settings. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/settings/analytics name: settings-analytics description: REST surface for settings-analytics. operations: - method: GET name: getanalyticssettings description: Get analytics settings call: analytics-service-rest-analytics-settings.getanalyticssettings outputParameters: - type: object mapping: $. - method: POST name: updateanalyticssettings description: Update analytics settings call: analytics-service-rest-analytics-settings.updateanalyticssettings with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: analytics-service-rest-analytics-settings-mcp port: 9090 transport: http description: MCP adapter for Couchbase Analytics Service REST API — Analytics Settings. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-analytics-settings description: Get analytics settings hints: readOnly: true destructive: false idempotent: true call: analytics-service-rest-analytics-settings.getanalyticssettings outputParameters: - type: object mapping: $. - name: update-analytics-settings description: Update analytics settings hints: readOnly: false destructive: false idempotent: false call: analytics-service-rest-analytics-settings.updateanalyticssettings with: body: tools.body outputParameters: - type: object mapping: $.