github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/paths/comment_reactions/index.yaml (about) 1 --- 2 summary: List reactions 3 description: List all reactions for a comment. 4 operationId: reactions/list 5 tags: 6 - Comment Reactions 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#/comment_id" 12 - "$ref": "../../parameters.yaml#/page" 13 - "$ref": "../../parameters.yaml#/per_page" 14 - description: specify the branch to use 15 example: my-feature-branch 16 name: branch 17 in: query 18 schema: 19 type: string 20 responses: 21 '200': 22 description: OK 23 content: 24 application/json: 25 schema: 26 type: array 27 items: 28 "$ref": "../../schemas/comment_reaction.yaml#/comment_reaction" 29 headers: 30 X-Rate-Limit-Limit: 31 "$ref": "../../headers.yaml#/X-Rate-Limit-Limit" 32 X-Rate-Limit-Remaining: 33 "$ref": "../../headers.yaml#/X-Rate-Limit-Remaining" 34 X-Rate-Limit-Reset: 35 "$ref": "../../headers.yaml#/X-Rate-Limit-Reset" 36 Link: 37 "$ref": "../../headers.yaml#/Link" 38 Pagination: 39 "$ref": "../../headers.yaml#/Pagination" 40 '400': 41 "$ref": "../../responses.yaml#/400" 42 '403': 43 "$ref": "../../responses.yaml#/403" 44 '404': 45 "$ref": "../../responses.yaml#/404" 46 '429': 47 "$ref": "../../responses.yaml#/429" 48 x-code-samples: 49 - lang: Curl 50 source: |- 51 curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:comment_id/reactions" \ 52 -u USERNAME_OR_ACCESS_TOKEN \ 53 -X GET \ 54 -d '{"branch":"my-feature-branch"}' \ 55 -H 'Content-Type: application/json' 56 - lang: CLI v2 57 source: |- 58 phrase reactions list \ 59 --project_id <project_id> \ 60 --key_id <key_id> \ 61 --comment_id <comment_id> \ 62 --branch my-feature-branch \ 63 --access_token <token> 64 x-cli-version: '2.9'