Get a single comment on a test
Retrieve a single comment on a test by its ID. Use it when you have a comment ID and need its full content.
Retrieve a single comment on a test by its ID. Use it when you have a comment ID and need its full content.
Authenticate as a user with a personal access token.
Send it as a bearer token in the Authorization header:
Authorization: Bearer <personal-access-token>Personal access tokens act on behalf of the user that created them and are required by endpoints that perform user actions, such as reviewing builds and posting comments.
In: header
Path Parameters
1 <= length1 <= lengthThe test identifier, as returned in a diff's test.id
The public ID of the comment (e.g. comment-xf23d)
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/projects/string/string/tests/string/comments/string"{ "id": "string", "buildId": "string", "testId": "string", "mediaId": "string", "mediaVersionId": "string", "threadId": "string", "body": null, "text": "string", "author": { "id": "string", "slug": "string", "name": "string" }, "agent": { "id": "string", "name": "string" }, "screenshotDiffId": "string", "anchor": { "type": "point", "x": 0, "y": 0 }, "pending": true, "resolvedAt": "string", "editedAt": "string", "createdAt": "string", "reactions": [ { "emoji": "string", "count": 0, "users": [ { "id": "string", "slug": "string", "name": "string" } ] } ]}Post a comment (or reply) on a test POST
Post a comment on a test. Start a new thread, or reply to an existing one with `threadId`. Use it when the user wants to leave feedback on a test.
Update a comment on a test PATCH
Update the body of a comment on a test. Only the comment's author can edit it. Use it when the author wants to correct or reword their own comment.