naftiko: 1.0.0-alpha2 info: label: Phrase Strings API Reference — Versions / History description: 'Phrase Strings API Reference — Versions / History. 2 operations. Lead operation: List all versions. Self-contained Naftiko capability covering one Phrase business surface.' tags: - Phrase - Versions / History created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PHRASE_API_KEY: PHRASE_API_KEY capability: consumes: - type: http namespace: strings-versions-history baseUri: https://api.phrase.com/v2 description: Phrase Strings API Reference — Versions / History business capability. Self-contained, no shared references. resources: - name: projects-project_id-translations-translation_id-versions path: /projects/{project_id}/translations/{translation_id}/versions operations: - name: versionslist method: GET description: List all versions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: branch in: query type: string description: specify the branch to use - name: only_content_updates in: query type: boolean description: Indicates whether only content updates should be returned - name: projects-project_id-translations-translation_id-versions-id path: /projects/{project_id}/translations/{translation_id}/versions/{id} operations: - name: versionshow method: GET description: Get a single version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: branch in: query type: string description: specify the branch to use authentication: type: apikey key: Authorization value: '{{env.PHRASE_API_KEY}}' placement: header exposes: - type: rest namespace: strings-versions-history-rest port: 8080 description: REST adapter for Phrase Strings API Reference — Versions / History. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/{project-id}/translations/{translation-id}/versions name: projects-project-id-translations-translation-id-versions description: REST surface for projects-project_id-translations-translation_id-versions. operations: - method: GET name: versionslist description: List all versions call: strings-versions-history.versionslist with: branch: rest.branch only_content_updates: rest.only_content_updates outputParameters: - type: object mapping: $. - path: /v1/projects/{project-id}/translations/{translation-id}/versions/{id} name: projects-project-id-translations-translation-id-versions-id description: REST surface for projects-project_id-translations-translation_id-versions-id. operations: - method: GET name: versionshow description: Get a single version call: strings-versions-history.versionshow with: branch: rest.branch outputParameters: - type: object mapping: $. - type: mcp namespace: strings-versions-history-mcp port: 9090 transport: http description: MCP adapter for Phrase Strings API Reference — Versions / History. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-versions description: List all versions hints: readOnly: true destructive: false idempotent: true call: strings-versions-history.versionslist with: branch: tools.branch only_content_updates: tools.only_content_updates outputParameters: - type: object mapping: $. - name: get-single-version description: Get a single version hints: readOnly: true destructive: false idempotent: true call: strings-versions-history.versionshow with: branch: tools.branch outputParameters: - type: object mapping: $.