github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/paths/comments/unmark_as_read.yaml (about) 1 --- 2 summary: Mark a comment as unread 3 description: Mark a comment as unread. 4 operationId: comment/mark/unread 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 '204': 20 "$ref": "../../responses.yaml#/204" 21 '400': 22 "$ref": "../../responses.yaml#/400" 23 '404': 24 "$ref": "../../responses.yaml#/404" 25 '429': 26 "$ref": "../../responses.yaml#/429" 27 x-code-samples: 28 - lang: Curl 29 source: |- 30 curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:id/read" \ 31 -u USERNAME_OR_ACCESS_TOKEN \ 32 -X DELETE \ 33 -d '{"branch":"my-feature-branch"}' \ 34 -H 'Content-Type: application/json' 35 - lang: CLI v2 36 source: |- 37 phrase comments mark \ 38 --project_id <project_id> \ 39 --key_id <key_id> \ 40 --id <id> \ 41 --branch my-feature-branch \ 42 --access_token <token> 43 x-cli-version: '2.5'