github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/paths/job_template_locales/show.yaml (about) 1 --- 2 summary: Get a single job template locale 3 description: Get a single job template locale for a given job template. 4 operationId: job_template_locale/show 5 tags: 6 - Job Template Locales 7 parameters: 8 - "$ref": "../../parameters.yaml#/X-PhraseApp-OTP" 9 - "$ref": "../../parameters.yaml#/project_id" 10 - "$ref": "../../parameters.yaml#/job_template_id" 11 - "$ref": "../../parameters.yaml#/job_template_locale_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_template_locale.yaml#/job_template_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/job_templates/:job_template_id/locales/:job_template_locale_id?branch=my-feature-branch" \ 42 -u USERNAME_OR_ACCESS_TOKEN 43 - lang: CLI v2 44 source: |- 45 phrase job_template_locales show \ 46 --project_id <project_id> \ 47 --job_template_id <job_template_id> \ 48 --job_template_locale_id <job_template_locale_id> \ 49 --branch my-feature-branch \ 50 --access_token <token> 51 x-cli-version: '2.6.8'