naftiko: 1.0.0-alpha2 info: label: Unified Ticketing API (Preview) — Accounts description: 'Unified Ticketing API (Preview) — Accounts. 2 operations. Lead operation: List accounts. Self-contained Naftiko capability covering one Supaglue business surface.' tags: - Supaglue - Accounts created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SUPAGLUE_API_KEY: SUPAGLUE_API_KEY capability: consumes: - type: http namespace: ticketing-accounts baseUri: https://api.supaglue.io/ticketing/v2 description: Unified Ticketing API (Preview) — Accounts business capability. Self-contained, no shared references. resources: - name: accounts path: /accounts operations: - name: listaccounts method: GET description: List accounts outputRawFormat: json outputParameters: - name: result type: object value: $. - name: accounts-account_id path: /accounts/{account_id} operations: - name: getaccount method: GET description: Get account 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-accounts-rest port: 8080 description: REST adapter for Unified Ticketing API (Preview) — Accounts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/accounts name: accounts description: REST surface for accounts. operations: - method: GET name: listaccounts description: List accounts call: ticketing-accounts.listaccounts outputParameters: - type: object mapping: $. - path: /v1/accounts/{account-id} name: accounts-account-id description: REST surface for accounts-account_id. operations: - method: GET name: getaccount description: Get account call: ticketing-accounts.getaccount outputParameters: - type: object mapping: $. - type: mcp namespace: ticketing-accounts-mcp port: 9090 transport: http description: MCP adapter for Unified Ticketing API (Preview) — Accounts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-accounts description: List accounts hints: readOnly: true destructive: false idempotent: true call: ticketing-accounts.listaccounts outputParameters: - type: object mapping: $. - name: get-account description: Get account hints: readOnly: true destructive: false idempotent: true call: ticketing-accounts.getaccount outputParameters: - type: object mapping: $.