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" : "caf0b47a-0fc1-4e69-8af8-d0bff70a263f",
"message" : "SIT-generated reply Pesho [2026-01-08T17:17:57.790948674] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-01-08T17:17:57.830155",
"lastModified" : "2026-01-08T17:17:57.830155",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "61c8a5a0-d593-4405-bc07-44f7f4b00584",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/61c8a5a0-d593-4405-bc07-44f7f4b00584/comments/caf0b47a-0fc1-4e69-8af8-d0bff70a263f",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/caf0b47a-0fc1-4e69-8af8-d0bff70a263f",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/caf0b47a-0fc1-4e69-8af8-d0bff70a263f"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/caf0b47a-0fc1-4e69-8af8-d0bff70a263f/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/caf0b47a-0fc1-4e69-8af8-d0bff70a263f",
"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/61c8a5a0-d593-4405-bc07-44f7f4b00584/comments' -i -X GET
Python (requests)
import requests
url = "https://app.matatika.com/api/datasets/61c8a5a0-d593-4405-bc07-44f7f4b00584/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" : "18e04fc4-1c00-4525-af32-f4858bc43055",
"message" : "SIT-generated reply Pesho [2026-01-08T17:17:56.926715775] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-01-08T17:17:56.96594",
"lastModified" : "2026-01-08T17:17:56.965941",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "61c8a5a0-d593-4405-bc07-44f7f4b00584",
"_links" : {
"edit-history" : {
"href" : "https://app.matatika.com/api/comments/18e04fc4-1c00-4525-af32-f4858bc43055/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/61c8a5a0-d593-4405-bc07-44f7f4b00584/comments/18e04fc4-1c00-4525-af32-f4858bc43055",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/18e04fc4-1c00-4525-af32-f4858bc43055",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/18e04fc4-1c00-4525-af32-f4858bc43055"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/18e04fc4-1c00-4525-af32-f4858bc43055/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/18e04fc4-1c00-4525-af32-f4858bc43055",
"type" : "POST"
}
}
}, {
"id" : "24849907-7845-4e63-8bb5-53c7525731a4",
"message" : "SIT-generated reply Pesho [2026-01-08T17:17:56.811937030] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-01-08T17:17:56.853806",
"lastModified" : "2026-01-08T17:17:56.853806",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "61c8a5a0-d593-4405-bc07-44f7f4b00584",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/61c8a5a0-d593-4405-bc07-44f7f4b00584/comments/24849907-7845-4e63-8bb5-53c7525731a4",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/24849907-7845-4e63-8bb5-53c7525731a4",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/24849907-7845-4e63-8bb5-53c7525731a4"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/24849907-7845-4e63-8bb5-53c7525731a4/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/24849907-7845-4e63-8bb5-53c7525731a4",
"type" : "POST"
}
}
}, {
"id" : "26f0fd78-a49e-43ae-b65d-2774d515cd97",
"message" : "SIT-generated reply Pesho [2026-01-08T17:17:56.689282582] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-01-08T17:17:56.733304",
"lastModified" : "2026-01-08T17:17:56.733305",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "61c8a5a0-d593-4405-bc07-44f7f4b00584",
"_links" : {
"edit-history" : {
"href" : "https://app.matatika.com/api/comments/26f0fd78-a49e-43ae-b65d-2774d515cd97/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/61c8a5a0-d593-4405-bc07-44f7f4b00584/comments/26f0fd78-a49e-43ae-b65d-2774d515cd97",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/26f0fd78-a49e-43ae-b65d-2774d515cd97",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/26f0fd78-a49e-43ae-b65d-2774d515cd97"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/26f0fd78-a49e-43ae-b65d-2774d515cd97/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/26f0fd78-a49e-43ae-b65d-2774d515cd97",
"type" : "POST"
}
}
}, {
"id" : "57c4397c-cdab-495b-b691-a5a9036e8f0a",
"message" : "SIT-generated reply Pesho [2026-01-08T17:17:55.501469490] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-01-08T17:17:55.54153",
"lastModified" : "2026-01-08T17:17:55.541531",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 3,
"datasetId" : "61c8a5a0-d593-4405-bc07-44f7f4b00584",
"_links" : {
"comments" : {
"href" : "https://app.matatika.com/api/datasets/61c8a5a0-d593-4405-bc07-44f7f4b00584/comments?parentId=57c4397c-cdab-495b-b691-a5a9036e8f0a",
"type" : "GET"
},
"edit-history" : {
"href" : "https://app.matatika.com/api/comments/57c4397c-cdab-495b-b691-a5a9036e8f0a/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/61c8a5a0-d593-4405-bc07-44f7f4b00584/comments/57c4397c-cdab-495b-b691-a5a9036e8f0a",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/57c4397c-cdab-495b-b691-a5a9036e8f0a",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/57c4397c-cdab-495b-b691-a5a9036e8f0a"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/57c4397c-cdab-495b-b691-a5a9036e8f0a/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/57c4397c-cdab-495b-b691-a5a9036e8f0a",
"type" : "POST"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/datasets/61c8a5a0-d593-4405-bc07-44f7f4b00584/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/caf0b47a-0fc1-4e69-8af8-d0bff70a263f' -i -X GET
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/caf0b47a-0fc1-4e69-8af8-d0bff70a263f"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment with HAL links.
{
"id" : "caf0b47a-0fc1-4e69-8af8-d0bff70a263f",
"message" : "SIT-generated reply Pesho [2026-01-08T17:17:57.790948674] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-01-08T17:17:57.830155",
"lastModified" : "2026-01-08T17:17:57.830155",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "61c8a5a0-d593-4405-bc07-44f7f4b00584",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/61c8a5a0-d593-4405-bc07-44f7f4b00584/comments/caf0b47a-0fc1-4e69-8af8-d0bff70a263f",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/caf0b47a-0fc1-4e69-8af8-d0bff70a263f",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/caf0b47a-0fc1-4e69-8af8-d0bff70a263f"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/caf0b47a-0fc1-4e69-8af8-d0bff70a263f/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/caf0b47a-0fc1-4e69-8af8-d0bff70a263f",
"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/caf0b47a-0fc1-4e69-8af8-d0bff70a263f/history' -i -X GET
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/caf0b47a-0fc1-4e69-8af8-d0bff70a263f/history"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
[ {
"lastModified" : "2026-01-08T17:17:57.834",
"message" : "SIT-generated reply Pesho [2026-01-08T17:17:57.790948674] to ",
"editVersion" : "569341"
}, {
"lastModified" : "2026-01-08T17:17:57.976",
"message" : "SIT-generated reply Pesho [2026-01-08T17:17:57.928640746] to ",
"editVersion" : "569342"
} ]
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/61c8a5a0-d593-4405-bc07-44f7f4b00584/comments?parentId=57c4397c-cdab-495b-b691-a5a9036e8f0a' -i -X GET
Python (requests)
import requests
url = "https://app.matatika.com/api/datasets/61c8a5a0-d593-4405-bc07-44f7f4b00584/comments?parentId=57c4397c-cdab-495b-b691-a5a9036e8f0a"
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" : "ea3ed746-e404-45e7-a8cf-6321d06d7b69",
"message" : "SIT-generated reply Pesho [2026-01-08T17:17:56.108921756] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-01-08T17:17:56.149887",
"lastModified" : "2026-01-08T17:17:56.149888",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "61c8a5a0-d593-4405-bc07-44f7f4b00584",
"parentId" : "57c4397c-cdab-495b-b691-a5a9036e8f0a",
"_links" : {
"edit-history" : {
"href" : "https://app.matatika.com/api/comments/ea3ed746-e404-45e7-a8cf-6321d06d7b69/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/61c8a5a0-d593-4405-bc07-44f7f4b00584/comments/ea3ed746-e404-45e7-a8cf-6321d06d7b69",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/ea3ed746-e404-45e7-a8cf-6321d06d7b69",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/ea3ed746-e404-45e7-a8cf-6321d06d7b69"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/ea3ed746-e404-45e7-a8cf-6321d06d7b69/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/ea3ed746-e404-45e7-a8cf-6321d06d7b69",
"type" : "POST"
}
}
}, {
"id" : "4e11e4ad-188b-4db1-b8a9-843b2ac1ff2a",
"message" : "SIT-generated reply Pesho [2026-01-08T17:17:55.999920959] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-01-08T17:17:56.041503",
"lastModified" : "2026-01-08T17:17:56.041503",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "61c8a5a0-d593-4405-bc07-44f7f4b00584",
"parentId" : "57c4397c-cdab-495b-b691-a5a9036e8f0a",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/61c8a5a0-d593-4405-bc07-44f7f4b00584/comments/4e11e4ad-188b-4db1-b8a9-843b2ac1ff2a",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/4e11e4ad-188b-4db1-b8a9-843b2ac1ff2a",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/4e11e4ad-188b-4db1-b8a9-843b2ac1ff2a"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/4e11e4ad-188b-4db1-b8a9-843b2ac1ff2a/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/4e11e4ad-188b-4db1-b8a9-843b2ac1ff2a",
"type" : "POST"
}
}
}, {
"id" : "6665b5d8-4e8a-4b8f-8066-95705e4860b7",
"message" : "SIT-generated reply Pesho [2026-01-08T17:17:55.886192902] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-01-08T17:17:55.928601",
"lastModified" : "2026-01-08T17:17:55.928601",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "61c8a5a0-d593-4405-bc07-44f7f4b00584",
"parentId" : "57c4397c-cdab-495b-b691-a5a9036e8f0a",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/61c8a5a0-d593-4405-bc07-44f7f4b00584/comments/6665b5d8-4e8a-4b8f-8066-95705e4860b7",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/6665b5d8-4e8a-4b8f-8066-95705e4860b7",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/6665b5d8-4e8a-4b8f-8066-95705e4860b7"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/6665b5d8-4e8a-4b8f-8066-95705e4860b7/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/6665b5d8-4e8a-4b8f-8066-95705e4860b7",
"type" : "POST"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/datasets/61c8a5a0-d593-4405-bc07-44f7f4b00584/comments?parentId=57c4397c-cdab-495b-b691-a5a9036e8f0a&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/61c8a5a0-d593-4405-bc07-44f7f4b00584/comments' -i -X POST \
-H 'Content-Type: application/json'
Python (requests)
import requests
url = "https://app.matatika.com/api/datasets/61c8a5a0-d593-4405-bc07-44f7f4b00584/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" : "f29d761e-034c-4ee5-8203-73d71ca1ae12",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-01-08T17:17:57.607490675",
"lastModified" : "2026-01-08T17:17:57.607490975",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "61c8a5a0-d593-4405-bc07-44f7f4b00584",
"_links" : {
"create comment" : {
"href" : "https://app.matatika.com/api/datasets/61c8a5a0-d593-4405-bc07-44f7f4b00584/comments/f29d761e-034c-4ee5-8203-73d71ca1ae12",
"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/57c4397c-cdab-495b-b691-a5a9036e8f0a' -i -X POST \
-H 'Content-Type: application/json'
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/57c4397c-cdab-495b-b691-a5a9036e8f0a"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("POST", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment with HAL links.
{
"id" : "297c0181-3b25-4f24-8ebf-e89ffe4d0ead",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-01-08T17:17:57.23093817",
"lastModified" : "2026-01-08T17:17:57.23093857",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "61c8a5a0-d593-4405-bc07-44f7f4b00584",
"parentId" : "57c4397c-cdab-495b-b691-a5a9036e8f0a",
"_links" : {
"create comment" : {
"href" : "https://app.matatika.com/api/datasets/61c8a5a0-d593-4405-bc07-44f7f4b00584/comments/297c0181-3b25-4f24-8ebf-e89ffe4d0ead",
"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-08T17:17:57.051984938] to ",
"datasetId" : "61c8a5a0-d593-4405-bc07-44f7f4b00584"
}
Example Snippets
cURL
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/datasets/61c8a5a0-d593-4405-bc07-44f7f4b00584/comments/a36b41e3-393a-42af-8854-d82ec11c2352' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"message" : "SIT-generated reply Pesho [2026-01-08T17:17:57.051984938] to ",
"datasetId" : "61c8a5a0-d593-4405-bc07-44f7f4b00584"
}'
Python (requests)
import requests
url = "https://app.matatika.com/api/datasets/61c8a5a0-d593-4405-bc07-44f7f4b00584/comments/a36b41e3-393a-42af-8854-d82ec11c2352"
data = {
"message" : "SIT-generated reply Pesho [2026-01-08T17:17:57.051984938] to ",
"datasetId" : "61c8a5a0-d593-4405-bc07-44f7f4b00584"
}
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" : "a36b41e3-393a-42af-8854-d82ec11c2352",
"message" : "SIT-generated reply Pesho [2026-01-08T17:17:57.051984938] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-01-08T17:17:57.149008742",
"lastModified" : "2026-01-08T17:17:57.149009242",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "61c8a5a0-d593-4405-bc07-44f7f4b00584",
"_links" : {
"edit-history" : {
"href" : "https://app.matatika.com/api/comments/a36b41e3-393a-42af-8854-d82ec11c2352/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/61c8a5a0-d593-4405-bc07-44f7f4b00584/comments/a36b41e3-393a-42af-8854-d82ec11c2352",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/a36b41e3-393a-42af-8854-d82ec11c2352",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/a36b41e3-393a-42af-8854-d82ec11c2352"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/a36b41e3-393a-42af-8854-d82ec11c2352/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/a36b41e3-393a-42af-8854-d82ec11c2352",
"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-08T17:17:57.654882026] to "
}
Example Snippets
cURL
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/comments/caf0b47a-0fc1-4e69-8af8-d0bff70a263f' -i -X GET
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/caf0b47a-0fc1-4e69-8af8-d0bff70a263f"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment with HAL links.
{
"id" : "caf0b47a-0fc1-4e69-8af8-d0bff70a263f",
"message" : "SIT-generated reply Pesho [2026-01-08T17:17:57.790948674] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-01-08T17:17:57.830155",
"lastModified" : "2026-01-08T17:17:57.830155",
"from" : {
"id" : "auth0|5eb0327cbfd7490bff55feeb",
"name" : "[email protected]",
"handle" : "@sit+prod"
},
"commentCount" : 0,
"datasetId" : "61c8a5a0-d593-4405-bc07-44f7f4b00584",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/61c8a5a0-d593-4405-bc07-44f7f4b00584/comments/caf0b47a-0fc1-4e69-8af8-d0bff70a263f",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/caf0b47a-0fc1-4e69-8af8-d0bff70a263f",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/caf0b47a-0fc1-4e69-8af8-d0bff70a263f"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/caf0b47a-0fc1-4e69-8af8-d0bff70a263f/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/caf0b47a-0fc1-4e69-8af8-d0bff70a263f",
"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/57c4397c-cdab-495b-b691-a5a9036e8f0a/like' -i -X PUT \
-H 'Content-Type: application/json'
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/57c4397c-cdab-495b-b691-a5a9036e8f0a/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/57c4397c-cdab-495b-b691-a5a9036e8f0a/like' -i -X DELETE
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/57c4397c-cdab-495b-b691-a5a9036e8f0a/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/53cdc394-7771-4498-a9fe-ea136bb92191' -i -X DELETE
Python (requests)
import requests
url = "https://app.matatika.com/api/comments/53cdc394-7771-4498-a9fe-ea136bb92191"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("DELETE", url, headers=headers)
print(response.text.encode('utf8'))
Response
204 No Content
No response body provided.