naftiko: 1.0.0-alpha2 info: label: Tableau REST API — Projects description: 'Tableau REST API — Projects. 4 operations. Lead operation: Query Projects. Self-contained Naftiko capability covering one Tableau Desktop business surface.' tags: - Tableau Desktop - Projects created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TABLEAU_DESKTOP_API_KEY: TABLEAU_DESKTOP_API_KEY capability: consumes: - type: http namespace: tableau-desktop-projects baseUri: https://{tableau-server}/api/3.22 description: Tableau REST API — Projects business capability. Self-contained, no shared references. resources: - name: sites-siteId-projects path: /sites/{siteId}/projects operations: - name: queryprojects method: GET description: Query Projects outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createproject method: POST description: Create Project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: sites-siteId-projects-projectId path: /sites/{siteId}/projects/{projectId} operations: - name: updateproject method: PUT description: Update Project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteproject method: DELETE description: Delete Project outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: X-Tableau-Auth value: '{{env.TABLEAU_DESKTOP_API_KEY}}' placement: header exposes: - type: rest namespace: tableau-desktop-projects-rest port: 8080 description: REST adapter for Tableau REST API — Projects. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/sites/{siteid}/projects name: sites-siteid-projects description: REST surface for sites-siteId-projects. operations: - method: GET name: queryprojects description: Query Projects call: tableau-desktop-projects.queryprojects outputParameters: - type: object mapping: $. - method: POST name: createproject description: Create Project call: tableau-desktop-projects.createproject with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/sites/{siteid}/projects/{projectid} name: sites-siteid-projects-projectid description: REST surface for sites-siteId-projects-projectId. operations: - method: PUT name: updateproject description: Update Project call: tableau-desktop-projects.updateproject with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteproject description: Delete Project call: tableau-desktop-projects.deleteproject outputParameters: - type: object mapping: $. - type: mcp namespace: tableau-desktop-projects-mcp port: 9090 transport: http description: MCP adapter for Tableau REST API — Projects. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: query-projects description: Query Projects hints: readOnly: true destructive: false idempotent: true call: tableau-desktop-projects.queryprojects outputParameters: - type: object mapping: $. - name: create-project description: Create Project hints: readOnly: false destructive: false idempotent: false call: tableau-desktop-projects.createproject with: body: tools.body outputParameters: - type: object mapping: $. - name: update-project description: Update Project hints: readOnly: false destructive: false idempotent: true call: tableau-desktop-projects.updateproject with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-project description: Delete Project hints: readOnly: false destructive: true idempotent: true call: tableau-desktop-projects.deleteproject outputParameters: - type: object mapping: $.