github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/paths/job_locales/show.yaml (about) 1 --- 2 summary: Show single job target locale 3 description: Get a single target locale for a given job. 4 operationId: job_locale/show 5 tags: 6 - Job Locales 7 parameters: 8 - "$ref": "../../parameters.yaml#/X-PhraseApp-OTP" 9 - "$ref": "../../parameters.yaml#/project_id" 10 - "$ref": "../../parameters.yaml#/job_id" 11 - "$ref": "../../parameters.yaml#/id" 12 - description: specify the branch to use 13 example: my-feature-branch 14 name: branch 15 in: query 16 schema: 17 type: string 18 responses: 19 '200': 20 description: OK 21 content: 22 application/json: 23 schema: 24 "$ref": "../../schemas/job_locale.yaml#/job_locale" 25 headers: 26 X-Rate-Limit-Limit: 27 "$ref": "../../headers.yaml#/X-Rate-Limit-Limit" 28 X-Rate-Limit-Remaining: 29 "$ref": "../../headers.yaml#/X-Rate-Limit-Remaining" 30 X-Rate-Limit-Reset: 31 "$ref": "../../headers.yaml#/X-Rate-Limit-Reset" 32 '400': 33 "$ref": "../../responses.yaml#/400" 34 '404': 35 "$ref": "../../responses.yaml#/404" 36 '429': 37 "$ref": "../../responses.yaml#/429" 38 x-code-samples: 39 - lang: Curl 40 source: |- 41 curl "https://api.phrase.com/v2/projects/:project_id/jobs/:job_id/locales/:id?branch=my-feature-branch" \ 42 -u USERNAME_OR_ACCESS_TOKEN 43 - lang: CLI v2 44 source: |- 45 phrase job_locales show \ 46 --project_id <project_id> \ 47 --job_id <job_id> \ 48 --id <id> \ 49 --branch my-feature-branch \ 50 --access_token <token> 51 x-cli-version: '2.9.0'