Endpoints
Comments

Comments

🚧

The Testify API is still in alpha and is subject to change without notice. Please contact us if you have any questions.

Get comments for a test case or a test within a test run, or add a new comment to either.

PUT /v1/comments/:resourceId

Create a comment for the given resource. Supported resources are test cases and individual tests.

Request Body

{
  content: string;
}

Response Body

{
  comment: {
    id: string;
    createdAt: Date;
    createdBy: string;
    updatedAt: Date;
    updatedBy: string;
    content: string;
  };
}

DELETE /v1/comments/:commentId

Deletes a specific comment.

Response Body

A successful response will return a response with a status code of 200 and no data parameter:

{
  "ok": true,
  "requestId": string,
  "duration": number,
}