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