github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/paths/comments/check_if_read.yaml (about) 1 --- 2 summary: Check if comment is read 3 description: Check if comment was marked as read. Returns 204 if read, 404 if unread. 4 operationId: comment/mark/check 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?branch=my-feature-branch" \ 31 -u USERNAME_OR_ACCESS_TOKEN 32 - lang: CLI v2 33 source: |- 34 phrase comments mark \ 35 --project_id <project_id> \ 36 --key_id <key_id> \ 37 --id <id> \ 38 --branch my-feature-branch \ 39 --access_token <token> 40 x-cli-version: '2.5'