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" : "44e7e7d6-4327-4260-8f33-4cca3fb9238c",
"message" : "SIT-generated reply Pesho [2025-12-19T10:02:19.767952945] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2025-12-19T10:02:19.802993",
"lastModified" : "2025-12-19T10:02:19.802993",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "023fb36f-3942-4f67-9d88-5d783f9553c9",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/023fb36f-3942-4f67-9d88-5d783f9553c9/comments/44e7e7d6-4327-4260-8f33-4cca3fb9238c",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/44e7e7d6-4327-4260-8f33-4cca3fb9238c",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/44e7e7d6-4327-4260-8f33-4cca3fb9238c"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/44e7e7d6-4327-4260-8f33-4cca3fb9238c/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/44e7e7d6-4327-4260-8f33-4cca3fb9238c",
"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/023fb36f-3942-4f67-9d88-5d783f9553c9/comments' -i -X GET
Python (requests)
import requests
url = "https://app.matatika.com/api/datasets/023fb36f-3942-4f67-9d88-5d783f9553c9/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" : "a85aff22-eeb9-400c-b73f-a217ed458a06",
"message" : "SIT-generated reply Pesho [2025-12-19T10:02:19.083174367] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2025-12-19T10:02:19.11534",
"lastModified" : "2025-12-19T10:02:19.11534",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "023fb36f-3942-4f67-9d88-5d783f9553c9",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/023fb36f-3942-4f67-9d88-5d783f9553c9/comments/a85aff22-eeb9-400c-b73f-a217ed458a06",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/a85aff22-eeb9-400c-b73f-a217ed458a06",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/a85aff22-eeb9-400c-b73f-a217ed458a06"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/a85aff22-eeb9-400c-b73f-a217ed458a06/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/a85aff22-eeb9-400c-b73f-a217ed458a06",
"type" : "POST"
}
}
}, {
"id" : "ba03e12f-0300-4ef4-986a-cd7a9e9eede3",
"message" : "SIT-generated reply Pesho [2025-12-19T10:02:18.988129663] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2025-12-19T10:02:19.017499",
"lastModified" : "2025-12-19T10:02:19.0175",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "023fb36f-3942-4f67-9d88-5d783f9553c9",
"_links" : {
"edit-history" : {
"href" : "https://app.matatika.com/api/comments/ba03e12f-0300-4ef4-986a-cd7a9e9eede3/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/023fb36f-3942-4f67-9d88-5d783f9553c9/comments/ba03e12f-0300-4ef4-986a-cd7a9e9eede3",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/ba03e12f-0300-4ef4-986a-cd7a9e9eede3",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/ba03e12f-0300-4ef4-986a-cd7a9e9eede3"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/ba03e12f-0300-4ef4-986a-cd7a9e9eede3/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/ba03e12f-0300-4ef4-986a-cd7a9e9eede3",
"type" : "POST"
}
}
}, {
"id" : "b80c17ab-8f09-473f-adf8-46acaa2f97bf",
"message" : "SIT-generated reply Pesho [2025-12-19T10:02:18.892111109] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2025-12-19T10:02:18.924256",
"lastModified" : "2025-12-19T10:02:18.924257",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "023fb36f-3942-4f67-9d88-5d783f9553c9",
"_links" : {
"edit-history" : {
"href" : "https://app.matatika.com/api/comments/b80c17ab-8f09-473f-adf8-46acaa2f97bf/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/023fb36f-3942-4f67-9d88-5d783f9553c9/comments/b80c17ab-8f09-473f-adf8-46acaa2f97bf",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/b80c17ab-8f09-473f-adf8-46acaa2f97bf",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/b80c17ab-8f09-473f-adf8-46acaa2f97bf"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/b80c17ab-8f09-473f-adf8-46acaa2f97bf/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/b80c17ab-8f09-473f-adf8-46acaa2f97bf",
"type" : "POST"
}
}
}, {
"id" : "61a9261a-80a0-4ef8-b579-04d02df79791",
"message" : "SIT-generated reply Pesho [2025-12-19T10:02:17.708105744] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2025-12-19T10:02:17.737466",
"lastModified" : "2025-12-19T10:02:17.737466",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 3,
"datasetId" : "023fb36f-3942-4f67-9d88-5d783f9553c9",
"_links" : {
"comments" : {
"href" : "https://app.matatika.com/api/datasets/023fb36f-3942-4f67-9d88-5d783f9553c9/comments?parentId=61a9261a-80a0-4ef8-b579-04d02df79791",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/023fb36f-3942-4f67-9d88-5d783f9553c9/comments/61a9261a-80a0-4ef8-b579-04d02df79791",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/61a9261a-80a0-4ef8-b579-04d02df79791",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/61a9261a-80a0-4ef8-b579-04d02df79791"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/61a9261a-80a0-4ef8-b579-04d02df79791/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/61a9261a-80a0-4ef8-b579-04d02df79791",
"type" : "POST"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/datasets/023fb36f-3942-4f67-9d88-5d783f9553c9/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/44e7e7d6-4327-4260-8f33-4cca3fb9238c' -i -X GET
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/44e7e7d6-4327-4260-8f33-4cca3fb9238c"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment with HAL links.
{
"id" : "44e7e7d6-4327-4260-8f33-4cca3fb9238c",
"message" : "SIT-generated reply Pesho [2025-12-19T10:02:19.767952945] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2025-12-19T10:02:19.802993",
"lastModified" : "2025-12-19T10:02:19.802993",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "023fb36f-3942-4f67-9d88-5d783f9553c9",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/023fb36f-3942-4f67-9d88-5d783f9553c9/comments/44e7e7d6-4327-4260-8f33-4cca3fb9238c",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/44e7e7d6-4327-4260-8f33-4cca3fb9238c",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/44e7e7d6-4327-4260-8f33-4cca3fb9238c"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/44e7e7d6-4327-4260-8f33-4cca3fb9238c/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/44e7e7d6-4327-4260-8f33-4cca3fb9238c",
"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/44e7e7d6-4327-4260-8f33-4cca3fb9238c/history' -i -X GET
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/44e7e7d6-4327-4260-8f33-4cca3fb9238c/history"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
[ {
"lastModified" : "2025-12-19T10:02:19.807",
"message" : "SIT-generated reply Pesho [2025-12-19T10:02:19.767952945] to ",
"editVersion" : "521504"
}, {
"lastModified" : "2025-12-19T10:02:19.947",
"message" : "SIT-generated reply Pesho [2025-12-19T10:02:19.909529329] to ",
"editVersion" : "521505"
} ]
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/023fb36f-3942-4f67-9d88-5d783f9553c9/comments?parentId=61a9261a-80a0-4ef8-b579-04d02df79791' -i -X GET
Python (requests)
import requests
url = "https://app.matatika.com/api/datasets/023fb36f-3942-4f67-9d88-5d783f9553c9/comments?parentId=61a9261a-80a0-4ef8-b579-04d02df79791"
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" : "397c4169-f4b3-429d-ae19-5a206453cca3",
"message" : "SIT-generated reply Pesho [2025-12-19T10:02:18.290231426] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2025-12-19T10:02:18.325697",
"lastModified" : "2025-12-19T10:02:18.325697",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "023fb36f-3942-4f67-9d88-5d783f9553c9",
"parentId" : "61a9261a-80a0-4ef8-b579-04d02df79791",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/023fb36f-3942-4f67-9d88-5d783f9553c9/comments/397c4169-f4b3-429d-ae19-5a206453cca3",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/397c4169-f4b3-429d-ae19-5a206453cca3",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/397c4169-f4b3-429d-ae19-5a206453cca3"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/397c4169-f4b3-429d-ae19-5a206453cca3/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/397c4169-f4b3-429d-ae19-5a206453cca3",
"type" : "POST"
}
}
}, {
"id" : "da43b9da-c971-4801-9107-3d9dc42ff203",
"message" : "SIT-generated reply Pesho [2025-12-19T10:02:18.200095356] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2025-12-19T10:02:18.233524",
"lastModified" : "2025-12-19T10:02:18.233524",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "023fb36f-3942-4f67-9d88-5d783f9553c9",
"parentId" : "61a9261a-80a0-4ef8-b579-04d02df79791",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/023fb36f-3942-4f67-9d88-5d783f9553c9/comments/da43b9da-c971-4801-9107-3d9dc42ff203",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/da43b9da-c971-4801-9107-3d9dc42ff203",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/da43b9da-c971-4801-9107-3d9dc42ff203"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/da43b9da-c971-4801-9107-3d9dc42ff203/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/da43b9da-c971-4801-9107-3d9dc42ff203",
"type" : "POST"
}
}
}, {
"id" : "847cc68c-589d-47b0-99cf-ef89eff46117",
"message" : "SIT-generated reply Pesho [2025-12-19T10:02:18.108825967] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2025-12-19T10:02:18.139901",
"lastModified" : "2025-12-19T10:02:18.139902",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "023fb36f-3942-4f67-9d88-5d783f9553c9",
"parentId" : "61a9261a-80a0-4ef8-b579-04d02df79791",
"_links" : {
"edit-history" : {
"href" : "https://app.matatika.com/api/comments/847cc68c-589d-47b0-99cf-ef89eff46117/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/023fb36f-3942-4f67-9d88-5d783f9553c9/comments/847cc68c-589d-47b0-99cf-ef89eff46117",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/847cc68c-589d-47b0-99cf-ef89eff46117",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/847cc68c-589d-47b0-99cf-ef89eff46117"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/847cc68c-589d-47b0-99cf-ef89eff46117/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/847cc68c-589d-47b0-99cf-ef89eff46117",
"type" : "POST"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/datasets/023fb36f-3942-4f67-9d88-5d783f9553c9/comments?parentId=61a9261a-80a0-4ef8-b579-04d02df79791&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/023fb36f-3942-4f67-9d88-5d783f9553c9/comments' -i -X POST \
-H 'Content-Type: application/json'
Python (requests)
import requests
url = "https://app.matatika.com/api/datasets/023fb36f-3942-4f67-9d88-5d783f9553c9/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" : "59bf60bb-98e5-4c16-9f04-794cb7da598f",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2025-12-19T10:02:19.619895228",
"lastModified" : "2025-12-19T10:02:19.619895428",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "023fb36f-3942-4f67-9d88-5d783f9553c9",
"_links" : {
"create comment" : {
"href" : "https://app.matatika.com/api/datasets/023fb36f-3942-4f67-9d88-5d783f9553c9/comments/59bf60bb-98e5-4c16-9f04-794cb7da598f",
"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/61a9261a-80a0-4ef8-b579-04d02df79791' -i -X POST \
-H 'Content-Type: application/json'
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/61a9261a-80a0-4ef8-b579-04d02df79791"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("POST", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment with HAL links.
{
"id" : "9795fac3-87fc-46b0-a58f-2c6f053e1c74",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2025-12-19T10:02:19.344608006",
"lastModified" : "2025-12-19T10:02:19.344608206",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "023fb36f-3942-4f67-9d88-5d783f9553c9",
"parentId" : "61a9261a-80a0-4ef8-b579-04d02df79791",
"_links" : {
"create comment" : {
"href" : "https://app.matatika.com/api/datasets/023fb36f-3942-4f67-9d88-5d783f9553c9/comments/9795fac3-87fc-46b0-a58f-2c6f053e1c74",
"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 [2025-12-19T10:02:19.194091677] to ",
"datasetId" : "023fb36f-3942-4f67-9d88-5d783f9553c9"
}
Example Snippets
cURL
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/datasets/023fb36f-3942-4f67-9d88-5d783f9553c9/comments/21e813ab-6055-4943-84de-4fbf24863ac2' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"message" : "SIT-generated reply Pesho [2025-12-19T10:02:19.194091677] to ",
"datasetId" : "023fb36f-3942-4f67-9d88-5d783f9553c9"
}'
Python (requests)
import requests
url = "https://app.matatika.com/api/datasets/023fb36f-3942-4f67-9d88-5d783f9553c9/comments/21e813ab-6055-4943-84de-4fbf24863ac2"
data = {
"message" : "SIT-generated reply Pesho [2025-12-19T10:02:19.194091677] to ",
"datasetId" : "023fb36f-3942-4f67-9d88-5d783f9553c9"
}
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" : "21e813ab-6055-4943-84de-4fbf24863ac2",
"message" : "SIT-generated reply Pesho [2025-12-19T10:02:19.194091677] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2025-12-19T10:02:19.277232598",
"lastModified" : "2025-12-19T10:02:19.277232898",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "023fb36f-3942-4f67-9d88-5d783f9553c9",
"_links" : {
"edit-history" : {
"href" : "https://app.matatika.com/api/comments/21e813ab-6055-4943-84de-4fbf24863ac2/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/023fb36f-3942-4f67-9d88-5d783f9553c9/comments/21e813ab-6055-4943-84de-4fbf24863ac2",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/21e813ab-6055-4943-84de-4fbf24863ac2",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/21e813ab-6055-4943-84de-4fbf24863ac2"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/21e813ab-6055-4943-84de-4fbf24863ac2/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/21e813ab-6055-4943-84de-4fbf24863ac2",
"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 [2025-12-19T10:02:19.642273625] to "
}
Example Snippets
cURL
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/comments/44e7e7d6-4327-4260-8f33-4cca3fb9238c' -i -X GET
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/44e7e7d6-4327-4260-8f33-4cca3fb9238c"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment with HAL links.
{
"id" : "44e7e7d6-4327-4260-8f33-4cca3fb9238c",
"message" : "SIT-generated reply Pesho [2025-12-19T10:02:19.767952945] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2025-12-19T10:02:19.802993",
"lastModified" : "2025-12-19T10:02:19.802993",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "023fb36f-3942-4f67-9d88-5d783f9553c9",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/023fb36f-3942-4f67-9d88-5d783f9553c9/comments/44e7e7d6-4327-4260-8f33-4cca3fb9238c",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/44e7e7d6-4327-4260-8f33-4cca3fb9238c",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/44e7e7d6-4327-4260-8f33-4cca3fb9238c"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/44e7e7d6-4327-4260-8f33-4cca3fb9238c/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/44e7e7d6-4327-4260-8f33-4cca3fb9238c",
"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/61a9261a-80a0-4ef8-b579-04d02df79791/like' -i -X PUT \
-H 'Content-Type: application/json'
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/61a9261a-80a0-4ef8-b579-04d02df79791/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/61a9261a-80a0-4ef8-b579-04d02df79791/like' -i -X DELETE
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/61a9261a-80a0-4ef8-b579-04d02df79791/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/7c95b1b3-6ce0-4cc8-b172-03989754dcbc' -i -X DELETE
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/7c95b1b3-6ce0-4cc8-b172-03989754dcbc"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("DELETE", url, headers=headers)
print(response.text.encode('utf8'))
Response
204 No Content
No response body provided.