github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/paths/comment_replies/mark_as_unread.yaml (about) 1 --- 2 summary: Mark a reply as unread 3 description: Mark a reply as unread. 4 operationId: reply/mark_as_unread 5 tags: 6 - Comment Replies 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#/id" 13 - description: specify the branch to use 14 example: my-feature-branch 15 name: branch 16 in: query 17 schema: 18 type: string 19 responses: 20 '204': 21 "$ref": "../../responses.yaml#/204" 22 '400': 23 "$ref": "../../responses.yaml#/400" 24 '403': 25 "$ref": "../../responses.yaml#/403" 26 '404': 27 "$ref": "../../responses.yaml#/404" 28 '429': 29 "$ref": "../../responses.yaml#/429" 30 x-code-samples: 31 - lang: Curl 32 source: |- 33 curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:comment_id/replies/:id/mark_as_unread" \ 34 -u USERNAME_OR_ACCESS_TOKEN \ 35 -X PATCH \ 36 -d '{"branch":"my-feature-branch"}' \ 37 -H 'Content-Type: application/json' 38 - lang: CLI v2 39 source: |- 40 phrase replies mark_as_unread \ 41 --project_id <project_id> \ 42 --key_id <key_id> \ 43 --comment_id <comment_id> \ 44 --id <id> \ 45 --data '{"branch":"my-feature-branch"]}' \ 46 --access_token <token> 47 x-cli-version: '2.10'