Comments
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
GET |
List all comments
Required API key scopes
comment:readQuery parameters
- cursorstring
- item_idstring
- scopestring
- searchstring
- source_commentstring
Response
Example request
GET /api /projects /:project_id /commentsExample response
Status 200
RESPONSE
Create comments
Required API key scopes
comment:writeRequest parameters
- deletedboolean
- mentionsarray
- slugstring
- contentstring
- rich_content
- item_idstring
- item_context
- scopestring
- source_commentstring
Response
Example request
POST /api /projects /:project_id /commentsExample response
Status 201
RESPONSE
Retrieve comments
Required API key scopes
comment:readPath parameters
- idstring
Response
Example request
GET /api /projects /:project_id /comments /:idExample response
Status 200
RESPONSE
Update comments
Required API key scopes
comment:writePath parameters
- idstring
Request parameters
- deletedboolean
- mentionsarray
- slugstring
- contentstring
- rich_content
- item_idstring
- item_context
- scopestring
- source_commentstring
Response
Example request
PATCH /api /projects /:project_id /comments /:idExample response
Status 200
RESPONSE
Delete comments
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Required API key scopes
comment:writePath parameters
- idstring
Example request
DELETE /api /projects /:project_id /comments /:idExample response
Status 405 No response body
Retrieve comments thread
Required API key scopes
comment:readPath parameters
- idstring
Example request
GET /api /projects /:project_id /comments /:id /threadExample response
Status 200 No response body
Retrieve comments count
Required API key scopes
comment:readExample request
GET /api /projects /:project_id /comments /count