naftiko: 1.0.0-alpha2 info: label: Tableau REST API — Subscriptions description: 'Tableau REST API — Subscriptions. 5 operations. Lead operation: Tableau Query Subscriptions. Self-contained Naftiko capability covering one Tableau business surface.' tags: - Tableau - Subscriptions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TABLEAU_API_KEY: TABLEAU_API_KEY capability: consumes: - type: http namespace: rest-subscriptions baseUri: https://{server}/api/{api-version} description: Tableau REST API — Subscriptions business capability. Self-contained, no shared references. resources: - name: sites-site-id-subscriptions path: /sites/{site-id}/subscriptions operations: - name: querysubscriptions method: GET description: Tableau Query Subscriptions outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createsubscription method: POST description: Tableau Create Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: sites-site-id-subscriptions-subscription-id path: /sites/{site-id}/subscriptions/{subscription-id} operations: - name: querysubscription method: GET description: Tableau Query Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: subscription-id in: path type: string description: The ID of the subscription. required: true - name: updatesubscription method: PUT description: Tableau Update Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: subscription-id in: path type: string description: The ID of the subscription to update. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletesubscription method: DELETE description: Tableau Delete Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: subscription-id in: path type: string description: The ID of the subscription to delete. required: true authentication: type: apikey key: X-Tableau-Auth value: '{{env.TABLEAU_API_KEY}}' placement: header exposes: - type: rest namespace: rest-subscriptions-rest port: 8080 description: REST adapter for Tableau REST API — Subscriptions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/sites/{site-id}/subscriptions name: sites-site-id-subscriptions description: REST surface for sites-site-id-subscriptions. operations: - method: GET name: querysubscriptions description: Tableau Query Subscriptions call: rest-subscriptions.querysubscriptions outputParameters: - type: object mapping: $. - method: POST name: createsubscription description: Tableau Create Subscription call: rest-subscriptions.createsubscription with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/sites/{site-id}/subscriptions/{subscription-id} name: sites-site-id-subscriptions-subscription-id description: REST surface for sites-site-id-subscriptions-subscription-id. operations: - method: GET name: querysubscription description: Tableau Query Subscription call: rest-subscriptions.querysubscription with: subscription-id: rest.subscription-id outputParameters: - type: object mapping: $. - method: PUT name: updatesubscription description: Tableau Update Subscription call: rest-subscriptions.updatesubscription with: subscription-id: rest.subscription-id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletesubscription description: Tableau Delete Subscription call: rest-subscriptions.deletesubscription with: subscription-id: rest.subscription-id outputParameters: - type: object mapping: $. - type: mcp namespace: rest-subscriptions-mcp port: 9090 transport: http description: MCP adapter for Tableau REST API — Subscriptions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: tableau-query-subscriptions description: Tableau Query Subscriptions hints: readOnly: true destructive: false idempotent: true call: rest-subscriptions.querysubscriptions outputParameters: - type: object mapping: $. - name: tableau-create-subscription description: Tableau Create Subscription hints: readOnly: false destructive: false idempotent: false call: rest-subscriptions.createsubscription with: body: tools.body outputParameters: - type: object mapping: $. - name: tableau-query-subscription description: Tableau Query Subscription hints: readOnly: true destructive: false idempotent: true call: rest-subscriptions.querysubscription with: subscription-id: tools.subscription-id outputParameters: - type: object mapping: $. - name: tableau-update-subscription description: Tableau Update Subscription hints: readOnly: false destructive: false idempotent: true call: rest-subscriptions.updatesubscription with: subscription-id: tools.subscription-id body: tools.body outputParameters: - type: object mapping: $. - name: tableau-delete-subscription description: Tableau Delete Subscription hints: readOnly: false destructive: true idempotent: true call: rest-subscriptions.deletesubscription with: subscription-id: tools.subscription-id outputParameters: - type: object mapping: $.