naftiko: 1.0.0-alpha2 info: label: Phrase Strings API Reference — Authorizations description: 'Phrase Strings API Reference — Authorizations. 5 operations. Lead operation: List authorizations. Self-contained Naftiko capability covering one Phrase business surface.' tags: - Phrase - Authorizations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PHRASE_API_KEY: PHRASE_API_KEY capability: consumes: - type: http namespace: strings-authorizations baseUri: https://api.phrase.com/v2 description: Phrase Strings API Reference — Authorizations business capability. Self-contained, no shared references. resources: - name: authorizations path: /authorizations operations: - name: authorizationslist method: GET description: List authorizations outputRawFormat: json outputParameters: - name: result type: object value: $. - name: authorizationcreate method: POST description: Create an authorization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: authorizations-id path: /authorizations/{id} operations: - name: authorizationshow method: GET description: Get a single authorization outputRawFormat: json outputParameters: - name: result type: object value: $. - name: authorizationupdate method: PATCH description: Update an authorization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: authorizationdelete method: DELETE description: Delete an authorization outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Authorization value: '{{env.PHRASE_API_KEY}}' placement: header exposes: - type: rest namespace: strings-authorizations-rest port: 8080 description: REST adapter for Phrase Strings API Reference — Authorizations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/authorizations name: authorizations description: REST surface for authorizations. operations: - method: GET name: authorizationslist description: List authorizations call: strings-authorizations.authorizationslist outputParameters: - type: object mapping: $. - method: POST name: authorizationcreate description: Create an authorization call: strings-authorizations.authorizationcreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/authorizations/{id} name: authorizations-id description: REST surface for authorizations-id. operations: - method: GET name: authorizationshow description: Get a single authorization call: strings-authorizations.authorizationshow outputParameters: - type: object mapping: $. - method: PATCH name: authorizationupdate description: Update an authorization call: strings-authorizations.authorizationupdate with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: authorizationdelete description: Delete an authorization call: strings-authorizations.authorizationdelete outputParameters: - type: object mapping: $. - type: mcp namespace: strings-authorizations-mcp port: 9090 transport: http description: MCP adapter for Phrase Strings API Reference — Authorizations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-authorizations description: List authorizations hints: readOnly: true destructive: false idempotent: true call: strings-authorizations.authorizationslist outputParameters: - type: object mapping: $. - name: create-authorization description: Create an authorization hints: readOnly: false destructive: false idempotent: false call: strings-authorizations.authorizationcreate with: body: tools.body outputParameters: - type: object mapping: $. - name: get-single-authorization description: Get a single authorization hints: readOnly: true destructive: false idempotent: true call: strings-authorizations.authorizationshow outputParameters: - type: object mapping: $. - name: update-authorization description: Update an authorization hints: readOnly: false destructive: false idempotent: true call: strings-authorizations.authorizationupdate with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-authorization description: Delete an authorization hints: readOnly: false destructive: true idempotent: true call: strings-authorizations.authorizationdelete outputParameters: - type: object mapping: $.