naftiko: 1.0.0-alpha2 info: label: Phrase Strings API Reference — Release Triggers description: 'Phrase Strings API Reference — Release Triggers. 5 operations. Lead operation: List release triggers. Self-contained Naftiko capability covering one Phrase business surface.' tags: - Phrase - Release Triggers created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PHRASE_API_KEY: PHRASE_API_KEY capability: consumes: - type: http namespace: strings-release-triggers baseUri: https://api.phrase.com/v2 description: Phrase Strings API Reference — Release Triggers business capability. Self-contained, no shared references. resources: - name: accounts-account_id-distributions-distribution_id-release_triggers path: /accounts/{account_id}/distributions/{distribution_id}/release_triggers operations: - name: releasetriggerslist method: GET description: List release triggers outputRawFormat: json outputParameters: - name: result type: object value: $. - name: releasetriggerscreate method: POST description: Create a release trigger outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: accounts-account_id-distributions-distribution_id-release_triggers-id path: /accounts/{account_id}/distributions/{distribution_id}/release_triggers/{id} operations: - name: releasetriggersshow method: GET description: Get a single release trigger outputRawFormat: json outputParameters: - name: result type: object value: $. - name: releasetriggersupdate method: PATCH description: Update a release trigger outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: releasetriggersdestroy method: DELETE description: Delete a single release trigger 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-release-triggers-rest port: 8080 description: REST adapter for Phrase Strings API Reference — Release Triggers. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/accounts/{account-id}/distributions/{distribution-id}/release-triggers name: accounts-account-id-distributions-distribution-id-release-triggers description: REST surface for accounts-account_id-distributions-distribution_id-release_triggers. operations: - method: GET name: releasetriggerslist description: List release triggers call: strings-release-triggers.releasetriggerslist outputParameters: - type: object mapping: $. - method: POST name: releasetriggerscreate description: Create a release trigger call: strings-release-triggers.releasetriggerscreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/accounts/{account-id}/distributions/{distribution-id}/release-triggers/{id} name: accounts-account-id-distributions-distribution-id-release-triggers-id description: REST surface for accounts-account_id-distributions-distribution_id-release_triggers-id. operations: - method: GET name: releasetriggersshow description: Get a single release trigger call: strings-release-triggers.releasetriggersshow outputParameters: - type: object mapping: $. - method: PATCH name: releasetriggersupdate description: Update a release trigger call: strings-release-triggers.releasetriggersupdate with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: releasetriggersdestroy description: Delete a single release trigger call: strings-release-triggers.releasetriggersdestroy outputParameters: - type: object mapping: $. - type: mcp namespace: strings-release-triggers-mcp port: 9090 transport: http description: MCP adapter for Phrase Strings API Reference — Release Triggers. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-release-triggers description: List release triggers hints: readOnly: true destructive: false idempotent: true call: strings-release-triggers.releasetriggerslist outputParameters: - type: object mapping: $. - name: create-release-trigger description: Create a release trigger hints: readOnly: false destructive: false idempotent: false call: strings-release-triggers.releasetriggerscreate with: body: tools.body outputParameters: - type: object mapping: $. - name: get-single-release-trigger description: Get a single release trigger hints: readOnly: true destructive: false idempotent: true call: strings-release-triggers.releasetriggersshow outputParameters: - type: object mapping: $. - name: update-release-trigger description: Update a release trigger hints: readOnly: false destructive: false idempotent: true call: strings-release-triggers.releasetriggersupdate with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-single-release-trigger description: Delete a single release trigger hints: readOnly: false destructive: true idempotent: true call: strings-release-triggers.releasetriggersdestroy outputParameters: - type: object mapping: $.