Update a comment on a build
Update the body of a comment on a build. Only the comment's author can edit it. Use it when the author wants to correct or reword their own comment.
Update the body of a comment on a build. Only the comment's author can edit it. Use it when the author wants to correct or reword their own comment.
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 build number
The public ID of the comment (e.g. comment-xf23d)
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/projects/string/string/builds/string/comments/string" \ -H "Content-Type: application/json" \ -d '{ "body": "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" } ] } ]}Get a single comment on a build GET
Retrieve a single comment on a build by its ID. Use it when you have a comment ID and need its full content.
Delete a comment on a build DELETE
Delete a comment on a build. Only the comment's author can delete it. Use it when the author asks to remove their own comment.