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" : "2747956c-a260-4eba-a977-ae5978a5a01d",
"message" : "SIT-generated reply Pesho [2026-07-30T15:43:09.916239080] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-07-30T15:43:09.947606",
"lastModified" : "2026-07-30T15:43:09.947607",
"from" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"commentCount" : 0,
"datasetId" : "e4a5a626-9a7b-4f6e-beb4-5209918aa05e",
"_links" : {
"edit-history" : {
"href" : "https://app.matatika.com/api/comments/2747956c-a260-4eba-a977-ae5978a5a01d/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/e4a5a626-9a7b-4f6e-beb4-5209918aa05e/comments/2747956c-a260-4eba-a977-ae5978a5a01d",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/2747956c-a260-4eba-a977-ae5978a5a01d",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/2747956c-a260-4eba-a977-ae5978a5a01d"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/2747956c-a260-4eba-a977-ae5978a5a01d/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/2747956c-a260-4eba-a977-ae5978a5a01d",
"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://app.matatika.com:443/api/datasets/e4a5a626-9a7b-4f6e-beb4-5209918aa05e/comments' -i -X GET \
-H 'Accept: application/json, application/javascript, text/javascript, text/json'
import requests
url = "https://app.matatika.com:443/api/datasets/e4a5a626-9a7b-4f6e-beb4-5209918aa05e/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" : "983fe8bf-c62d-4c2f-a33e-1302cabedccd",
"message" : "SIT-generated reply Pesho [2026-07-30T15:43:09.345560526] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-07-30T15:43:09.371551",
"lastModified" : "2026-07-30T15:43:09.371551",
"from" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"commentCount" : 0,
"datasetId" : "e4a5a626-9a7b-4f6e-beb4-5209918aa05e",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/e4a5a626-9a7b-4f6e-beb4-5209918aa05e/comments/983fe8bf-c62d-4c2f-a33e-1302cabedccd",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/983fe8bf-c62d-4c2f-a33e-1302cabedccd",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/983fe8bf-c62d-4c2f-a33e-1302cabedccd"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/983fe8bf-c62d-4c2f-a33e-1302cabedccd/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/983fe8bf-c62d-4c2f-a33e-1302cabedccd",
"type" : "POST"
}
}
}, {
"id" : "dbb24c10-f0cd-495c-b95f-19c3d59413b3",
"message" : "SIT-generated reply Pesho [2026-07-30T15:43:09.264666294] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-07-30T15:43:09.293955",
"lastModified" : "2026-07-30T15:43:09.293956",
"from" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"commentCount" : 0,
"datasetId" : "e4a5a626-9a7b-4f6e-beb4-5209918aa05e",
"_links" : {
"edit-history" : {
"href" : "https://app.matatika.com/api/comments/dbb24c10-f0cd-495c-b95f-19c3d59413b3/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/e4a5a626-9a7b-4f6e-beb4-5209918aa05e/comments/dbb24c10-f0cd-495c-b95f-19c3d59413b3",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/dbb24c10-f0cd-495c-b95f-19c3d59413b3",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/dbb24c10-f0cd-495c-b95f-19c3d59413b3"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/dbb24c10-f0cd-495c-b95f-19c3d59413b3/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/dbb24c10-f0cd-495c-b95f-19c3d59413b3",
"type" : "POST"
}
}
}, {
"id" : "2de036c3-e679-4bad-b6c8-ff416e5c4f97",
"message" : "SIT-generated reply Pesho [2026-07-30T15:43:09.182371006] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-07-30T15:43:09.209127",
"lastModified" : "2026-07-30T15:43:09.209127",
"from" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"commentCount" : 0,
"datasetId" : "e4a5a626-9a7b-4f6e-beb4-5209918aa05e",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/e4a5a626-9a7b-4f6e-beb4-5209918aa05e/comments/2de036c3-e679-4bad-b6c8-ff416e5c4f97",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/2de036c3-e679-4bad-b6c8-ff416e5c4f97",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/2de036c3-e679-4bad-b6c8-ff416e5c4f97"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/2de036c3-e679-4bad-b6c8-ff416e5c4f97/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/2de036c3-e679-4bad-b6c8-ff416e5c4f97",
"type" : "POST"
}
}
}, {
"id" : "d775c934-27c7-41c0-a046-bb88066a9a97",
"message" : "SIT-generated reply Pesho [2026-07-30T15:43:08.356683499] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-07-30T15:43:08.380449",
"lastModified" : "2026-07-30T15:43:08.380449",
"from" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"commentCount" : 3,
"datasetId" : "e4a5a626-9a7b-4f6e-beb4-5209918aa05e",
"_links" : {
"comments" : {
"href" : "https://app.matatika.com/api/datasets/e4a5a626-9a7b-4f6e-beb4-5209918aa05e/comments?parentId=d775c934-27c7-41c0-a046-bb88066a9a97",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/e4a5a626-9a7b-4f6e-beb4-5209918aa05e/comments/d775c934-27c7-41c0-a046-bb88066a9a97",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/d775c934-27c7-41c0-a046-bb88066a9a97",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/d775c934-27c7-41c0-a046-bb88066a9a97"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/d775c934-27c7-41c0-a046-bb88066a9a97/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/d775c934-27c7-41c0-a046-bb88066a9a97",
"type" : "POST"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/datasets/e4a5a626-9a7b-4f6e-beb4-5209918aa05e/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://app.matatika.com:443/api/comments/2747956c-a260-4eba-a977-ae5978a5a01d' -i -X GET \
-H 'Accept: application/json, application/javascript, text/javascript, text/json'
import requests
url = "https://app.matatika.com:443/api/comments/2747956c-a260-4eba-a977-ae5978a5a01d"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment with HAL links.
{
"id" : "2747956c-a260-4eba-a977-ae5978a5a01d",
"message" : "SIT-generated reply Pesho [2026-07-30T15:43:09.916239080] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-07-30T15:43:09.947606",
"lastModified" : "2026-07-30T15:43:09.947607",
"from" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"commentCount" : 0,
"datasetId" : "e4a5a626-9a7b-4f6e-beb4-5209918aa05e",
"_links" : {
"edit-history" : {
"href" : "https://app.matatika.com/api/comments/2747956c-a260-4eba-a977-ae5978a5a01d/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/e4a5a626-9a7b-4f6e-beb4-5209918aa05e/comments/2747956c-a260-4eba-a977-ae5978a5a01d",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/2747956c-a260-4eba-a977-ae5978a5a01d",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/2747956c-a260-4eba-a977-ae5978a5a01d"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/2747956c-a260-4eba-a977-ae5978a5a01d/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/2747956c-a260-4eba-a977-ae5978a5a01d",
"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://app.matatika.com:443/api/comments/2747956c-a260-4eba-a977-ae5978a5a01d/history' -i -X GET \
-H 'Accept: application/json, application/javascript, text/javascript, text/json'
import requests
url = "https://app.matatika.com:443/api/comments/2747956c-a260-4eba-a977-ae5978a5a01d/history"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
[ {
"lastModified" : "2026-07-30T15:43:09.950",
"message" : "SIT-generated reply Pesho [2026-07-30T15:43:09.916239080] to ",
"editVersion" : "1245090"
}, {
"lastModified" : "2026-07-30T15:43:10.045",
"message" : "SIT-generated reply Pesho [2026-07-30T15:43:10.015207892] to ",
"editVersion" : "1245091"
} ]
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://app.matatika.com:443/api/datasets/e4a5a626-9a7b-4f6e-beb4-5209918aa05e/comments?parentId=d775c934-27c7-41c0-a046-bb88066a9a97' -i -X GET \
-H 'Accept: application/json, application/javascript, text/javascript, text/json'
import requests
url = "https://app.matatika.com:443/api/datasets/e4a5a626-9a7b-4f6e-beb4-5209918aa05e/comments?parentId=d775c934-27c7-41c0-a046-bb88066a9a97"
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" : "02177e32-0454-4862-82ad-4a2af96d84cf",
"message" : "SIT-generated reply Pesho [2026-07-30T15:43:08.768080191] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-07-30T15:43:08.797011",
"lastModified" : "2026-07-30T15:43:08.797011",
"from" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"commentCount" : 0,
"datasetId" : "e4a5a626-9a7b-4f6e-beb4-5209918aa05e",
"parentId" : "d775c934-27c7-41c0-a046-bb88066a9a97",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/e4a5a626-9a7b-4f6e-beb4-5209918aa05e/comments/02177e32-0454-4862-82ad-4a2af96d84cf",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/02177e32-0454-4862-82ad-4a2af96d84cf",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/02177e32-0454-4862-82ad-4a2af96d84cf"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/02177e32-0454-4862-82ad-4a2af96d84cf/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/02177e32-0454-4862-82ad-4a2af96d84cf",
"type" : "POST"
}
}
}, {
"id" : "da07729e-c851-4546-8659-21f7e455dedc",
"message" : "SIT-generated reply Pesho [2026-07-30T15:43:08.694787122] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-07-30T15:43:08.71997",
"lastModified" : "2026-07-30T15:43:08.71997",
"from" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"commentCount" : 0,
"datasetId" : "e4a5a626-9a7b-4f6e-beb4-5209918aa05e",
"parentId" : "d775c934-27c7-41c0-a046-bb88066a9a97",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/e4a5a626-9a7b-4f6e-beb4-5209918aa05e/comments/da07729e-c851-4546-8659-21f7e455dedc",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/da07729e-c851-4546-8659-21f7e455dedc",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/da07729e-c851-4546-8659-21f7e455dedc"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/da07729e-c851-4546-8659-21f7e455dedc/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/da07729e-c851-4546-8659-21f7e455dedc",
"type" : "POST"
}
}
}, {
"id" : "30fdaca7-125e-4f25-b663-ed5d1bc84b6b",
"message" : "SIT-generated reply Pesho [2026-07-30T15:43:08.620376868] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-07-30T15:43:08.643014",
"lastModified" : "2026-07-30T15:43:08.643014",
"from" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"commentCount" : 0,
"datasetId" : "e4a5a626-9a7b-4f6e-beb4-5209918aa05e",
"parentId" : "d775c934-27c7-41c0-a046-bb88066a9a97",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/e4a5a626-9a7b-4f6e-beb4-5209918aa05e/comments/30fdaca7-125e-4f25-b663-ed5d1bc84b6b",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/30fdaca7-125e-4f25-b663-ed5d1bc84b6b",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/30fdaca7-125e-4f25-b663-ed5d1bc84b6b"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/30fdaca7-125e-4f25-b663-ed5d1bc84b6b/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/30fdaca7-125e-4f25-b663-ed5d1bc84b6b",
"type" : "POST"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/datasets/e4a5a626-9a7b-4f6e-beb4-5209918aa05e/comments?parentId=d775c934-27c7-41c0-a046-bb88066a9a97&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://app.matatika.com:443/api/datasets/e4a5a626-9a7b-4f6e-beb4-5209918aa05e/comments' -i -X POST \
-H 'Accept: application/json, application/javascript, text/javascript, text/json' \
-H 'Content-Type: application/json'
import requests
url = "https://app.matatika.com:443/api/datasets/e4a5a626-9a7b-4f6e-beb4-5209918aa05e/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" : "b8e0c61a-127d-4b57-b9bc-080ba4bdb1bd",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-07-30T15:43:09.800610106",
"lastModified" : "2026-07-30T15:43:09.800610455",
"from" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"commentCount" : 0,
"datasetId" : "e4a5a626-9a7b-4f6e-beb4-5209918aa05e",
"_links" : {
"create comment" : {
"href" : "https://app.matatika.com/api/datasets/e4a5a626-9a7b-4f6e-beb4-5209918aa05e/comments/b8e0c61a-127d-4b57-b9bc-080ba4bdb1bd",
"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://app.matatika.com:443/api/comments/d775c934-27c7-41c0-a046-bb88066a9a97' -i -X POST \
-H 'Accept: application/json, application/javascript, text/javascript, text/json' \
-H 'Content-Type: application/json'
import requests
url = "https://app.matatika.com:443/api/comments/d775c934-27c7-41c0-a046-bb88066a9a97"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("POST", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment with HAL links.
{
"id" : "c75d3e01-1156-4b2c-a437-90d5a465a7dd",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-07-30T15:43:09.555631681",
"lastModified" : "2026-07-30T15:43:09.555631944",
"from" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"commentCount" : 0,
"datasetId" : "e4a5a626-9a7b-4f6e-beb4-5209918aa05e",
"parentId" : "d775c934-27c7-41c0-a046-bb88066a9a97",
"_links" : {
"create comment" : {
"href" : "https://app.matatika.com/api/datasets/e4a5a626-9a7b-4f6e-beb4-5209918aa05e/comments/c75d3e01-1156-4b2c-a437-90d5a465a7dd",
"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-30T15:43:09.432652884] to ",
"datasetId" : "e4a5a626-9a7b-4f6e-beb4-5209918aa05e"
}
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com:443/api/datasets/e4a5a626-9a7b-4f6e-beb4-5209918aa05e/comments/214ad2d5-e18e-4d4b-938d-ae8d4d1cd37f' -i -X PUT \
-H 'Accept: application/json, application/javascript, text/javascript, text/json' \
-H 'Content-Type: application/json' \
-d '{
"message" : "SIT-generated reply Pesho [2026-07-30T15:43:09.432652884] to ",
"datasetId" : "e4a5a626-9a7b-4f6e-beb4-5209918aa05e"
}'
import requests
url = "https://app.matatika.com:443/api/datasets/e4a5a626-9a7b-4f6e-beb4-5209918aa05e/comments/214ad2d5-e18e-4d4b-938d-ae8d4d1cd37f"
data = {
"message" : "SIT-generated reply Pesho [2026-07-30T15:43:09.432652884] to ",
"datasetId" : "e4a5a626-9a7b-4f6e-beb4-5209918aa05e"
}
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" : "214ad2d5-e18e-4d4b-938d-ae8d4d1cd37f",
"message" : "SIT-generated reply Pesho [2026-07-30T15:43:09.432652884] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-07-30T15:43:09.498800197",
"lastModified" : "2026-07-30T15:43:09.498800456",
"from" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"commentCount" : 0,
"datasetId" : "e4a5a626-9a7b-4f6e-beb4-5209918aa05e",
"_links" : {
"edit-history" : {
"href" : "https://app.matatika.com/api/comments/214ad2d5-e18e-4d4b-938d-ae8d4d1cd37f/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/e4a5a626-9a7b-4f6e-beb4-5209918aa05e/comments/214ad2d5-e18e-4d4b-938d-ae8d4d1cd37f",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/214ad2d5-e18e-4d4b-938d-ae8d4d1cd37f",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/214ad2d5-e18e-4d4b-938d-ae8d4d1cd37f"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/214ad2d5-e18e-4d4b-938d-ae8d4d1cd37f/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/214ad2d5-e18e-4d4b-938d-ae8d4d1cd37f",
"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-30T15:43:09.819381200] to "
}
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com:443/api/comments/2747956c-a260-4eba-a977-ae5978a5a01d' -i -X GET \
-H 'Accept: application/json, application/javascript, text/javascript, text/json'
import requests
url = "https://app.matatika.com:443/api/comments/2747956c-a260-4eba-a977-ae5978a5a01d"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment with HAL links.
{
"id" : "2747956c-a260-4eba-a977-ae5978a5a01d",
"message" : "SIT-generated reply Pesho [2026-07-30T15:43:09.916239080] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-07-30T15:43:09.947606",
"lastModified" : "2026-07-30T15:43:09.947607",
"from" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"commentCount" : 0,
"datasetId" : "e4a5a626-9a7b-4f6e-beb4-5209918aa05e",
"_links" : {
"edit-history" : {
"href" : "https://app.matatika.com/api/comments/2747956c-a260-4eba-a977-ae5978a5a01d/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/e4a5a626-9a7b-4f6e-beb4-5209918aa05e/comments/2747956c-a260-4eba-a977-ae5978a5a01d",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/2747956c-a260-4eba-a977-ae5978a5a01d",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/2747956c-a260-4eba-a977-ae5978a5a01d"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/2747956c-a260-4eba-a977-ae5978a5a01d/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/2747956c-a260-4eba-a977-ae5978a5a01d",
"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://app.matatika.com:443/api/comments/d775c934-27c7-41c0-a046-bb88066a9a97/like' -i -X PUT \
-H 'Accept: application/json, application/javascript, text/javascript, text/json' \
-H 'Content-Type: application/json'
import requests
url = "https://app.matatika.com:443/api/comments/d775c934-27c7-41c0-a046-bb88066a9a97/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://app.matatika.com:443/api/comments/d775c934-27c7-41c0-a046-bb88066a9a97/like' -i -X DELETE \
-H 'Accept: application/json, application/javascript, text/javascript, text/json'
import requests
url = "https://app.matatika.com:443/api/comments/d775c934-27c7-41c0-a046-bb88066a9a97/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://app.matatika.com:443/api/comments/ab31bfa9-5b4c-461b-b284-0cbceb9b38ed' -i -X DELETE \
-H 'Accept: application/json, application/javascript, text/javascript, text/json'
import requests
url = "https://app.matatika.com:443/api/comments/ab31bfa9-5b4c-461b-b284-0cbceb9b38ed"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("DELETE", url, headers=headers)
print(response.text.encode('utf8'))
Response
204 No Content
No response body provided.