Skip to main content

Comments

Comments aid conversation and collaboration around workspace datasets. Comments can be made on datasets, or other comments to form threads.


Objects​

Comment​

PathJSON TypeFormatDescription
idstringVersion 4 UUIDThe comment ID
messagestringThe comment message
likeCountnumberUnsigned integerThe number of likes the comment has received
likedByProfilesobject[]Array of MembersThe workspace members that have liked the comment
createdstringISO 8601 timestampTimestamp denoting when the comment was created
lastModifiedstringISO 8601 timestampTimestamp denoting when the comment was last modified
fromobjectMemberThe comment author
commentCountnumberUnsigned integerThe number of replies the comment has received
datasetIdstringVersion 4 UUIDThe ID of the dataset comment subject
parentIdstringVersion 4 UUIDThe ID of the parent comment
Example response body

Requests​

View all comments on a dataset​

GET /api/datasets/{dataset-id}/comments

Returns all comments on the dataset {dataset-id}.

Prerequisites​

  • Dataset {dataset-id} must exist
Examples
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/datasets/55be7381-6512-4769-b329-bb6d312e2b93/comments' -i -X GET

Response​

200 OK

Comment collection with HAL links.

Example response body

View a comment​

GET /api/comments/{comment-id}

Returns the comment {comment-id}.

Prerequisites​

  • Comment {comment-id} must exist
Examples
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/comments/9939f1a9-d7c2-4b18-834e-0d04a6990f37' -i -X GET

Response​

200 OK

Comment with HAL links.

Example response body

View the edit history of a comment​

GET /api/comments/{comment-id}/history

Returns the edit history of the comment {comment-id}.

Prerequisites​

  • Comment {comment-id} must exist
Examples
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/comments/9939f1a9-d7c2-4b18-834e-0d04a6990f37/history' -i -X GET

Response​

200 OK

Example response body

View all replies to a comment​

GET /api/comments/{comment-id}

Returns all replies to the comment {comment-id}.

Prerequisites​

  • Comment {comment-id} must exist
Examples
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/datasets/55be7381-6512-4769-b329-bb6d312e2b93/comments?parentId=ac7e8278-8b74-44f0-8a85-fa89625cf9ed' -i -X GET

Response​

200 OK

Comment with HAL links.

Example response body

Initialise a comment on a dataset​

POST /api/datasets/{dataset-id}/comments

Initialises a new comment on the dataset {dataset-id}.

Prerequisites​

  • Dataset {dataset-id} must exist
Examples
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/datasets/55be7381-6512-4769-b329-bb6d312e2b93/comments' -i -X POST \
-H 'Content-Type: application/json'

Response​

200 OK

Comment with HAL links.

Example response body

Initialise a reply to a comment​

POST /api/comments/{comment-id}

Initialises a new reply comment to the comment {comment-id}.

Prerequisites​

  • Comment {comment-id} must exist
Examples
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/comments/ac7e8278-8b74-44f0-8a85-fa89625cf9ed' -i -X POST \
-H 'Content-Type: application/json'

Response​

200 OK

Comment with HAL links.

Example response body

Create a comment​

PUT /api/comments/{comment-id}

Creates the comment {comment-id}.

Prerequisites​

  • The comment must have been initialised in order to create it
  • The target dataset {dataset-id} or comment {comment-id} must exist

Body​

Comment resource.

{
"message" : "SIT-generated reply Pesho [2026-12-04T06:41:40.776306430] to ",
"datasetId" : "55be7381-6512-4769-b329-bb6d312e2b93"
}
Examples
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/datasets/55be7381-6512-4769-b329-bb6d312e2b93/comments/567baf3c-b797-47e8-84d6-56ebaeb90bdc' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"message" : "SIT-generated reply Pesho [2026-12-04T06:41:40.776306430] to ",
"datasetId" : "55be7381-6512-4769-b329-bb6d312e2b93"
}'

Response​

201 Created

Comment with HAL links.

Example response body

Update a comment​

PUT /api/comments/{comment-id}

Updates the comment {comment-id}.

Prerequisites​

  • Comment {comment-id} must exist

Body​

Comment resource.

{
"message" : "SIT-generated reply Pesho [2026-12-04T06:41:41.414974992] to "
}
Examples
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/comments/9939f1a9-d7c2-4b18-834e-0d04a6990f37' -i -X GET

Response​

200 OK

Comment with HAL links.

Example response body

Record a like of a comment​

PUT /api/comments/{comment-id}/like

Records a like of the comment {comment-id} from the authenticated user profile.

Prerequisites​

  • Comment {comment-id} must exist
Examples
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/comments/ac7e8278-8b74-44f0-8a85-fa89625cf9ed/like' -i -X PUT \
-H 'Content-Type: application/json'

Response​

200 OK

No response body provided.


Remove a like from a comment​

DELETE /api/comments/{comment-id}/like

Removes a like of the comment {comment-id} from the authenticated user profile.

Prerequisites​

  • Comment {comment-id} must exist
Examples
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/comments/ac7e8278-8b74-44f0-8a85-fa89625cf9ed/like' -i -X DELETE

Response​

204 No Content

No response body provided.


Delete a comment​

DELETE /api/comments/{comment-id}

Deletes the comment {comment-id}.

Prerequisites​

  • Comment {comment-id} must exist
Examples
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/comments/ef95376d-9bd4-40c4-9624-fda3a115c387' -i -X DELETE

Response​

204 No Content

No response body provided.