naftiko: 1.0.0-alpha2 info: label: Unified Ticketing API (Preview) — Collections description: 'Unified Ticketing API (Preview) — Collections. 3 operations. Lead operation: List collections. Self-contained Naftiko capability covering one Supaglue business surface.' tags: - Supaglue - Collections created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SUPAGLUE_API_KEY: SUPAGLUE_API_KEY capability: consumes: - type: http namespace: ticketing-collections baseUri: https://api.supaglue.io/ticketing/v2 description: Unified Ticketing API (Preview) — Collections business capability. Self-contained, no shared references. resources: - name: collections path: /collections operations: - name: listcollections method: GET description: List collections outputRawFormat: json outputParameters: - name: result type: object value: $. - name: collections-collection_id path: /collections/{collection_id} operations: - name: getcollection method: GET description: Get collection outputRawFormat: json outputParameters: - name: result type: object value: $. - name: collections-parent_id-users path: /collections/{parent_id}/users operations: - name: listcollectionusers method: GET description: List collection users outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: x-api-key value: '{{env.SUPAGLUE_API_KEY}}' placement: header exposes: - type: rest namespace: ticketing-collections-rest port: 8080 description: REST adapter for Unified Ticketing API (Preview) — Collections. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/collections name: collections description: REST surface for collections. operations: - method: GET name: listcollections description: List collections call: ticketing-collections.listcollections outputParameters: - type: object mapping: $. - path: /v1/collections/{collection-id} name: collections-collection-id description: REST surface for collections-collection_id. operations: - method: GET name: getcollection description: Get collection call: ticketing-collections.getcollection outputParameters: - type: object mapping: $. - path: /v1/collections/{parent-id}/users name: collections-parent-id-users description: REST surface for collections-parent_id-users. operations: - method: GET name: listcollectionusers description: List collection users call: ticketing-collections.listcollectionusers outputParameters: - type: object mapping: $. - type: mcp namespace: ticketing-collections-mcp port: 9090 transport: http description: MCP adapter for Unified Ticketing API (Preview) — Collections. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-collections description: List collections hints: readOnly: true destructive: false idempotent: true call: ticketing-collections.listcollections outputParameters: - type: object mapping: $. - name: get-collection description: Get collection hints: readOnly: true destructive: false idempotent: true call: ticketing-collections.getcollection outputParameters: - type: object mapping: $. - name: list-collection-users description: List collection users hints: readOnly: true destructive: false idempotent: true call: ticketing-collections.listcollectionusers outputParameters: - type: object mapping: $.