Subscribe to a test comment thread's notifications
Subscribe the authenticated user to a comment thread on a test to receive notifications about new replies. Use it when the user wants to follow replies to a thread they have not taken part in.
Subscribe the authenticated user to a comment thread on a test to receive notifications about new replies. Use it when the user wants to follow replies to a thread they have not taken part in.
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
Public ID of any comment in the thread (e.g. comment-xf23d)
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/projects/string/string/tests/string/comments/string/subscription"{ "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" } ] } ]}Reopen a resolved test comment thread POST
Reopen a previously resolved comment thread on a test. Use it when a resolved thread needs more discussion.
Unsubscribe from a test comment thread's notifications DELETE
Unsubscribe the authenticated user from a test comment thread's notifications. Use it when the user no longer wants notifications for a thread.