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" : "6781d46a-c99e-4631-a633-cf1eaba09160",
"message" : "SIT-generated reply Pesho [2026-07-13T16:05:22.026084714] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-07-13T16:05:22.086043",
"lastModified" : "2026-07-13T16:05:22.086044",
"from" : {
"id" : "auth0|6a205ea86a76a69d8a3babcb",
"name" : "sit@meltano.com",
"handle" : "@sit1"
},
"commentCount" : 0,
"datasetId" : "61772534-b151-43e7-8321-4ffbf1fff5a6",
"_links" : {
"edit-history" : {
"href" : "https://staging.meltano.com/api/comments/6781d46a-c99e-4631-a633-cf1eaba09160/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://staging.meltano.com/api/datasets/61772534-b151-43e7-8321-4ffbf1fff5a6/comments/6781d46a-c99e-4631-a633-cf1eaba09160",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://staging.meltano.com/api/comments/6781d46a-c99e-4631-a633-cf1eaba09160",
"type" : "DELETE"
},
"self" : {
"href" : "https://staging.meltano.com/api/comments/6781d46a-c99e-4631-a633-cf1eaba09160"
},
"add like" : {
"href" : "https://staging.meltano.com/api/comments/6781d46a-c99e-4631-a633-cf1eaba09160/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://staging.meltano.com/api/comments/6781d46a-c99e-4631-a633-cf1eaba09160",
"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/61772534-b151-43e7-8321-4ffbf1fff5a6/comments' -i -X GET
import requests
url = "https://staging.meltano.com:443/api/datasets/61772534-b151-43e7-8321-4ffbf1fff5a6/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" : "114c0649-a51d-44c1-be62-0a48c46178c4",
"message" : "SIT-generated reply Pesho [2026-07-13T16:05:20.994575982] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-07-13T16:05:21.043056",
"lastModified" : "2026-07-13T16:05:21.043058",
"from" : {
"id" : "auth0|6a205ea86a76a69d8a3babcb",
"name" : "sit@meltano.com",
"handle" : "@sit1"
},
"commentCount" : 0,
"datasetId" : "61772534-b151-43e7-8321-4ffbf1fff5a6",
"_links" : {
"edit-history" : {
"href" : "https://staging.meltano.com/api/comments/114c0649-a51d-44c1-be62-0a48c46178c4/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://staging.meltano.com/api/datasets/61772534-b151-43e7-8321-4ffbf1fff5a6/comments/114c0649-a51d-44c1-be62-0a48c46178c4",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://staging.meltano.com/api/comments/114c0649-a51d-44c1-be62-0a48c46178c4",
"type" : "DELETE"
},
"self" : {
"href" : "https://staging.meltano.com/api/comments/114c0649-a51d-44c1-be62-0a48c46178c4"
},
"add like" : {
"href" : "https://staging.meltano.com/api/comments/114c0649-a51d-44c1-be62-0a48c46178c4/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://staging.meltano.com/api/comments/114c0649-a51d-44c1-be62-0a48c46178c4",
"type" : "POST"
}
}
}, {
"id" : "aaebe273-99fb-4884-85f1-c38f11affcc6",
"message" : "SIT-generated reply Pesho [2026-07-13T16:05:20.856862257] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-07-13T16:05:20.910053",
"lastModified" : "2026-07-13T16:05:20.910054",
"from" : {
"id" : "auth0|6a205ea86a76a69d8a3babcb",
"name" : "sit@meltano.com",
"handle" : "@sit1"
},
"commentCount" : 0,
"datasetId" : "61772534-b151-43e7-8321-4ffbf1fff5a6",
"_links" : {
"edit-history" : {
"href" : "https://staging.meltano.com/api/comments/aaebe273-99fb-4884-85f1-c38f11affcc6/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://staging.meltano.com/api/datasets/61772534-b151-43e7-8321-4ffbf1fff5a6/comments/aaebe273-99fb-4884-85f1-c38f11affcc6",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://staging.meltano.com/api/comments/aaebe273-99fb-4884-85f1-c38f11affcc6",
"type" : "DELETE"
},
"self" : {
"href" : "https://staging.meltano.com/api/comments/aaebe273-99fb-4884-85f1-c38f11affcc6"
},
"add like" : {
"href" : "https://staging.meltano.com/api/comments/aaebe273-99fb-4884-85f1-c38f11affcc6/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://staging.meltano.com/api/comments/aaebe273-99fb-4884-85f1-c38f11affcc6",
"type" : "POST"
}
}
}, {
"id" : "27387b9d-5cff-4e37-886e-4a674386e157",
"message" : "SIT-generated reply Pesho [2026-07-13T16:05:20.698269676] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-07-13T16:05:20.752987",
"lastModified" : "2026-07-13T16:05:20.752988",
"from" : {
"id" : "auth0|6a205ea86a76a69d8a3babcb",
"name" : "sit@meltano.com",
"handle" : "@sit1"
},
"commentCount" : 0,
"datasetId" : "61772534-b151-43e7-8321-4ffbf1fff5a6",
"_links" : {
"edit-history" : {
"href" : "https://staging.meltano.com/api/comments/27387b9d-5cff-4e37-886e-4a674386e157/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://staging.meltano.com/api/datasets/61772534-b151-43e7-8321-4ffbf1fff5a6/comments/27387b9d-5cff-4e37-886e-4a674386e157",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://staging.meltano.com/api/comments/27387b9d-5cff-4e37-886e-4a674386e157",
"type" : "DELETE"
},
"self" : {
"href" : "https://staging.meltano.com/api/comments/27387b9d-5cff-4e37-886e-4a674386e157"
},
"add like" : {
"href" : "https://staging.meltano.com/api/comments/27387b9d-5cff-4e37-886e-4a674386e157/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://staging.meltano.com/api/comments/27387b9d-5cff-4e37-886e-4a674386e157",
"type" : "POST"
}
}
}, {
"id" : "82753d1a-ce28-4666-b44f-ebe3287d5468",
"message" : "SIT-generated reply Pesho [2026-07-13T16:05:18.941960721] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-07-13T16:05:19.007881",
"lastModified" : "2026-07-13T16:05:19.007885",
"from" : {
"id" : "auth0|6a205ea86a76a69d8a3babcb",
"name" : "sit@meltano.com",
"handle" : "@sit1"
},
"commentCount" : 3,
"datasetId" : "61772534-b151-43e7-8321-4ffbf1fff5a6",
"_links" : {
"comments" : {
"href" : "https://staging.meltano.com/api/datasets/61772534-b151-43e7-8321-4ffbf1fff5a6/comments?parentId=82753d1a-ce28-4666-b44f-ebe3287d5468",
"type" : "GET"
},
"edit-history" : {
"href" : "https://staging.meltano.com/api/comments/82753d1a-ce28-4666-b44f-ebe3287d5468/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://staging.meltano.com/api/datasets/61772534-b151-43e7-8321-4ffbf1fff5a6/comments/82753d1a-ce28-4666-b44f-ebe3287d5468",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://staging.meltano.com/api/comments/82753d1a-ce28-4666-b44f-ebe3287d5468",
"type" : "DELETE"
},
"self" : {
"href" : "https://staging.meltano.com/api/comments/82753d1a-ce28-4666-b44f-ebe3287d5468"
},
"add like" : {
"href" : "https://staging.meltano.com/api/comments/82753d1a-ce28-4666-b44f-ebe3287d5468/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://staging.meltano.com/api/comments/82753d1a-ce28-4666-b44f-ebe3287d5468",
"type" : "POST"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://staging.meltano.com/api/datasets/61772534-b151-43e7-8321-4ffbf1fff5a6/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/6781d46a-c99e-4631-a633-cf1eaba09160' -i -X GET
import requests
url = "https://staging.meltano.com:443/api/comments/6781d46a-c99e-4631-a633-cf1eaba09160"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment with HAL links.
{
"id" : "6781d46a-c99e-4631-a633-cf1eaba09160",
"message" : "SIT-generated reply Pesho [2026-07-13T16:05:22.026084714] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-07-13T16:05:22.086043",
"lastModified" : "2026-07-13T16:05:22.086044",
"from" : {
"id" : "auth0|6a205ea86a76a69d8a3babcb",
"name" : "sit@meltano.com",
"handle" : "@sit1"
},
"commentCount" : 0,
"datasetId" : "61772534-b151-43e7-8321-4ffbf1fff5a6",
"_links" : {
"edit-history" : {
"href" : "https://staging.meltano.com/api/comments/6781d46a-c99e-4631-a633-cf1eaba09160/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://staging.meltano.com/api/datasets/61772534-b151-43e7-8321-4ffbf1fff5a6/comments/6781d46a-c99e-4631-a633-cf1eaba09160",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://staging.meltano.com/api/comments/6781d46a-c99e-4631-a633-cf1eaba09160",
"type" : "DELETE"
},
"self" : {
"href" : "https://staging.meltano.com/api/comments/6781d46a-c99e-4631-a633-cf1eaba09160"
},
"add like" : {
"href" : "https://staging.meltano.com/api/comments/6781d46a-c99e-4631-a633-cf1eaba09160/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://staging.meltano.com/api/comments/6781d46a-c99e-4631-a633-cf1eaba09160",
"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/6781d46a-c99e-4631-a633-cf1eaba09160/history' -i -X GET
import requests
url = "https://staging.meltano.com:443/api/comments/6781d46a-c99e-4631-a633-cf1eaba09160/history"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
[ {
"lastModified" : "2026-07-13T16:05:22.096",
"message" : "SIT-generated reply Pesho [2026-07-13T16:05:22.026084714] to ",
"editVersion" : "208046"
}, {
"lastModified" : "2026-07-13T16:05:22.277",
"message" : "SIT-generated reply Pesho [2026-07-13T16:05:22.210574734] to ",
"editVersion" : "208047"
} ]
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/61772534-b151-43e7-8321-4ffbf1fff5a6/comments?parentId=82753d1a-ce28-4666-b44f-ebe3287d5468' -i -X GET
import requests
url = "https://staging.meltano.com:443/api/datasets/61772534-b151-43e7-8321-4ffbf1fff5a6/comments?parentId=82753d1a-ce28-4666-b44f-ebe3287d5468"
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" : "1f89e3bb-b227-4ab6-bbd8-f1bf2b020e6b",
"message" : "SIT-generated reply Pesho [2026-07-13T16:05:19.840355868] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-07-13T16:05:19.897105",
"lastModified" : "2026-07-13T16:05:19.897107",
"from" : {
"id" : "auth0|6a205ea86a76a69d8a3babcb",
"name" : "sit@meltano.com",
"handle" : "@sit1"
},
"commentCount" : 0,
"datasetId" : "61772534-b151-43e7-8321-4ffbf1fff5a6",
"parentId" : "82753d1a-ce28-4666-b44f-ebe3287d5468",
"_links" : {
"edit-history" : {
"href" : "https://staging.meltano.com/api/comments/1f89e3bb-b227-4ab6-bbd8-f1bf2b020e6b/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://staging.meltano.com/api/datasets/61772534-b151-43e7-8321-4ffbf1fff5a6/comments/1f89e3bb-b227-4ab6-bbd8-f1bf2b020e6b",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://staging.meltano.com/api/comments/1f89e3bb-b227-4ab6-bbd8-f1bf2b020e6b",
"type" : "DELETE"
},
"self" : {
"href" : "https://staging.meltano.com/api/comments/1f89e3bb-b227-4ab6-bbd8-f1bf2b020e6b"
},
"add like" : {
"href" : "https://staging.meltano.com/api/comments/1f89e3bb-b227-4ab6-bbd8-f1bf2b020e6b/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://staging.meltano.com/api/comments/1f89e3bb-b227-4ab6-bbd8-f1bf2b020e6b",
"type" : "POST"
}
}
}, {
"id" : "14e9d461-9970-4d09-abe0-dfacc6074b22",
"message" : "SIT-generated reply Pesho [2026-07-13T16:05:19.701346664] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-07-13T16:05:19.755782",
"lastModified" : "2026-07-13T16:05:19.755786",
"from" : {
"id" : "auth0|6a205ea86a76a69d8a3babcb",
"name" : "sit@meltano.com",
"handle" : "@sit1"
},
"commentCount" : 0,
"datasetId" : "61772534-b151-43e7-8321-4ffbf1fff5a6",
"parentId" : "82753d1a-ce28-4666-b44f-ebe3287d5468",
"_links" : {
"edit-history" : {
"href" : "https://staging.meltano.com/api/comments/14e9d461-9970-4d09-abe0-dfacc6074b22/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://staging.meltano.com/api/datasets/61772534-b151-43e7-8321-4ffbf1fff5a6/comments/14e9d461-9970-4d09-abe0-dfacc6074b22",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://staging.meltano.com/api/comments/14e9d461-9970-4d09-abe0-dfacc6074b22",
"type" : "DELETE"
},
"self" : {
"href" : "https://staging.meltano.com/api/comments/14e9d461-9970-4d09-abe0-dfacc6074b22"
},
"add like" : {
"href" : "https://staging.meltano.com/api/comments/14e9d461-9970-4d09-abe0-dfacc6074b22/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://staging.meltano.com/api/comments/14e9d461-9970-4d09-abe0-dfacc6074b22",
"type" : "POST"
}
}
}, {
"id" : "bb5e3590-ce6b-49b5-baec-5d49a5aba32b",
"message" : "SIT-generated reply Pesho [2026-07-13T16:05:19.548249365] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-07-13T16:05:19.602473",
"lastModified" : "2026-07-13T16:05:19.602476",
"from" : {
"id" : "auth0|6a205ea86a76a69d8a3babcb",
"name" : "sit@meltano.com",
"handle" : "@sit1"
},
"commentCount" : 0,
"datasetId" : "61772534-b151-43e7-8321-4ffbf1fff5a6",
"parentId" : "82753d1a-ce28-4666-b44f-ebe3287d5468",
"_links" : {
"edit-history" : {
"href" : "https://staging.meltano.com/api/comments/bb5e3590-ce6b-49b5-baec-5d49a5aba32b/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://staging.meltano.com/api/datasets/61772534-b151-43e7-8321-4ffbf1fff5a6/comments/bb5e3590-ce6b-49b5-baec-5d49a5aba32b",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://staging.meltano.com/api/comments/bb5e3590-ce6b-49b5-baec-5d49a5aba32b",
"type" : "DELETE"
},
"self" : {
"href" : "https://staging.meltano.com/api/comments/bb5e3590-ce6b-49b5-baec-5d49a5aba32b"
},
"add like" : {
"href" : "https://staging.meltano.com/api/comments/bb5e3590-ce6b-49b5-baec-5d49a5aba32b/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://staging.meltano.com/api/comments/bb5e3590-ce6b-49b5-baec-5d49a5aba32b",
"type" : "POST"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://staging.meltano.com/api/datasets/61772534-b151-43e7-8321-4ffbf1fff5a6/comments?parentId=82753d1a-ce28-4666-b44f-ebe3287d5468&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/61772534-b151-43e7-8321-4ffbf1fff5a6/comments' -i -X POST \
-H 'Content-Type: application/json'
import requests
url = "https://staging.meltano.com:443/api/datasets/61772534-b151-43e7-8321-4ffbf1fff5a6/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" : "a24df6a0-b44d-46e8-947f-2bc3bdcb7b85",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-07-13T16:05:21.795986594",
"lastModified" : "2026-07-13T16:05:21.795988815",
"from" : {
"id" : "auth0|6a205ea86a76a69d8a3babcb",
"name" : "sit@meltano.com",
"handle" : "@sit1"
},
"commentCount" : 0,
"datasetId" : "61772534-b151-43e7-8321-4ffbf1fff5a6",
"_links" : {
"create comment" : {
"href" : "https://staging.meltano.com/api/datasets/61772534-b151-43e7-8321-4ffbf1fff5a6/comments/a24df6a0-b44d-46e8-947f-2bc3bdcb7b85",
"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/82753d1a-ce28-4666-b44f-ebe3287d5468' -i -X POST \
-H 'Content-Type: application/json'
import requests
url = "https://staging.meltano.com:443/api/comments/82753d1a-ce28-4666-b44f-ebe3287d5468"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("POST", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment with HAL links.
{
"id" : "3c6d2538-5c85-4410-aeb4-7b34deb738d7",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-07-13T16:05:21.388851201",
"lastModified" : "2026-07-13T16:05:21.388854447",
"from" : {
"id" : "auth0|6a205ea86a76a69d8a3babcb",
"name" : "sit@meltano.com",
"handle" : "@sit1"
},
"commentCount" : 0,
"datasetId" : "61772534-b151-43e7-8321-4ffbf1fff5a6",
"parentId" : "82753d1a-ce28-4666-b44f-ebe3287d5468",
"_links" : {
"create comment" : {
"href" : "https://staging.meltano.com/api/datasets/61772534-b151-43e7-8321-4ffbf1fff5a6/comments/3c6d2538-5c85-4410-aeb4-7b34deb738d7",
"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-07-13T16:05:21.166890378] to ",
"datasetId" : "61772534-b151-43e7-8321-4ffbf1fff5a6"
}
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://staging.meltano.com:443/api/datasets/61772534-b151-43e7-8321-4ffbf1fff5a6/comments/df9e89a1-fa22-454d-8b6d-e9a8bab472a0' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"message" : "SIT-generated reply Pesho [2026-07-13T16:05:21.166890378] to ",
"datasetId" : "61772534-b151-43e7-8321-4ffbf1fff5a6"
}'
import requests
url = "https://staging.meltano.com:443/api/datasets/61772534-b151-43e7-8321-4ffbf1fff5a6/comments/df9e89a1-fa22-454d-8b6d-e9a8bab472a0"
data = {
"message" : "SIT-generated reply Pesho [2026-07-13T16:05:21.166890378] to ",
"datasetId" : "61772534-b151-43e7-8321-4ffbf1fff5a6"
}
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" : "df9e89a1-fa22-454d-8b6d-e9a8bab472a0",
"message" : "SIT-generated reply Pesho [2026-07-13T16:05:21.166890378] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-07-13T16:05:21.292236146",
"lastModified" : "2026-07-13T16:05:21.292237528",
"from" : {
"id" : "auth0|6a205ea86a76a69d8a3babcb",
"name" : "sit@meltano.com",
"handle" : "@sit1"
},
"commentCount" : 0,
"datasetId" : "61772534-b151-43e7-8321-4ffbf1fff5a6",
"_links" : {
"edit-history" : {
"href" : "https://staging.meltano.com/api/comments/df9e89a1-fa22-454d-8b6d-e9a8bab472a0/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://staging.meltano.com/api/datasets/61772534-b151-43e7-8321-4ffbf1fff5a6/comments/df9e89a1-fa22-454d-8b6d-e9a8bab472a0",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://staging.meltano.com/api/comments/df9e89a1-fa22-454d-8b6d-e9a8bab472a0",
"type" : "DELETE"
},
"self" : {
"href" : "https://staging.meltano.com/api/comments/df9e89a1-fa22-454d-8b6d-e9a8bab472a0"
},
"add like" : {
"href" : "https://staging.meltano.com/api/comments/df9e89a1-fa22-454d-8b6d-e9a8bab472a0/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://staging.meltano.com/api/comments/df9e89a1-fa22-454d-8b6d-e9a8bab472a0",
"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-07-13T16:05:21.828871820] to "
}
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://staging.meltano.com:443/api/comments/6781d46a-c99e-4631-a633-cf1eaba09160' -i -X GET
import requests
url = "https://staging.meltano.com:443/api/comments/6781d46a-c99e-4631-a633-cf1eaba09160"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment with HAL links.
{
"id" : "6781d46a-c99e-4631-a633-cf1eaba09160",
"message" : "SIT-generated reply Pesho [2026-07-13T16:05:22.026084714] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-07-13T16:05:22.086043",
"lastModified" : "2026-07-13T16:05:22.086044",
"from" : {
"id" : "auth0|6a205ea86a76a69d8a3babcb",
"name" : "sit@meltano.com",
"handle" : "@sit1"
},
"commentCount" : 0,
"datasetId" : "61772534-b151-43e7-8321-4ffbf1fff5a6",
"_links" : {
"edit-history" : {
"href" : "https://staging.meltano.com/api/comments/6781d46a-c99e-4631-a633-cf1eaba09160/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://staging.meltano.com/api/datasets/61772534-b151-43e7-8321-4ffbf1fff5a6/comments/6781d46a-c99e-4631-a633-cf1eaba09160",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://staging.meltano.com/api/comments/6781d46a-c99e-4631-a633-cf1eaba09160",
"type" : "DELETE"
},
"self" : {
"href" : "https://staging.meltano.com/api/comments/6781d46a-c99e-4631-a633-cf1eaba09160"
},
"add like" : {
"href" : "https://staging.meltano.com/api/comments/6781d46a-c99e-4631-a633-cf1eaba09160/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://staging.meltano.com/api/comments/6781d46a-c99e-4631-a633-cf1eaba09160",
"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/82753d1a-ce28-4666-b44f-ebe3287d5468/like' -i -X PUT \
-H 'Content-Type: application/json'
import requests
url = "https://staging.meltano.com:443/api/comments/82753d1a-ce28-4666-b44f-ebe3287d5468/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/82753d1a-ce28-4666-b44f-ebe3287d5468/like' -i -X DELETE
import requests
url = "https://staging.meltano.com:443/api/comments/82753d1a-ce28-4666-b44f-ebe3287d5468/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/e63ded80-1a67-4627-955e-ddd3dc843279' -i -X DELETE
import requests
url = "https://staging.meltano.com:443/api/comments/e63ded80-1a67-4627-955e-ddd3dc843279"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("DELETE", url, headers=headers)
print(response.text.encode('utf8'))
Response
204 No Content
No response body provided.