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" : "d7c57f53-7f09-497a-88a9-cfa7d0542879",
"message" : "SIT-generated reply Pesho [2026-02-06T22:43:37.520493190] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-02-06T22:43:37.552739",
"lastModified" : "2026-02-06T22:43:37.552739",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "040b80db-3425-466b-b8de-eedda37598fb",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/040b80db-3425-466b-b8de-eedda37598fb/comments/d7c57f53-7f09-497a-88a9-cfa7d0542879",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/d7c57f53-7f09-497a-88a9-cfa7d0542879",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/d7c57f53-7f09-497a-88a9-cfa7d0542879"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/d7c57f53-7f09-497a-88a9-cfa7d0542879/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/d7c57f53-7f09-497a-88a9-cfa7d0542879",
"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/040b80db-3425-466b-b8de-eedda37598fb/comments' -i -X GET
Python (requests)
import requests
url = "https://app.matatika.com/api/datasets/040b80db-3425-466b-b8de-eedda37598fb/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" : "7cd3a80f-e2b0-4ff6-b65d-bc43d00e3a6a",
"message" : "SIT-generated reply Pesho [2026-02-06T22:43:36.802903911] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-02-06T22:43:36.830285",
"lastModified" : "2026-02-06T22:43:36.830285",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "040b80db-3425-466b-b8de-eedda37598fb",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/040b80db-3425-466b-b8de-eedda37598fb/comments/7cd3a80f-e2b0-4ff6-b65d-bc43d00e3a6a",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/7cd3a80f-e2b0-4ff6-b65d-bc43d00e3a6a",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/7cd3a80f-e2b0-4ff6-b65d-bc43d00e3a6a"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/7cd3a80f-e2b0-4ff6-b65d-bc43d00e3a6a/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/7cd3a80f-e2b0-4ff6-b65d-bc43d00e3a6a",
"type" : "POST"
}
}
}, {
"id" : "6d27f4c0-7a43-44e5-b7dc-4fbb339b6d18",
"message" : "SIT-generated reply Pesho [2026-02-06T22:43:36.719880244] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-02-06T22:43:36.748449",
"lastModified" : "2026-02-06T22:43:36.748449",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "040b80db-3425-466b-b8de-eedda37598fb",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/040b80db-3425-466b-b8de-eedda37598fb/comments/6d27f4c0-7a43-44e5-b7dc-4fbb339b6d18",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/6d27f4c0-7a43-44e5-b7dc-4fbb339b6d18",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/6d27f4c0-7a43-44e5-b7dc-4fbb339b6d18"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/6d27f4c0-7a43-44e5-b7dc-4fbb339b6d18/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/6d27f4c0-7a43-44e5-b7dc-4fbb339b6d18",
"type" : "POST"
}
}
}, {
"id" : "b413c47d-5af7-427e-94a6-9a4a48ab3e6f",
"message" : "SIT-generated reply Pesho [2026-02-06T22:43:36.639473016] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-02-06T22:43:36.669723",
"lastModified" : "2026-02-06T22:43:36.669724",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "040b80db-3425-466b-b8de-eedda37598fb",
"_links" : {
"edit-history" : {
"href" : "https://app.matatika.com/api/comments/b413c47d-5af7-427e-94a6-9a4a48ab3e6f/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/040b80db-3425-466b-b8de-eedda37598fb/comments/b413c47d-5af7-427e-94a6-9a4a48ab3e6f",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/b413c47d-5af7-427e-94a6-9a4a48ab3e6f",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/b413c47d-5af7-427e-94a6-9a4a48ab3e6f"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/b413c47d-5af7-427e-94a6-9a4a48ab3e6f/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/b413c47d-5af7-427e-94a6-9a4a48ab3e6f",
"type" : "POST"
}
}
}, {
"id" : "b31a86ed-26f2-4241-b6a1-844943ce96b0",
"message" : "SIT-generated reply Pesho [2026-02-06T22:43:35.734303308] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-02-06T22:43:35.763586",
"lastModified" : "2026-02-06T22:43:35.763586",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 3,
"datasetId" : "040b80db-3425-466b-b8de-eedda37598fb",
"_links" : {
"comments" : {
"href" : "https://app.matatika.com/api/datasets/040b80db-3425-466b-b8de-eedda37598fb/comments?parentId=b31a86ed-26f2-4241-b6a1-844943ce96b0",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/040b80db-3425-466b-b8de-eedda37598fb/comments/b31a86ed-26f2-4241-b6a1-844943ce96b0",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/b31a86ed-26f2-4241-b6a1-844943ce96b0",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/b31a86ed-26f2-4241-b6a1-844943ce96b0"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/b31a86ed-26f2-4241-b6a1-844943ce96b0/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/b31a86ed-26f2-4241-b6a1-844943ce96b0",
"type" : "POST"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/datasets/040b80db-3425-466b-b8de-eedda37598fb/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/d7c57f53-7f09-497a-88a9-cfa7d0542879' -i -X GET
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/d7c57f53-7f09-497a-88a9-cfa7d0542879"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment with HAL links.
{
"id" : "d7c57f53-7f09-497a-88a9-cfa7d0542879",
"message" : "SIT-generated reply Pesho [2026-02-06T22:43:37.520493190] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-02-06T22:43:37.552739",
"lastModified" : "2026-02-06T22:43:37.552739",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "040b80db-3425-466b-b8de-eedda37598fb",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/040b80db-3425-466b-b8de-eedda37598fb/comments/d7c57f53-7f09-497a-88a9-cfa7d0542879",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/d7c57f53-7f09-497a-88a9-cfa7d0542879",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/d7c57f53-7f09-497a-88a9-cfa7d0542879"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/d7c57f53-7f09-497a-88a9-cfa7d0542879/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/d7c57f53-7f09-497a-88a9-cfa7d0542879",
"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/d7c57f53-7f09-497a-88a9-cfa7d0542879/history' -i -X GET
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/d7c57f53-7f09-497a-88a9-cfa7d0542879/history"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
[ {
"lastModified" : "2026-02-06T22:43:37.555",
"message" : "SIT-generated reply Pesho [2026-02-06T22:43:37.520493190] to ",
"editVersion" : "642053"
}, {
"lastModified" : "2026-02-06T22:43:37.666",
"message" : "SIT-generated reply Pesho [2026-02-06T22:43:37.631372804] to ",
"editVersion" : "642054"
} ]
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/040b80db-3425-466b-b8de-eedda37598fb/comments?parentId=b31a86ed-26f2-4241-b6a1-844943ce96b0' -i -X GET
Python (requests)
import requests
url = "https://app.matatika.com/api/datasets/040b80db-3425-466b-b8de-eedda37598fb/comments?parentId=b31a86ed-26f2-4241-b6a1-844943ce96b0"
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" : "d74bfa53-1ee3-49bc-be38-088becde11b6",
"message" : "SIT-generated reply Pesho [2026-02-06T22:43:36.195253328] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-02-06T22:43:36.222506",
"lastModified" : "2026-02-06T22:43:36.222506",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "040b80db-3425-466b-b8de-eedda37598fb",
"parentId" : "b31a86ed-26f2-4241-b6a1-844943ce96b0",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/040b80db-3425-466b-b8de-eedda37598fb/comments/d74bfa53-1ee3-49bc-be38-088becde11b6",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/d74bfa53-1ee3-49bc-be38-088becde11b6",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/d74bfa53-1ee3-49bc-be38-088becde11b6"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/d74bfa53-1ee3-49bc-be38-088becde11b6/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/d74bfa53-1ee3-49bc-be38-088becde11b6",
"type" : "POST"
}
}
}, {
"id" : "f9959abd-2668-4e7d-9865-eafd37f66377",
"message" : "SIT-generated reply Pesho [2026-02-06T22:43:36.110127597] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-02-06T22:43:36.137514",
"lastModified" : "2026-02-06T22:43:36.137515",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "040b80db-3425-466b-b8de-eedda37598fb",
"parentId" : "b31a86ed-26f2-4241-b6a1-844943ce96b0",
"_links" : {
"edit-history" : {
"href" : "https://app.matatika.com/api/comments/f9959abd-2668-4e7d-9865-eafd37f66377/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/040b80db-3425-466b-b8de-eedda37598fb/comments/f9959abd-2668-4e7d-9865-eafd37f66377",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/f9959abd-2668-4e7d-9865-eafd37f66377",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/f9959abd-2668-4e7d-9865-eafd37f66377"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/f9959abd-2668-4e7d-9865-eafd37f66377/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/f9959abd-2668-4e7d-9865-eafd37f66377",
"type" : "POST"
}
}
}, {
"id" : "76108cdf-f0c7-4b23-ac67-33d317845a27",
"message" : "SIT-generated reply Pesho [2026-02-06T22:43:36.026882906] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-02-06T22:43:36.052186",
"lastModified" : "2026-02-06T22:43:36.052186",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "040b80db-3425-466b-b8de-eedda37598fb",
"parentId" : "b31a86ed-26f2-4241-b6a1-844943ce96b0",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/040b80db-3425-466b-b8de-eedda37598fb/comments/76108cdf-f0c7-4b23-ac67-33d317845a27",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/76108cdf-f0c7-4b23-ac67-33d317845a27",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/76108cdf-f0c7-4b23-ac67-33d317845a27"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/76108cdf-f0c7-4b23-ac67-33d317845a27/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/76108cdf-f0c7-4b23-ac67-33d317845a27",
"type" : "POST"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/datasets/040b80db-3425-466b-b8de-eedda37598fb/comments?parentId=b31a86ed-26f2-4241-b6a1-844943ce96b0&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/040b80db-3425-466b-b8de-eedda37598fb/comments' -i -X POST \
-H 'Content-Type: application/json'
Python (requests)
import requests
url = "https://app.matatika.com/api/datasets/040b80db-3425-466b-b8de-eedda37598fb/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" : "c1450a4a-8b0d-4e70-a861-64eb3f8f8db4",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-02-06T22:43:37.385656907",
"lastModified" : "2026-02-06T22:43:37.385657207",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "040b80db-3425-466b-b8de-eedda37598fb",
"_links" : {
"create comment" : {
"href" : "https://app.matatika.com/api/datasets/040b80db-3425-466b-b8de-eedda37598fb/comments/c1450a4a-8b0d-4e70-a861-64eb3f8f8db4",
"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/b31a86ed-26f2-4241-b6a1-844943ce96b0' -i -X POST \
-H 'Content-Type: application/json'
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/b31a86ed-26f2-4241-b6a1-844943ce96b0"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("POST", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment with HAL links.
{
"id" : "23d37fd2-eff3-4dbc-ba38-8dde3d34203e",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-02-06T22:43:37.131681205",
"lastModified" : "2026-02-06T22:43:37.131681405",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "040b80db-3425-466b-b8de-eedda37598fb",
"parentId" : "b31a86ed-26f2-4241-b6a1-844943ce96b0",
"_links" : {
"create comment" : {
"href" : "https://app.matatika.com/api/datasets/040b80db-3425-466b-b8de-eedda37598fb/comments/23d37fd2-eff3-4dbc-ba38-8dde3d34203e",
"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-02-06T22:43:36.936421707] to ",
"datasetId" : "040b80db-3425-466b-b8de-eedda37598fb"
}
Example Snippets
cURL
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/datasets/040b80db-3425-466b-b8de-eedda37598fb/comments/82150472-f964-49ae-b0dc-9608ecba1f26' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"message" : "SIT-generated reply Pesho [2026-02-06T22:43:36.936421707] to ",
"datasetId" : "040b80db-3425-466b-b8de-eedda37598fb"
}'
Python (requests)
import requests
url = "https://app.matatika.com/api/datasets/040b80db-3425-466b-b8de-eedda37598fb/comments/82150472-f964-49ae-b0dc-9608ecba1f26"
data = {
"message" : "SIT-generated reply Pesho [2026-02-06T22:43:36.936421707] to ",
"datasetId" : "040b80db-3425-466b-b8de-eedda37598fb"
}
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" : "82150472-f964-49ae-b0dc-9608ecba1f26",
"message" : "SIT-generated reply Pesho [2026-02-06T22:43:36.936421707] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-02-06T22:43:37.060671752",
"lastModified" : "2026-02-06T22:43:37.060671952",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "040b80db-3425-466b-b8de-eedda37598fb",
"_links" : {
"edit-history" : {
"href" : "https://app.matatika.com/api/comments/82150472-f964-49ae-b0dc-9608ecba1f26/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/040b80db-3425-466b-b8de-eedda37598fb/comments/82150472-f964-49ae-b0dc-9608ecba1f26",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/82150472-f964-49ae-b0dc-9608ecba1f26",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/82150472-f964-49ae-b0dc-9608ecba1f26"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/82150472-f964-49ae-b0dc-9608ecba1f26/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/82150472-f964-49ae-b0dc-9608ecba1f26",
"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-02-06T22:43:37.408625479] to "
}
Example Snippets
cURL
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/comments/d7c57f53-7f09-497a-88a9-cfa7d0542879' -i -X GET
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/d7c57f53-7f09-497a-88a9-cfa7d0542879"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment with HAL links.
{
"id" : "d7c57f53-7f09-497a-88a9-cfa7d0542879",
"message" : "SIT-generated reply Pesho [2026-02-06T22:43:37.520493190] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-02-06T22:43:37.552739",
"lastModified" : "2026-02-06T22:43:37.552739",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "040b80db-3425-466b-b8de-eedda37598fb",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/040b80db-3425-466b-b8de-eedda37598fb/comments/d7c57f53-7f09-497a-88a9-cfa7d0542879",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/d7c57f53-7f09-497a-88a9-cfa7d0542879",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/d7c57f53-7f09-497a-88a9-cfa7d0542879"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/d7c57f53-7f09-497a-88a9-cfa7d0542879/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/d7c57f53-7f09-497a-88a9-cfa7d0542879",
"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/b31a86ed-26f2-4241-b6a1-844943ce96b0/like' -i -X PUT \
-H 'Content-Type: application/json'
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/b31a86ed-26f2-4241-b6a1-844943ce96b0/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/b31a86ed-26f2-4241-b6a1-844943ce96b0/like' -i -X DELETE
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/b31a86ed-26f2-4241-b6a1-844943ce96b0/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/b83fc21f-2153-4ae1-9272-13311f6a3757' -i -X DELETE
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/b83fc21f-2153-4ae1-9272-13311f6a3757"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("DELETE", url, headers=headers)
print(response.text.encode('utf8'))
Response
204 No Content
No response body provided.