Open App

Comments

API endpoints for comments

List comments for an entity

GET /api/v1/comments

Parameters

NameInTypeRequiredDescription
entityTypequerystring (project, space, asset, scout)Yes
entityIdquerystringYes

Example request

curl -X GET \
"https://api.example.com/api/v1/comments?entityType=<entityType>&entityId=<entityId>" \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json"

Response body type


createComment

POST /api/v1/comments

Example request

curl -X POST \
"https://api.example.com/api/v1/comments" \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json"

Response body type