naftiko: 1.0.0-alpha2 info: label: Core API — Statuses description: 'Core API — Statuses. 2 operations. Lead operation: List company ticket statuses. Self-contained Naftiko capability covering one Front business surface.' tags: - Front - Statuses created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FRONT_API_KEY: FRONT_API_KEY capability: consumes: - type: http namespace: core-statuses baseUri: https://api2.frontapp.com description: Core API — Statuses business capability. Self-contained, no shared references. resources: - name: company-statuses path: /company/statuses operations: - name: listcompanyticketstatuses method: GET description: List company ticket statuses outputRawFormat: json outputParameters: - name: result type: object value: $. - name: company-statuses-status_id path: /company/statuses/{status_id} operations: - name: getticketstatusbyid method: GET description: Get ticket status outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: status_id in: path type: string description: The ticket status ID required: true authentication: type: bearer token: '{{env.FRONT_API_KEY}}' exposes: - type: rest namespace: core-statuses-rest port: 8080 description: REST adapter for Core API — Statuses. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/company/statuses name: company-statuses description: REST surface for company-statuses. operations: - method: GET name: listcompanyticketstatuses description: List company ticket statuses call: core-statuses.listcompanyticketstatuses outputParameters: - type: object mapping: $. - path: /v1/company/statuses/{status-id} name: company-statuses-status-id description: REST surface for company-statuses-status_id. operations: - method: GET name: getticketstatusbyid description: Get ticket status call: core-statuses.getticketstatusbyid with: status_id: rest.status_id outputParameters: - type: object mapping: $. - type: mcp namespace: core-statuses-mcp port: 9090 transport: http description: MCP adapter for Core API — Statuses. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-company-ticket-statuses description: List company ticket statuses hints: readOnly: true destructive: false idempotent: true call: core-statuses.listcompanyticketstatuses outputParameters: - type: object mapping: $. - name: get-ticket-status description: Get ticket status hints: readOnly: true destructive: false idempotent: true call: core-statuses.getticketstatusbyid with: status_id: tools.status_id outputParameters: - type: object mapping: $.