naftiko: 1.0.0-alpha2 info: label: Tableau REST API — Favorites description: 'Tableau REST API — Favorites. 2 operations. Lead operation: Tableau Get Favorites for User. Self-contained Naftiko capability covering one Tableau business surface.' tags: - Tableau - Favorites created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TABLEAU_API_KEY: TABLEAU_API_KEY capability: consumes: - type: http namespace: rest-favorites baseUri: https://{server}/api/{api-version} description: Tableau REST API — Favorites business capability. Self-contained, no shared references. resources: - name: sites-site-id-favorites-user-id path: /sites/{site-id}/favorites/{user-id} operations: - name: getfavorites method: GET description: Tableau Get Favorites for User outputRawFormat: json outputParameters: - name: result type: object value: $. - name: addfavorites method: PUT description: Tableau Add Favorites 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: X-Tableau-Auth value: '{{env.TABLEAU_API_KEY}}' placement: header exposes: - type: rest namespace: rest-favorites-rest port: 8080 description: REST adapter for Tableau REST API — Favorites. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/sites/{site-id}/favorites/{user-id} name: sites-site-id-favorites-user-id description: REST surface for sites-site-id-favorites-user-id. operations: - method: GET name: getfavorites description: Tableau Get Favorites for User call: rest-favorites.getfavorites outputParameters: - type: object mapping: $. - method: PUT name: addfavorites description: Tableau Add Favorites call: rest-favorites.addfavorites with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: rest-favorites-mcp port: 9090 transport: http description: MCP adapter for Tableau REST API — Favorites. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: tableau-get-favorites-user description: Tableau Get Favorites for User hints: readOnly: true destructive: false idempotent: true call: rest-favorites.getfavorites outputParameters: - type: object mapping: $. - name: tableau-add-favorites description: Tableau Add Favorites hints: readOnly: false destructive: false idempotent: true call: rest-favorites.addfavorites with: body: tools.body outputParameters: - type: object mapping: $.