naftiko: 1.0.0-alpha2 info: label: TVDB API V4 — Award Categories description: 'TVDB API V4 — Award Categories. 2 operations. Lead operation: Get Award Category. Self-contained Naftiko capability covering one TheTVDB business surface.' tags: - TheTVDB - Television - Award Categories created: '2026-05-30' modified: '2026-05-30' binds: - namespace: env keys: TVDB_BEARER_TOKEN: TVDB_BEARER_TOKEN capability: consumes: - type: http namespace: v4-award-categories baseUri: 'https://api4.thetvdb.com/v4' description: TVDB API V4 — Award Categories business capability. Self-contained, no shared references. authentication: type: bearer token: '{{env.TVDB_BEARER_TOKEN}}' resources: - name: awards-categories-id path: '/awards/categories/{id}' operations: - name: getAwardCategory method: GET description: TheTVDB Get Award Category inputParameters: - name: id in: path type: number required: true description: id outputRawFormat: json outputParameters: - name: result type: object value: $. - name: awards-categories-id-extended path: '/awards/categories/{id}/extended' operations: - name: getAwardCategoryExtended method: GET description: TheTVDB Get Award Category Extended inputParameters: - name: id in: path type: number required: true description: id outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: v4-award-categories-rest port: 8080 description: REST adapter for TVDB API V4 — Award Categories. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/awards/categories/{id} name: awards-categories-id description: REST surface for awards-categories-id. operations: - method: GET name: getAwardCategory description: TheTVDB Get Award Category call: v4-award-categories.getAwardCategory with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/awards/categories/{id}/extended name: awards-categories-id-extended description: REST surface for awards-categories-id-extended. operations: - method: GET name: getAwardCategoryExtended description: TheTVDB Get Award Category Extended call: v4-award-categories.getAwardCategoryExtended with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: v4-award-categories-mcp port: 9090 transport: http description: MCP adapter for TVDB API V4 — Award Categories. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-award-category description: TheTVDB Get Award Category hints: readOnly: true destructive: false idempotent: true call: v4-award-categories.getAwardCategory with: id: tools.id outputParameters: - type: object mapping: $. - name: get-award-category-extended description: TheTVDB Get Award Category Extended hints: readOnly: true destructive: false idempotent: true call: v4-award-categories.getAwardCategoryExtended with: id: tools.id outputParameters: - type: object mapping: $.