Subsystem

HTTP API: comments

The 8 operations tagged comments, each with its parameters, its body and what it answers.

Edit your own comment

PATCH /v1/comments/{comment_id}

Edit a comment's text. Only its author may (docs/design.md ยง5.10).

Parameters

Request body: Update as application/json, required.

Responses

Delete a comment

DELETE /v1/comments/{comment_id}

Move a comment to the trash. Its author may; so may a workspace administrator.

Parameters

Responses

List a document's comments

GET /v1/documents/{id_or_ref}/comments

Return what happened on this item, oldest first.

Parameters

Responses

Comment on a document

POST /v1/documents/{id_or_ref}/comments

Record what happened on this item.

Parameters

Request body: Create as application/json, required.

Responses

List a project's comments

GET /v1/projects/{id_or_key}/comments

Return what happened on this item, oldest first.

Parameters

Responses

Comment on a project

POST /v1/projects/{id_or_key}/comments

Record what happened on this item.

Parameters

Request body: Create as application/json, required.

Responses

List a task's comments

GET /v1/tasks/{id_or_ref}/comments

Return what happened on this item, oldest first.

Parameters

Responses

Comment on a task

POST /v1/tasks/{id_or_ref}/comments

Record what happened on this item.

Parameters

Request body: Create as application/json, required.

Responses