Comments
Comments aid conversation and collaboration around workspace datasets. Comments can be made on datasets, or other comments to form threads.
Objects
Comment
| Path | JSON Type | Format | Description |
|---|---|---|---|
id | string | Version 4 UUID | The comment ID |
message | string | The comment message | |
likeCount | number | Unsigned integer | The number of likes the comment has received |
likedByProfiles | object[] | Array of Members | The workspace members that have liked the comment |
created | string | ISO 8601 timestamp | Timestamp denoting when the comment was created |
lastModified | string | ISO 8601 timestamp | Timestamp denoting when the comment was last modified |
from | object | Member | The comment author |
commentCount | number | Unsigned integer | The number of replies the comment has received |
datasetId | string | Version 4 UUID | The ID of the dataset comment subject |
parentId | string | Version 4 UUID | The ID of the parent comment |
{
"id" : "1c750ebe-c667-48ac-ad85-4de5aa188b96",
"message" : "SIT-generated reply Pesho [2026-08-06T13:49:49.905132022] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-08-06T13:49:49.953765",
"lastModified" : "2026-08-06T13:49:49.953766",
"from" : {
"id" : "auth0|6a205ea86a76a69d8a3babcb",
"name" : "sit@meltano.com",
"handle" : "@sit1"
},
"commentCount" : 0,
"datasetId" : "5dccd72c-7bd6-4eeb-93b7-bda347ca98f6",
"_links" : {
"edit-history" : {
"href" : "https://staging.meltano.com/api/comments/1c750ebe-c667-48ac-ad85-4de5aa188b96/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://staging.meltano.com/api/datasets/5dccd72c-7bd6-4eeb-93b7-bda347ca98f6/comments/1c750ebe-c667-48ac-ad85-4de5aa188b96",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://staging.meltano.com/api/comments/1c750ebe-c667-48ac-ad85-4de5aa188b96",
"type" : "DELETE"
},
"self" : {
"href" : "https://staging.meltano.com/api/comments/1c750ebe-c667-48ac-ad85-4de5aa188b96"
},
"add like" : {
"href" : "https://staging.meltano.com/api/comments/1c750ebe-c667-48ac-ad85-4de5aa188b96/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://staging.meltano.com/api/comments/1c750ebe-c667-48ac-ad85-4de5aa188b96",
"type" : "POST"
}
}
}
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
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://staging.meltano.com:443/api/datasets/5dccd72c-7bd6-4eeb-93b7-bda347ca98f6/comments' -i -X GET
import requests
url = "https://staging.meltano.com:443/api/datasets/5dccd72c-7bd6-4eeb-93b7-bda347ca98f6/comments"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment collection with HAL links.
{
"_embedded" : {
"datasetComments" : [ {
"id" : "bb16cb1b-c986-47cc-be4f-271ea3e14a79",
"message" : "SIT-generated reply Pesho [2026-08-06T13:49:48.953378080] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-08-06T13:49:49.011526",
"lastModified" : "2026-08-06T13:49:49.011528",
"from" : {
"id" : "auth0|6a205ea86a76a69d8a3babcb",
"name" : "sit@meltano.com",
"handle" : "@sit1"
},
"commentCount" : 0,
"datasetId" : "5dccd72c-7bd6-4eeb-93b7-bda347ca98f6",
"_links" : {
"edit-history" : {
"href" : "https://staging.meltano.com/api/comments/bb16cb1b-c986-47cc-be4f-271ea3e14a79/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://staging.meltano.com/api/datasets/5dccd72c-7bd6-4eeb-93b7-bda347ca98f6/comments/bb16cb1b-c986-47cc-be4f-271ea3e14a79",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://staging.meltano.com/api/comments/bb16cb1b-c986-47cc-be4f-271ea3e14a79",
"type" : "DELETE"
},
"self" : {
"href" : "https://staging.meltano.com/api/comments/bb16cb1b-c986-47cc-be4f-271ea3e14a79"
},
"add like" : {
"href" : "https://staging.meltano.com/api/comments/bb16cb1b-c986-47cc-be4f-271ea3e14a79/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://staging.meltano.com/api/comments/bb16cb1b-c986-47cc-be4f-271ea3e14a79",
"type" : "POST"
}
}
}, {
"id" : "0355b9ec-c536-4a72-b1cc-a6ac4d1a8f8a",
"message" : "SIT-generated reply Pesho [2026-08-06T13:49:48.799914499] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-08-06T13:49:48.850704",
"lastModified" : "2026-08-06T13:49:48.850707",
"from" : {
"id" : "auth0|6a205ea86a76a69d8a3babcb",
"name" : "sit@meltano.com",
"handle" : "@sit1"
},
"commentCount" : 0,
"datasetId" : "5dccd72c-7bd6-4eeb-93b7-bda347ca98f6",
"_links" : {
"edit-history" : {
"href" : "https://staging.meltano.com/api/comments/0355b9ec-c536-4a72-b1cc-a6ac4d1a8f8a/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://staging.meltano.com/api/datasets/5dccd72c-7bd6-4eeb-93b7-bda347ca98f6/comments/0355b9ec-c536-4a72-b1cc-a6ac4d1a8f8a",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://staging.meltano.com/api/comments/0355b9ec-c536-4a72-b1cc-a6ac4d1a8f8a",
"type" : "DELETE"
},
"self" : {
"href" : "https://staging.meltano.com/api/comments/0355b9ec-c536-4a72-b1cc-a6ac4d1a8f8a"
},
"add like" : {
"href" : "https://staging.meltano.com/api/comments/0355b9ec-c536-4a72-b1cc-a6ac4d1a8f8a/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://staging.meltano.com/api/comments/0355b9ec-c536-4a72-b1cc-a6ac4d1a8f8a",
"type" : "POST"
}
}
}, {
"id" : "d18c7d9d-4bf4-43a3-9d52-940ad67db219",
"message" : "SIT-generated reply Pesho [2026-08-06T13:49:48.656637841] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-08-06T13:49:48.705683",
"lastModified" : "2026-08-06T13:49:48.705685",
"from" : {
"id" : "auth0|6a205ea86a76a69d8a3babcb",
"name" : "sit@meltano.com",
"handle" : "@sit1"
},
"commentCount" : 0,
"datasetId" : "5dccd72c-7bd6-4eeb-93b7-bda347ca98f6",
"_links" : {
"edit-history" : {
"href" : "https://staging.meltano.com/api/comments/d18c7d9d-4bf4-43a3-9d52-940ad67db219/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://staging.meltano.com/api/datasets/5dccd72c-7bd6-4eeb-93b7-bda347ca98f6/comments/d18c7d9d-4bf4-43a3-9d52-940ad67db219",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://staging.meltano.com/api/comments/d18c7d9d-4bf4-43a3-9d52-940ad67db219",
"type" : "DELETE"
},
"self" : {
"href" : "https://staging.meltano.com/api/comments/d18c7d9d-4bf4-43a3-9d52-940ad67db219"
},
"add like" : {
"href" : "https://staging.meltano.com/api/comments/d18c7d9d-4bf4-43a3-9d52-940ad67db219/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://staging.meltano.com/api/comments/d18c7d9d-4bf4-43a3-9d52-940ad67db219",
"type" : "POST"
}
}
}, {
"id" : "7cf6c6fb-f9cf-45af-92f4-61e2224030bf",
"message" : "SIT-generated reply Pesho [2026-08-06T13:49:47.134514957] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-08-06T13:49:47.181647",
"lastModified" : "2026-08-06T13:49:47.18165",
"from" : {
"id" : "auth0|6a205ea86a76a69d8a3babcb",
"name" : "sit@meltano.com",
"handle" : "@sit1"
},
"commentCount" : 3,
"datasetId" : "5dccd72c-7bd6-4eeb-93b7-bda347ca98f6",
"_links" : {
"comments" : {
"href" : "https://staging.meltano.com/api/datasets/5dccd72c-7bd6-4eeb-93b7-bda347ca98f6/comments?parentId=7cf6c6fb-f9cf-45af-92f4-61e2224030bf",
"type" : "GET"
},
"edit-history" : {
"href" : "https://staging.meltano.com/api/comments/7cf6c6fb-f9cf-45af-92f4-61e2224030bf/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://staging.meltano.com/api/datasets/5dccd72c-7bd6-4eeb-93b7-bda347ca98f6/comments/7cf6c6fb-f9cf-45af-92f4-61e2224030bf",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://staging.meltano.com/api/comments/7cf6c6fb-f9cf-45af-92f4-61e2224030bf",
"type" : "DELETE"
},
"self" : {
"href" : "https://staging.meltano.com/api/comments/7cf6c6fb-f9cf-45af-92f4-61e2224030bf"
},
"add like" : {
"href" : "https://staging.meltano.com/api/comments/7cf6c6fb-f9cf-45af-92f4-61e2224030bf/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://staging.meltano.com/api/comments/7cf6c6fb-f9cf-45af-92f4-61e2224030bf",
"type" : "POST"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://staging.meltano.com/api/datasets/5dccd72c-7bd6-4eeb-93b7-bda347ca98f6/comments?page=0&size=20"
}
},
"page" : {
"size" : 20,
"totalElements" : 4,
"totalPages" : 1,
"number" : 0
}
}
View a comment
GET /api/comments/{comment-id}
Returns the comment {comment-id}.
Prerequisites
- Comment
{comment-id}must exist
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://staging.meltano.com:443/api/comments/1c750ebe-c667-48ac-ad85-4de5aa188b96' -i -X GET
import requests
url = "https://staging.meltano.com:443/api/comments/1c750ebe-c667-48ac-ad85-4de5aa188b96"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment with HAL links.
{
"id" : "1c750ebe-c667-48ac-ad85-4de5aa188b96",
"message" : "SIT-generated reply Pesho [2026-08-06T13:49:49.905132022] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-08-06T13:49:49.953765",
"lastModified" : "2026-08-06T13:49:49.953766",
"from" : {
"id" : "auth0|6a205ea86a76a69d8a3babcb",
"name" : "sit@meltano.com",
"handle" : "@sit1"
},
"commentCount" : 0,
"datasetId" : "5dccd72c-7bd6-4eeb-93b7-bda347ca98f6",
"_links" : {
"edit-history" : {
"href" : "https://staging.meltano.com/api/comments/1c750ebe-c667-48ac-ad85-4de5aa188b96/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://staging.meltano.com/api/datasets/5dccd72c-7bd6-4eeb-93b7-bda347ca98f6/comments/1c750ebe-c667-48ac-ad85-4de5aa188b96",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://staging.meltano.com/api/comments/1c750ebe-c667-48ac-ad85-4de5aa188b96",
"type" : "DELETE"
},
"self" : {
"href" : "https://staging.meltano.com/api/comments/1c750ebe-c667-48ac-ad85-4de5aa188b96"
},
"add like" : {
"href" : "https://staging.meltano.com/api/comments/1c750ebe-c667-48ac-ad85-4de5aa188b96/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://staging.meltano.com/api/comments/1c750ebe-c667-48ac-ad85-4de5aa188b96",
"type" : "POST"
}
}
}
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
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://staging.meltano.com:443/api/comments/1c750ebe-c667-48ac-ad85-4de5aa188b96/history' -i -X GET
import requests
url = "https://staging.meltano.com:443/api/comments/1c750ebe-c667-48ac-ad85-4de5aa188b96/history"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
[ {
"lastModified" : "2026-08-06T13:49:49.964",
"message" : "SIT-generated reply Pesho [2026-08-06T13:49:49.905132022] to ",
"editVersion" : "225374"
}, {
"lastModified" : "2026-08-06T13:49:50.127",
"message" : "SIT-generated reply Pesho [2026-08-06T13:49:50.070411964] to ",
"editVersion" : "225375"
} ]
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
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://staging.meltano.com:443/api/datasets/5dccd72c-7bd6-4eeb-93b7-bda347ca98f6/comments?parentId=7cf6c6fb-f9cf-45af-92f4-61e2224030bf' -i -X GET
import requests
url = "https://staging.meltano.com:443/api/datasets/5dccd72c-7bd6-4eeb-93b7-bda347ca98f6/comments?parentId=7cf6c6fb-f9cf-45af-92f4-61e2224030bf"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment with HAL links.
{
"_embedded" : {
"datasetComments" : [ {
"id" : "07844ddc-7bf1-40c5-9443-bad9fddf0d91",
"message" : "SIT-generated reply Pesho [2026-08-06T13:49:47.921179171] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-08-06T13:49:47.981174",
"lastModified" : "2026-08-06T13:49:47.981178",
"from" : {
"id" : "auth0|6a205ea86a76a69d8a3babcb",
"name" : "sit@meltano.com",
"handle" : "@sit1"
},
"commentCount" : 0,
"datasetId" : "5dccd72c-7bd6-4eeb-93b7-bda347ca98f6",
"parentId" : "7cf6c6fb-f9cf-45af-92f4-61e2224030bf",
"_links" : {
"edit-history" : {
"href" : "https://staging.meltano.com/api/comments/07844ddc-7bf1-40c5-9443-bad9fddf0d91/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://staging.meltano.com/api/datasets/5dccd72c-7bd6-4eeb-93b7-bda347ca98f6/comments/07844ddc-7bf1-40c5-9443-bad9fddf0d91",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://staging.meltano.com/api/comments/07844ddc-7bf1-40c5-9443-bad9fddf0d91",
"type" : "DELETE"
},
"self" : {
"href" : "https://staging.meltano.com/api/comments/07844ddc-7bf1-40c5-9443-bad9fddf0d91"
},
"add like" : {
"href" : "https://staging.meltano.com/api/comments/07844ddc-7bf1-40c5-9443-bad9fddf0d91/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://staging.meltano.com/api/comments/07844ddc-7bf1-40c5-9443-bad9fddf0d91",
"type" : "POST"
}
}
}, {
"id" : "baa996e4-9dda-4eef-a6e9-f3c6dba32857",
"message" : "SIT-generated reply Pesho [2026-08-06T13:49:47.784240912] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-08-06T13:49:47.833727",
"lastModified" : "2026-08-06T13:49:47.83373",
"from" : {
"id" : "auth0|6a205ea86a76a69d8a3babcb",
"name" : "sit@meltano.com",
"handle" : "@sit1"
},
"commentCount" : 0,
"datasetId" : "5dccd72c-7bd6-4eeb-93b7-bda347ca98f6",
"parentId" : "7cf6c6fb-f9cf-45af-92f4-61e2224030bf",
"_links" : {
"edit-history" : {
"href" : "https://staging.meltano.com/api/comments/baa996e4-9dda-4eef-a6e9-f3c6dba32857/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://staging.meltano.com/api/datasets/5dccd72c-7bd6-4eeb-93b7-bda347ca98f6/comments/baa996e4-9dda-4eef-a6e9-f3c6dba32857",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://staging.meltano.com/api/comments/baa996e4-9dda-4eef-a6e9-f3c6dba32857",
"type" : "DELETE"
},
"self" : {
"href" : "https://staging.meltano.com/api/comments/baa996e4-9dda-4eef-a6e9-f3c6dba32857"
},
"add like" : {
"href" : "https://staging.meltano.com/api/comments/baa996e4-9dda-4eef-a6e9-f3c6dba32857/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://staging.meltano.com/api/comments/baa996e4-9dda-4eef-a6e9-f3c6dba32857",
"type" : "POST"
}
}
}, {
"id" : "55828eda-ba8f-4d78-9e53-712273c15a9f",
"message" : "SIT-generated reply Pesho [2026-08-06T13:49:47.656648806] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-08-06T13:49:47.703663",
"lastModified" : "2026-08-06T13:49:47.703666",
"from" : {
"id" : "auth0|6a205ea86a76a69d8a3babcb",
"name" : "sit@meltano.com",
"handle" : "@sit1"
},
"commentCount" : 0,
"datasetId" : "5dccd72c-7bd6-4eeb-93b7-bda347ca98f6",
"parentId" : "7cf6c6fb-f9cf-45af-92f4-61e2224030bf",
"_links" : {
"edit-history" : {
"href" : "https://staging.meltano.com/api/comments/55828eda-ba8f-4d78-9e53-712273c15a9f/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://staging.meltano.com/api/datasets/5dccd72c-7bd6-4eeb-93b7-bda347ca98f6/comments/55828eda-ba8f-4d78-9e53-712273c15a9f",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://staging.meltano.com/api/comments/55828eda-ba8f-4d78-9e53-712273c15a9f",
"type" : "DELETE"
},
"self" : {
"href" : "https://staging.meltano.com/api/comments/55828eda-ba8f-4d78-9e53-712273c15a9f"
},
"add like" : {
"href" : "https://staging.meltano.com/api/comments/55828eda-ba8f-4d78-9e53-712273c15a9f/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://staging.meltano.com/api/comments/55828eda-ba8f-4d78-9e53-712273c15a9f",
"type" : "POST"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://staging.meltano.com/api/datasets/5dccd72c-7bd6-4eeb-93b7-bda347ca98f6/comments?parentId=7cf6c6fb-f9cf-45af-92f4-61e2224030bf&page=0&size=20"
}
},
"page" : {
"size" : 20,
"totalElements" : 3,
"totalPages" : 1,
"number" : 0
}
}
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
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://staging.meltano.com:443/api/datasets/5dccd72c-7bd6-4eeb-93b7-bda347ca98f6/comments' -i -X POST \
-H 'Content-Type: application/json'
import requests
url = "https://staging.meltano.com:443/api/datasets/5dccd72c-7bd6-4eeb-93b7-bda347ca98f6/comments"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("POST", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment with HAL links.
{
"id" : "b24f95a1-efcf-4d35-ba04-53fec09cde1a",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-08-06T13:49:49.688974882",
"lastModified" : "2026-08-06T13:49:49.688975946",
"from" : {
"id" : "auth0|6a205ea86a76a69d8a3babcb",
"name" : "sit@meltano.com",
"handle" : "@sit1"
},
"commentCount" : 0,
"datasetId" : "5dccd72c-7bd6-4eeb-93b7-bda347ca98f6",
"_links" : {
"create comment" : {
"href" : "https://staging.meltano.com/api/datasets/5dccd72c-7bd6-4eeb-93b7-bda347ca98f6/comments/b24f95a1-efcf-4d35-ba04-53fec09cde1a",
"type" : "PUT"
}
}
}
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
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://staging.meltano.com:443/api/comments/7cf6c6fb-f9cf-45af-92f4-61e2224030bf' -i -X POST \
-H 'Content-Type: application/json'
import requests
url = "https://staging.meltano.com:443/api/comments/7cf6c6fb-f9cf-45af-92f4-61e2224030bf"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("POST", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment with HAL links.
{
"id" : "016090bc-22c9-4960-85b1-be169e9835ed",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-08-06T13:49:49.329943822",
"lastModified" : "2026-08-06T13:49:49.329945215",
"from" : {
"id" : "auth0|6a205ea86a76a69d8a3babcb",
"name" : "sit@meltano.com",
"handle" : "@sit1"
},
"commentCount" : 0,
"datasetId" : "5dccd72c-7bd6-4eeb-93b7-bda347ca98f6",
"parentId" : "7cf6c6fb-f9cf-45af-92f4-61e2224030bf",
"_links" : {
"create comment" : {
"href" : "https://staging.meltano.com/api/datasets/5dccd72c-7bd6-4eeb-93b7-bda347ca98f6/comments/016090bc-22c9-4960-85b1-be169e9835ed",
"type" : "PUT"
}
}
}
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-08-06T13:49:49.128352452] to ",
"datasetId" : "5dccd72c-7bd6-4eeb-93b7-bda347ca98f6"
}
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://staging.meltano.com:443/api/datasets/5dccd72c-7bd6-4eeb-93b7-bda347ca98f6/comments/9744880b-eec5-486b-9864-fc07ff44838c' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"message" : "SIT-generated reply Pesho [2026-08-06T13:49:49.128352452] to ",
"datasetId" : "5dccd72c-7bd6-4eeb-93b7-bda347ca98f6"
}'
import requests
url = "https://staging.meltano.com:443/api/datasets/5dccd72c-7bd6-4eeb-93b7-bda347ca98f6/comments/9744880b-eec5-486b-9864-fc07ff44838c"
data = {
"message" : "SIT-generated reply Pesho [2026-08-06T13:49:49.128352452] to ",
"datasetId" : "5dccd72c-7bd6-4eeb-93b7-bda347ca98f6"
}
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("PUT", url, headers=headers, data=data)
print(response.text.encode('utf8'))
Response
201 Created
Comment with HAL links.
{
"id" : "9744880b-eec5-486b-9864-fc07ff44838c",
"message" : "SIT-generated reply Pesho [2026-08-06T13:49:49.128352452] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-08-06T13:49:49.237843971",
"lastModified" : "2026-08-06T13:49:49.237844871",
"from" : {
"id" : "auth0|6a205ea86a76a69d8a3babcb",
"name" : "sit@meltano.com",
"handle" : "@sit1"
},
"commentCount" : 0,
"datasetId" : "5dccd72c-7bd6-4eeb-93b7-bda347ca98f6",
"_links" : {
"edit-history" : {
"href" : "https://staging.meltano.com/api/comments/9744880b-eec5-486b-9864-fc07ff44838c/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://staging.meltano.com/api/datasets/5dccd72c-7bd6-4eeb-93b7-bda347ca98f6/comments/9744880b-eec5-486b-9864-fc07ff44838c",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://staging.meltano.com/api/comments/9744880b-eec5-486b-9864-fc07ff44838c",
"type" : "DELETE"
},
"self" : {
"href" : "https://staging.meltano.com/api/comments/9744880b-eec5-486b-9864-fc07ff44838c"
},
"add like" : {
"href" : "https://staging.meltano.com/api/comments/9744880b-eec5-486b-9864-fc07ff44838c/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://staging.meltano.com/api/comments/9744880b-eec5-486b-9864-fc07ff44838c",
"type" : "POST"
}
}
}
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-08-06T13:49:49.735604447] to "
}
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://staging.meltano.com:443/api/comments/1c750ebe-c667-48ac-ad85-4de5aa188b96' -i -X GET
import requests
url = "https://staging.meltano.com:443/api/comments/1c750ebe-c667-48ac-ad85-4de5aa188b96"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment with HAL links.
{
"id" : "1c750ebe-c667-48ac-ad85-4de5aa188b96",
"message" : "SIT-generated reply Pesho [2026-08-06T13:49:49.905132022] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-08-06T13:49:49.953765",
"lastModified" : "2026-08-06T13:49:49.953766",
"from" : {
"id" : "auth0|6a205ea86a76a69d8a3babcb",
"name" : "sit@meltano.com",
"handle" : "@sit1"
},
"commentCount" : 0,
"datasetId" : "5dccd72c-7bd6-4eeb-93b7-bda347ca98f6",
"_links" : {
"edit-history" : {
"href" : "https://staging.meltano.com/api/comments/1c750ebe-c667-48ac-ad85-4de5aa188b96/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://staging.meltano.com/api/datasets/5dccd72c-7bd6-4eeb-93b7-bda347ca98f6/comments/1c750ebe-c667-48ac-ad85-4de5aa188b96",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://staging.meltano.com/api/comments/1c750ebe-c667-48ac-ad85-4de5aa188b96",
"type" : "DELETE"
},
"self" : {
"href" : "https://staging.meltano.com/api/comments/1c750ebe-c667-48ac-ad85-4de5aa188b96"
},
"add like" : {
"href" : "https://staging.meltano.com/api/comments/1c750ebe-c667-48ac-ad85-4de5aa188b96/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://staging.meltano.com/api/comments/1c750ebe-c667-48ac-ad85-4de5aa188b96",
"type" : "POST"
}
}
}
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
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://staging.meltano.com:443/api/comments/7cf6c6fb-f9cf-45af-92f4-61e2224030bf/like' -i -X PUT \
-H 'Content-Type: application/json'
import requests
url = "https://staging.meltano.com:443/api/comments/7cf6c6fb-f9cf-45af-92f4-61e2224030bf/like"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("PUT", url, headers=headers)
print(response.text.encode('utf8'))
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
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://staging.meltano.com:443/api/comments/7cf6c6fb-f9cf-45af-92f4-61e2224030bf/like' -i -X DELETE
import requests
url = "https://staging.meltano.com:443/api/comments/7cf6c6fb-f9cf-45af-92f4-61e2224030bf/like"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("DELETE", url, headers=headers)
print(response.text.encode('utf8'))
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
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://staging.meltano.com:443/api/comments/b408ba6e-6bf6-4c89-a485-38314adf340c' -i -X DELETE
import requests
url = "https://staging.meltano.com:443/api/comments/b408ba6e-6bf6-4c89-a485-38314adf340c"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("DELETE", url, headers=headers)
print(response.text.encode('utf8'))
Response
204 No Content
No response body provided.