github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/paths/comments/show.yaml (about) 1 --- 2 summary: Get a single comment 3 description: Get details on a single comment. 4 operationId: comment/show 5 tags: 6 - Comments 7 parameters: 8 - "$ref": "../../parameters.yaml#/X-PhraseApp-OTP" 9 - "$ref": "../../parameters.yaml#/project_id" 10 - "$ref": "../../parameters.yaml#/key_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/comment.yaml#/comment" 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/keys/:key_id/comments/:id?branch=my-feature-branch" \ 42 -u USERNAME_OR_ACCESS_TOKEN 43 - lang: CLI v2 44 source: |- 45 phrase comments show \ 46 --project_id <project_id> \ 47 --key_id <key_id> \ 48 --id <id> \ 49 --branch my-feature-branch \ 50 --access_token <token> 51 x-cli-version: '2.5'