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" : "121845c5-8158-47f2-b1b9-66b0ec132643",
"message" : "SIT-generated reply Pesho [2026-06-19T18:19:04.863632500] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-06-19T18:19:04.903812",
"lastModified" : "2026-06-19T18:19:04.903813",
"from" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"commentCount" : 0,
"datasetId" : "03da1700-e267-4efa-bb67-6197c7c7c432",
"_links" : {
"edit-history" : {
"href" : "https://app.matatika.com/api/comments/121845c5-8158-47f2-b1b9-66b0ec132643/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/03da1700-e267-4efa-bb67-6197c7c7c432/comments/121845c5-8158-47f2-b1b9-66b0ec132643",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/121845c5-8158-47f2-b1b9-66b0ec132643",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/121845c5-8158-47f2-b1b9-66b0ec132643"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/121845c5-8158-47f2-b1b9-66b0ec132643/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/121845c5-8158-47f2-b1b9-66b0ec132643",
"type" : "POST"
}
}
}
Requests
View all comments on a dataset
GET /api/datasets/{dataset-id}/comments
Returns all comments on the dataset {dataset-id}.
Prerequisites
- Dataset
{dataset-id}must exist
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/datasets/03da1700-e267-4efa-bb67-6197c7c7c432/comments' -i -X GET
import requests
url = "https://app.matatika.com/api/datasets/03da1700-e267-4efa-bb67-6197c7c7c432/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" : "e278ee1b-a38e-4706-b833-528ff02d60a5",
"message" : "SIT-generated reply Pesho [2026-06-19T18:19:03.854953795] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-06-19T18:19:03.893255",
"lastModified" : "2026-06-19T18:19:03.893255",
"from" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"commentCount" : 0,
"datasetId" : "03da1700-e267-4efa-bb67-6197c7c7c432",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/03da1700-e267-4efa-bb67-6197c7c7c432/comments/e278ee1b-a38e-4706-b833-528ff02d60a5",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/e278ee1b-a38e-4706-b833-528ff02d60a5",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/e278ee1b-a38e-4706-b833-528ff02d60a5"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/e278ee1b-a38e-4706-b833-528ff02d60a5/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/e278ee1b-a38e-4706-b833-528ff02d60a5",
"type" : "POST"
}
}
}, {
"id" : "a67340e8-7670-4517-87f8-10ec34c39afa",
"message" : "SIT-generated reply Pesho [2026-06-19T18:19:03.740857683] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-06-19T18:19:03.7846",
"lastModified" : "2026-06-19T18:19:03.7846",
"from" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"commentCount" : 0,
"datasetId" : "03da1700-e267-4efa-bb67-6197c7c7c432",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/03da1700-e267-4efa-bb67-6197c7c7c432/comments/a67340e8-7670-4517-87f8-10ec34c39afa",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/a67340e8-7670-4517-87f8-10ec34c39afa",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/a67340e8-7670-4517-87f8-10ec34c39afa"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/a67340e8-7670-4517-87f8-10ec34c39afa/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/a67340e8-7670-4517-87f8-10ec34c39afa",
"type" : "POST"
}
}
}, {
"id" : "2da689c4-07ad-4684-91f3-4d64b50506c4",
"message" : "SIT-generated reply Pesho [2026-06-19T18:19:03.623087968] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-06-19T18:19:03.663021",
"lastModified" : "2026-06-19T18:19:03.663022",
"from" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"commentCount" : 0,
"datasetId" : "03da1700-e267-4efa-bb67-6197c7c7c432",
"_links" : {
"edit-history" : {
"href" : "https://app.matatika.com/api/comments/2da689c4-07ad-4684-91f3-4d64b50506c4/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/03da1700-e267-4efa-bb67-6197c7c7c432/comments/2da689c4-07ad-4684-91f3-4d64b50506c4",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/2da689c4-07ad-4684-91f3-4d64b50506c4",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/2da689c4-07ad-4684-91f3-4d64b50506c4"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/2da689c4-07ad-4684-91f3-4d64b50506c4/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/2da689c4-07ad-4684-91f3-4d64b50506c4",
"type" : "POST"
}
}
}, {
"id" : "1d6c7d93-d1c2-4c88-8783-953c87657ece",
"message" : "SIT-generated reply Pesho [2026-06-19T18:19:02.207662259] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-06-19T18:19:02.25245",
"lastModified" : "2026-06-19T18:19:02.25245",
"from" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"commentCount" : 3,
"datasetId" : "03da1700-e267-4efa-bb67-6197c7c7c432",
"_links" : {
"comments" : {
"href" : "https://app.matatika.com/api/datasets/03da1700-e267-4efa-bb67-6197c7c7c432/comments?parentId=1d6c7d93-d1c2-4c88-8783-953c87657ece",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/03da1700-e267-4efa-bb67-6197c7c7c432/comments/1d6c7d93-d1c2-4c88-8783-953c87657ece",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/1d6c7d93-d1c2-4c88-8783-953c87657ece",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/1d6c7d93-d1c2-4c88-8783-953c87657ece"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/1d6c7d93-d1c2-4c88-8783-953c87657ece/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/1d6c7d93-d1c2-4c88-8783-953c87657ece",
"type" : "POST"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/datasets/03da1700-e267-4efa-bb67-6197c7c7c432/comments?page=0&size=20"
}
},
"page" : {
"size" : 20,
"totalElements" : 4,
"totalPages" : 1,
"number" : 0
}
}
View a comment
GET /api/comments/{comment-id}
Returns the comment {comment-id}.
Prerequisites
- Comment
{comment-id}must exist
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/comments/121845c5-8158-47f2-b1b9-66b0ec132643' -i -X GET
import requests
url = "https://app.matatika.com/api/comments/121845c5-8158-47f2-b1b9-66b0ec132643"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment with HAL links.
{
"id" : "121845c5-8158-47f2-b1b9-66b0ec132643",
"message" : "SIT-generated reply Pesho [2026-06-19T18:19:04.863632500] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-06-19T18:19:04.903812",
"lastModified" : "2026-06-19T18:19:04.903813",
"from" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"commentCount" : 0,
"datasetId" : "03da1700-e267-4efa-bb67-6197c7c7c432",
"_links" : {
"edit-history" : {
"href" : "https://app.matatika.com/api/comments/121845c5-8158-47f2-b1b9-66b0ec132643/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/03da1700-e267-4efa-bb67-6197c7c7c432/comments/121845c5-8158-47f2-b1b9-66b0ec132643",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/121845c5-8158-47f2-b1b9-66b0ec132643",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/121845c5-8158-47f2-b1b9-66b0ec132643"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/121845c5-8158-47f2-b1b9-66b0ec132643/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/121845c5-8158-47f2-b1b9-66b0ec132643",
"type" : "POST"
}
}
}
View the edit history of a comment
GET /api/comments/{comment-id}/history
Returns the edit history of the comment {comment-id}.
Prerequisites
- Comment
{comment-id}must exist
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/comments/121845c5-8158-47f2-b1b9-66b0ec132643/history' -i -X GET
import requests
url = "https://app.matatika.com/api/comments/121845c5-8158-47f2-b1b9-66b0ec132643/history"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
[ {
"lastModified" : "2026-06-19T18:19:04.906",
"message" : "SIT-generated reply Pesho [2026-06-19T18:19:04.863632500] to ",
"editVersion" : "1058989"
}, {
"lastModified" : "2026-06-19T18:19:05.102",
"message" : "SIT-generated reply Pesho [2026-06-19T18:19:05.058729744] to ",
"editVersion" : "1058990"
} ]
View all replies to a comment
GET /api/comments/{comment-id}
Returns all replies to the comment {comment-id}.
Prerequisites
- Comment
{comment-id}must exist
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/datasets/03da1700-e267-4efa-bb67-6197c7c7c432/comments?parentId=1d6c7d93-d1c2-4c88-8783-953c87657ece' -i -X GET
import requests
url = "https://app.matatika.com/api/datasets/03da1700-e267-4efa-bb67-6197c7c7c432/comments?parentId=1d6c7d93-d1c2-4c88-8783-953c87657ece"
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" : "47161441-7a3a-4cf0-91f3-559392f48638",
"message" : "SIT-generated reply Pesho [2026-06-19T18:19:02.878547311] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-06-19T18:19:02.918404",
"lastModified" : "2026-06-19T18:19:02.918404",
"from" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"commentCount" : 0,
"datasetId" : "03da1700-e267-4efa-bb67-6197c7c7c432",
"parentId" : "1d6c7d93-d1c2-4c88-8783-953c87657ece",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/03da1700-e267-4efa-bb67-6197c7c7c432/comments/47161441-7a3a-4cf0-91f3-559392f48638",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/47161441-7a3a-4cf0-91f3-559392f48638",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/47161441-7a3a-4cf0-91f3-559392f48638"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/47161441-7a3a-4cf0-91f3-559392f48638/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/47161441-7a3a-4cf0-91f3-559392f48638",
"type" : "POST"
}
}
}, {
"id" : "75a1c8ac-a62b-4d12-893c-330101a24269",
"message" : "SIT-generated reply Pesho [2026-06-19T18:19:02.756682117] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-06-19T18:19:02.801675",
"lastModified" : "2026-06-19T18:19:02.801675",
"from" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"commentCount" : 0,
"datasetId" : "03da1700-e267-4efa-bb67-6197c7c7c432",
"parentId" : "1d6c7d93-d1c2-4c88-8783-953c87657ece",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/03da1700-e267-4efa-bb67-6197c7c7c432/comments/75a1c8ac-a62b-4d12-893c-330101a24269",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/75a1c8ac-a62b-4d12-893c-330101a24269",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/75a1c8ac-a62b-4d12-893c-330101a24269"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/75a1c8ac-a62b-4d12-893c-330101a24269/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/75a1c8ac-a62b-4d12-893c-330101a24269",
"type" : "POST"
}
}
}, {
"id" : "922e62e5-7b47-41f3-8a91-5ff5ff930acb",
"message" : "SIT-generated reply Pesho [2026-06-19T18:19:02.638370017] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-06-19T18:19:02.687723",
"lastModified" : "2026-06-19T18:19:02.687723",
"from" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"commentCount" : 0,
"datasetId" : "03da1700-e267-4efa-bb67-6197c7c7c432",
"parentId" : "1d6c7d93-d1c2-4c88-8783-953c87657ece",
"_links" : {
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/03da1700-e267-4efa-bb67-6197c7c7c432/comments/922e62e5-7b47-41f3-8a91-5ff5ff930acb",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/922e62e5-7b47-41f3-8a91-5ff5ff930acb",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/922e62e5-7b47-41f3-8a91-5ff5ff930acb"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/922e62e5-7b47-41f3-8a91-5ff5ff930acb/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/922e62e5-7b47-41f3-8a91-5ff5ff930acb",
"type" : "POST"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/datasets/03da1700-e267-4efa-bb67-6197c7c7c432/comments?parentId=1d6c7d93-d1c2-4c88-8783-953c87657ece&page=0&size=20"
}
},
"page" : {
"size" : 20,
"totalElements" : 3,
"totalPages" : 1,
"number" : 0
}
}
Initialise a comment on a dataset
POST /api/datasets/{dataset-id}/comments
Initialises a new comment on the dataset {dataset-id}.
Prerequisites
- Dataset
{dataset-id}must exist
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/datasets/03da1700-e267-4efa-bb67-6197c7c7c432/comments' -i -X POST \
-H 'Content-Type: application/json'
import requests
url = "https://app.matatika.com/api/datasets/03da1700-e267-4efa-bb67-6197c7c7c432/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" : "653b5370-4358-417e-b626-84e983bfe759",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-06-19T18:19:04.68066158",
"lastModified" : "2026-06-19T18:19:04.680662269",
"from" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"commentCount" : 0,
"datasetId" : "03da1700-e267-4efa-bb67-6197c7c7c432",
"_links" : {
"create comment" : {
"href" : "https://app.matatika.com/api/datasets/03da1700-e267-4efa-bb67-6197c7c7c432/comments/653b5370-4358-417e-b626-84e983bfe759",
"type" : "PUT"
}
}
}
Initialise a reply to a comment
POST /api/comments/{comment-id}
Initialises a new reply comment to the comment {comment-id}.
Prerequisites
- Comment
{comment-id}must exist
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/comments/1d6c7d93-d1c2-4c88-8783-953c87657ece' -i -X POST \
-H 'Content-Type: application/json'
import requests
url = "https://app.matatika.com/api/comments/1d6c7d93-d1c2-4c88-8783-953c87657ece"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("POST", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment with HAL links.
{
"id" : "4042b42c-cd80-49d2-b827-09fb77170d9d",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-06-19T18:19:04.216377248",
"lastModified" : "2026-06-19T18:19:04.216377552",
"from" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"commentCount" : 0,
"datasetId" : "03da1700-e267-4efa-bb67-6197c7c7c432",
"parentId" : "1d6c7d93-d1c2-4c88-8783-953c87657ece",
"_links" : {
"create comment" : {
"href" : "https://app.matatika.com/api/datasets/03da1700-e267-4efa-bb67-6197c7c7c432/comments/4042b42c-cd80-49d2-b827-09fb77170d9d",
"type" : "PUT"
}
}
}
Create a comment
PUT /api/comments/{comment-id}
Creates the comment {comment-id}.
Prerequisites
- The comment must have been initialised in order to create it
- The target dataset
{dataset-id}or comment{comment-id}must exist
Body
Comment resource.
{
"message" : "SIT-generated reply Pesho [2026-06-19T18:19:03.983839147] to ",
"datasetId" : "03da1700-e267-4efa-bb67-6197c7c7c432"
}
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/datasets/03da1700-e267-4efa-bb67-6197c7c7c432/comments/0e746ee2-ad1b-4d53-9962-2381ceb7ba95' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"message" : "SIT-generated reply Pesho [2026-06-19T18:19:03.983839147] to ",
"datasetId" : "03da1700-e267-4efa-bb67-6197c7c7c432"
}'
import requests
url = "https://app.matatika.com/api/datasets/03da1700-e267-4efa-bb67-6197c7c7c432/comments/0e746ee2-ad1b-4d53-9962-2381ceb7ba95"
data = {
"message" : "SIT-generated reply Pesho [2026-06-19T18:19:03.983839147] to ",
"datasetId" : "03da1700-e267-4efa-bb67-6197c7c7c432"
}
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" : "0e746ee2-ad1b-4d53-9962-2381ceb7ba95",
"message" : "SIT-generated reply Pesho [2026-06-19T18:19:03.983839147] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-06-19T18:19:04.105818684",
"lastModified" : "2026-06-19T18:19:04.10581904",
"from" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"commentCount" : 0,
"datasetId" : "03da1700-e267-4efa-bb67-6197c7c7c432",
"_links" : {
"edit-history" : {
"href" : "https://app.matatika.com/api/comments/0e746ee2-ad1b-4d53-9962-2381ceb7ba95/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/03da1700-e267-4efa-bb67-6197c7c7c432/comments/0e746ee2-ad1b-4d53-9962-2381ceb7ba95",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/0e746ee2-ad1b-4d53-9962-2381ceb7ba95",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/0e746ee2-ad1b-4d53-9962-2381ceb7ba95"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/0e746ee2-ad1b-4d53-9962-2381ceb7ba95/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/0e746ee2-ad1b-4d53-9962-2381ceb7ba95",
"type" : "POST"
}
}
}
Update a comment
PUT /api/comments/{comment-id}
Updates the comment {comment-id}.
Prerequisites
- Comment
{comment-id}must exist
Body
Comment resource.
{
"message" : "SIT-generated reply Pesho [2026-06-19T18:19:04.717692840] to "
}
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/comments/121845c5-8158-47f2-b1b9-66b0ec132643' -i -X GET
import requests
url = "https://app.matatika.com/api/comments/121845c5-8158-47f2-b1b9-66b0ec132643"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Comment with HAL links.
{
"id" : "121845c5-8158-47f2-b1b9-66b0ec132643",
"message" : "SIT-generated reply Pesho [2026-06-19T18:19:04.863632500] to ",
"likeCount" : 0,
"likedByProfiles" : [ ],
"created" : "2026-06-19T18:19:04.903812",
"lastModified" : "2026-06-19T18:19:04.903813",
"from" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod1"
},
"commentCount" : 0,
"datasetId" : "03da1700-e267-4efa-bb67-6197c7c7c432",
"_links" : {
"edit-history" : {
"href" : "https://app.matatika.com/api/comments/121845c5-8158-47f2-b1b9-66b0ec132643/history",
"type" : "GET"
},
"update comment" : {
"href" : "https://app.matatika.com/api/datasets/03da1700-e267-4efa-bb67-6197c7c7c432/comments/121845c5-8158-47f2-b1b9-66b0ec132643",
"type" : "PUT"
},
"delete comment" : {
"href" : "https://app.matatika.com/api/comments/121845c5-8158-47f2-b1b9-66b0ec132643",
"type" : "DELETE"
},
"self" : {
"href" : "https://app.matatika.com/api/comments/121845c5-8158-47f2-b1b9-66b0ec132643"
},
"add like" : {
"href" : "https://app.matatika.com/api/comments/121845c5-8158-47f2-b1b9-66b0ec132643/like",
"type" : "PUT"
},
"new reply" : {
"href" : "https://app.matatika.com/api/comments/121845c5-8158-47f2-b1b9-66b0ec132643",
"type" : "POST"
}
}
}
Record a like of a comment
PUT /api/comments/{comment-id}/like
Records a like of the comment {comment-id} from the authenticated user profile.
Prerequisites
- Comment
{comment-id}must exist
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/comments/1d6c7d93-d1c2-4c88-8783-953c87657ece/like' -i -X PUT \
-H 'Content-Type: application/json'
import requests
url = "https://app.matatika.com/api/comments/1d6c7d93-d1c2-4c88-8783-953c87657ece/like"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("PUT", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
No response body provided.
Remove a like from a comment
DELETE /api/comments/{comment-id}/like
Removes a like of the comment {comment-id} from the authenticated user profile.
Prerequisites
- Comment
{comment-id}must exist
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/comments/1d6c7d93-d1c2-4c88-8783-953c87657ece/like' -i -X DELETE
import requests
url = "https://app.matatika.com/api/comments/1d6c7d93-d1c2-4c88-8783-953c87657ece/like"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("DELETE", url, headers=headers)
print(response.text.encode('utf8'))
Response
204 No Content
No response body provided.
Delete a comment
DELETE /api/comments/{comment-id}
Deletes the comment {comment-id}.
Prerequisites
- Comment
{comment-id}must exist
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/comments/707416d7-9b35-4b2e-abcf-9da1990dc9f2' -i -X DELETE
import requests
url = "https://app.matatika.com/api/comments/707416d7-9b35-4b2e-abcf-9da1990dc9f2"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("DELETE", url, headers=headers)
print(response.text.encode('utf8'))
Response
204 No Content
No response body provided.