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" : "db64399d-0862-4d9b-ab11-d11b91ed620c",
"message" : "SIT-generated reply Pesho [2026-01-25T08:27:58.528347989] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-01-25T08:27:58.55881",
"lastModified" : "2026-01-25T08:27:58.55881",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "10ad96bb-06c3-4d2d-a989-2fd972c5e836",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/10ad96bb-06c3-4d2d-a989-2fd972c5e836/comments/db64399d-0862-4d9b-ab11-d11b91ed620c",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/db64399d-0862-4d9b-ab11-d11b91ed620c",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/db64399d-0862-4d9b-ab11-d11b91ed620c"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/db64399d-0862-4d9b-ab11-d11b91ed620c/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/db64399d-0862-4d9b-ab11-d11b91ed620c",
"type" : "POST"
}
}
}
Requests
- View all comments on a dataset
- View a comment
- View the edit history of a comment
- View all replies to a comment
- Initialise a comment on a dataset
- Initialise a reply to a comment
- Create a comment
- Update a comment
- Record a like of a comment
- Remove a like from a comment
- Delete a comment
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
Request
Example Snippets
cURL
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/datasets/10ad96bb-06c3-4d2d-a989-2fd972c5e836/comments' -i -X GET
Python (requests)
import requests
url = "https://app.matatika.com/api/datasets/10ad96bb-06c3-4d2d-a989-2fd972c5e836/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" : "8f4d87a4-d458-4a06-b06d-2b6997d74a46",
"message" : "SIT-generated reply Pesho [2026-01-25T08:27:57.863901144] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-01-25T08:27:57.891992",
"lastModified" : "2026-01-25T08:27:57.891992",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "10ad96bb-06c3-4d2d-a989-2fd972c5e836",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/10ad96bb-06c3-4d2d-a989-2fd972c5e836/comments/8f4d87a4-d458-4a06-b06d-2b6997d74a46",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/8f4d87a4-d458-4a06-b06d-2b6997d74a46",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/8f4d87a4-d458-4a06-b06d-2b6997d74a46"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/8f4d87a4-d458-4a06-b06d-2b6997d74a46/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/8f4d87a4-d458-4a06-b06d-2b6997d74a46",
"type" : "POST"
}
}
}, {
"id" : "d8e5fafe-24b6-43ad-ab47-947a5378db7f",
"message" : "SIT-generated reply Pesho [2026-01-25T08:27:57.781644270] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-01-25T08:27:57.809626",
"lastModified" : "2026-01-25T08:27:57.809626",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "10ad96bb-06c3-4d2d-a989-2fd972c5e836",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/10ad96bb-06c3-4d2d-a989-2fd972c5e836/comments/d8e5fafe-24b6-43ad-ab47-947a5378db7f",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/d8e5fafe-24b6-43ad-ab47-947a5378db7f",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/d8e5fafe-24b6-43ad-ab47-947a5378db7f"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/d8e5fafe-24b6-43ad-ab47-947a5378db7f/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/d8e5fafe-24b6-43ad-ab47-947a5378db7f",
"type" : "POST"
}
}
}, {
"id" : "84af82bd-45ed-4651-b37f-3d493f56407b",
"message" : "SIT-generated reply Pesho [2026-01-25T08:27:57.696474857] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-01-25T08:27:57.725173",
"lastModified" : "2026-01-25T08:27:57.725173",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "10ad96bb-06c3-4d2d-a989-2fd972c5e836",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/10ad96bb-06c3-4d2d-a989-2fd972c5e836/comments/84af82bd-45ed-4651-b37f-3d493f56407b",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/84af82bd-45ed-4651-b37f-3d493f56407b",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/84af82bd-45ed-4651-b37f-3d493f56407b"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/84af82bd-45ed-4651-b37f-3d493f56407b/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/84af82bd-45ed-4651-b37f-3d493f56407b",
"type" : "POST"
}
}
}, {
"id" : "335e6753-e00b-4237-beff-cbda74892b3f",
"message" : "SIT-generated reply Pesho [2026-01-25T08:27:56.662037576] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-01-25T08:27:56.695694",
"lastModified" : "2026-01-25T08:27:56.695695",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 3,
"datasetId" : "10ad96bb-06c3-4d2d-a989-2fd972c5e836",
"_links" : {
"comments" : {
"href" : "https://app.matatika.com/api/datasets/10ad96bb-06c3-4d2d-a989-2fd972c5e836/comments?parentId=335e6753-e00b-4237-beff-cbda74892b3f",
"type" : "GET"
},
"edit-history" : {
"href" : "https://app.matatika.com/api/comments/335e6753-e00b-4237-beff-cbda74892b3f/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/10ad96bb-06c3-4d2d-a989-2fd972c5e836/comments/335e6753-e00b-4237-beff-cbda74892b3f",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/335e6753-e00b-4237-beff-cbda74892b3f",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/335e6753-e00b-4237-beff-cbda74892b3f"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/335e6753-e00b-4237-beff-cbda74892b3f/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/335e6753-e00b-4237-beff-cbda74892b3f",
"type" : "POST"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/datasets/10ad96bb-06c3-4d2d-a989-2fd972c5e836/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
Request
Example Snippets
cURL
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/comments/db64399d-0862-4d9b-ab11-d11b91ed620c' -i -X GET
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/db64399d-0862-4d9b-ab11-d11b91ed620c"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment with HAL links.
{
"id" : "db64399d-0862-4d9b-ab11-d11b91ed620c",
"message" : "SIT-generated reply Pesho [2026-01-25T08:27:58.528347989] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-01-25T08:27:58.55881",
"lastModified" : "2026-01-25T08:27:58.55881",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "10ad96bb-06c3-4d2d-a989-2fd972c5e836",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/10ad96bb-06c3-4d2d-a989-2fd972c5e836/comments/db64399d-0862-4d9b-ab11-d11b91ed620c",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/db64399d-0862-4d9b-ab11-d11b91ed620c",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/db64399d-0862-4d9b-ab11-d11b91ed620c"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/db64399d-0862-4d9b-ab11-d11b91ed620c/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/db64399d-0862-4d9b-ab11-d11b91ed620c",
"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
Request
Example Snippets
cURL
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/comments/db64399d-0862-4d9b-ab11-d11b91ed620c/history' -i -X GET
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/db64399d-0862-4d9b-ab11-d11b91ed620c/history"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
[ {
"lastModified" : "2026-01-25T08:27:58.563",
"message" : "SIT-generated reply Pesho [2026-01-25T08:27:58.528347989] to ",
"editVersion" : "609932"
}, {
"lastModified" : "2026-01-25T08:27:58.675",
"message" : "SIT-generated reply Pesho [2026-01-25T08:27:58.641524162] to ",
"editVersion" : "609933"
} ]
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
Request
Example Snippets
cURL
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/datasets/10ad96bb-06c3-4d2d-a989-2fd972c5e836/comments?parentId=335e6753-e00b-4237-beff-cbda74892b3f' -i -X GET
Python (requests)
import requests
url = "https://app.matatika.com/api/datasets/10ad96bb-06c3-4d2d-a989-2fd972c5e836/comments?parentId=335e6753-e00b-4237-beff-cbda74892b3f"
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" : "edfcfeb8-6cda-4a47-bc99-abfd176658ba",
"message" : "SIT-generated reply Pesho [2026-01-25T08:27:57.236026478] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-01-25T08:27:57.266481",
"lastModified" : "2026-01-25T08:27:57.266482",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "10ad96bb-06c3-4d2d-a989-2fd972c5e836",
"parentId" : "335e6753-e00b-4237-beff-cbda74892b3f",
"_links" : {
"edit-history" : {
"href" : "https://app.matatika.com/api/comments/edfcfeb8-6cda-4a47-bc99-abfd176658ba/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/10ad96bb-06c3-4d2d-a989-2fd972c5e836/comments/edfcfeb8-6cda-4a47-bc99-abfd176658ba",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/edfcfeb8-6cda-4a47-bc99-abfd176658ba",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/edfcfeb8-6cda-4a47-bc99-abfd176658ba"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/edfcfeb8-6cda-4a47-bc99-abfd176658ba/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/edfcfeb8-6cda-4a47-bc99-abfd176658ba",
"type" : "POST"
}
}
}, {
"id" : "d4da34a4-e214-4301-85bc-4b9c7091a8f4",
"message" : "SIT-generated reply Pesho [2026-01-25T08:27:57.147218424] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-01-25T08:27:57.175797",
"lastModified" : "2026-01-25T08:27:57.175797",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "10ad96bb-06c3-4d2d-a989-2fd972c5e836",
"parentId" : "335e6753-e00b-4237-beff-cbda74892b3f",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/10ad96bb-06c3-4d2d-a989-2fd972c5e836/comments/d4da34a4-e214-4301-85bc-4b9c7091a8f4",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/d4da34a4-e214-4301-85bc-4b9c7091a8f4",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/d4da34a4-e214-4301-85bc-4b9c7091a8f4"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/d4da34a4-e214-4301-85bc-4b9c7091a8f4/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/d4da34a4-e214-4301-85bc-4b9c7091a8f4",
"type" : "POST"
}
}
}, {
"id" : "9adaf6ec-2aa9-4f19-a362-5142eca51413",
"message" : "SIT-generated reply Pesho [2026-01-25T08:27:57.052037767] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-01-25T08:27:57.084569",
"lastModified" : "2026-01-25T08:27:57.08457",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "10ad96bb-06c3-4d2d-a989-2fd972c5e836",
"parentId" : "335e6753-e00b-4237-beff-cbda74892b3f",
"_links" : {
"edit-history" : {
"href" : "https://app.matatika.com/api/comments/9adaf6ec-2aa9-4f19-a362-5142eca51413/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/10ad96bb-06c3-4d2d-a989-2fd972c5e836/comments/9adaf6ec-2aa9-4f19-a362-5142eca51413",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/9adaf6ec-2aa9-4f19-a362-5142eca51413",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/9adaf6ec-2aa9-4f19-a362-5142eca51413"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/9adaf6ec-2aa9-4f19-a362-5142eca51413/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/9adaf6ec-2aa9-4f19-a362-5142eca51413",
"type" : "POST"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/datasets/10ad96bb-06c3-4d2d-a989-2fd972c5e836/comments?parentId=335e6753-e00b-4237-beff-cbda74892b3f&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
Request
Example Snippets
cURL
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/datasets/10ad96bb-06c3-4d2d-a989-2fd972c5e836/comments' -i -X POST \
-H 'Content-Type: application/json'
Python (requests)
import requests
url = "https://app.matatika.com/api/datasets/10ad96bb-06c3-4d2d-a989-2fd972c5e836/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" : "56d13d62-c402-44dd-9b8a-7e90826a71d1",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-01-25T08:27:58.376762616",
"lastModified" : "2026-01-25T08:27:58.376763016",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "10ad96bb-06c3-4d2d-a989-2fd972c5e836",
"_links" : {
"create comment" : {
"href" : "https://app.matatika.com/api/datasets/10ad96bb-06c3-4d2d-a989-2fd972c5e836/comments/56d13d62-c402-44dd-9b8a-7e90826a71d1",
"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
Request
Example Snippets
cURL
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/comments/335e6753-e00b-4237-beff-cbda74892b3f' -i -X POST \
-H 'Content-Type: application/json'
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/335e6753-e00b-4237-beff-cbda74892b3f"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("POST", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment with HAL links.
{
"id" : "13475297-2c2f-4acf-a636-b0733e16a5c2",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-01-25T08:27:58.106062903",
"lastModified" : "2026-01-25T08:27:58.106063203",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "10ad96bb-06c3-4d2d-a989-2fd972c5e836",
"parentId" : "335e6753-e00b-4237-beff-cbda74892b3f",
"_links" : {
"create comment" : {
"href" : "https://app.matatika.com/api/datasets/10ad96bb-06c3-4d2d-a989-2fd972c5e836/comments/13475297-2c2f-4acf-a636-b0733e16a5c2",
"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
Request
Body
Comment resource.
{
"message" : "SIT-generated reply Pesho [2026-01-25T08:27:57.957845627] to ",
"datasetId" : "10ad96bb-06c3-4d2d-a989-2fd972c5e836"
}
Example Snippets
cURL
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/datasets/10ad96bb-06c3-4d2d-a989-2fd972c5e836/comments/4853abb4-5d70-45ea-bb02-d7359877fa07' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"message" : "SIT-generated reply Pesho [2026-01-25T08:27:57.957845627] to ",
"datasetId" : "10ad96bb-06c3-4d2d-a989-2fd972c5e836"
}'
Python (requests)
import requests
url = "https://app.matatika.com/api/datasets/10ad96bb-06c3-4d2d-a989-2fd972c5e836/comments/4853abb4-5d70-45ea-bb02-d7359877fa07"
data = {
"message" : "SIT-generated reply Pesho [2026-01-25T08:27:57.957845627] to ",
"datasetId" : "10ad96bb-06c3-4d2d-a989-2fd972c5e836"
}
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" : "4853abb4-5d70-45ea-bb02-d7359877fa07",
"message" : "SIT-generated reply Pesho [2026-01-25T08:27:57.957845627] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-01-25T08:27:58.036139666",
"lastModified" : "2026-01-25T08:27:58.036139866",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "10ad96bb-06c3-4d2d-a989-2fd972c5e836",
"_links" : {
"edit-history" : {
"href" : "https://app.matatika.com/api/comments/4853abb4-5d70-45ea-bb02-d7359877fa07/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/10ad96bb-06c3-4d2d-a989-2fd972c5e836/comments/4853abb4-5d70-45ea-bb02-d7359877fa07",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/4853abb4-5d70-45ea-bb02-d7359877fa07",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/4853abb4-5d70-45ea-bb02-d7359877fa07"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/4853abb4-5d70-45ea-bb02-d7359877fa07/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/4853abb4-5d70-45ea-bb02-d7359877fa07",
"type" : "POST"
}
}
}
Update a comment
PUT
/api/comments/{comment-id}
Updates the comment {comment-id}.
Prerequisites
- Comment
{comment-id}must exist
Request
Body
Comment resource.
{
"message" : "SIT-generated reply Pesho [2026-01-25T08:27:58.411553991] to "
}
Example Snippets
cURL
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/comments/db64399d-0862-4d9b-ab11-d11b91ed620c' -i -X GET
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/db64399d-0862-4d9b-ab11-d11b91ed620c"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment with HAL links.
{
"id" : "db64399d-0862-4d9b-ab11-d11b91ed620c",
"message" : "SIT-generated reply Pesho [2026-01-25T08:27:58.528347989] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-01-25T08:27:58.55881",
"lastModified" : "2026-01-25T08:27:58.55881",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "10ad96bb-06c3-4d2d-a989-2fd972c5e836",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/10ad96bb-06c3-4d2d-a989-2fd972c5e836/comments/db64399d-0862-4d9b-ab11-d11b91ed620c",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/db64399d-0862-4d9b-ab11-d11b91ed620c",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/db64399d-0862-4d9b-ab11-d11b91ed620c"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/db64399d-0862-4d9b-ab11-d11b91ed620c/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/db64399d-0862-4d9b-ab11-d11b91ed620c",
"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
Request
Example Snippets
cURL
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/comments/335e6753-e00b-4237-beff-cbda74892b3f/like' -i -X PUT \
-H 'Content-Type: application/json'
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/335e6753-e00b-4237-beff-cbda74892b3f/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
Request
Example Snippets
cURL
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/comments/335e6753-e00b-4237-beff-cbda74892b3f/like' -i -X DELETE
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/335e6753-e00b-4237-beff-cbda74892b3f/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
Request
Example Snippets
cURL
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/comments/8a833092-a823-48a9-9f75-c6788327e80d' -i -X DELETE
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/8a833092-a823-48a9-9f75-c6788327e80d"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("DELETE", url, headers=headers)
print(response.text.encode('utf8'))
Response
204 No Content
No response body provided.