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