cURL
curl --request GET \ --url https://api.onfragment.com/api/v1/tasks/{uid}/comments \ --header 'Authorization: Bearer <token>'
{ "items": [ { "uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "archived": true, "task_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "author_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "text": "<string>", "blocks": [ { "id": "<string>", "type": "<string>", "props": {}, "content": [ { "type": "<string>", "text": "<string>", "href": "<string>", "content": [ {} ], "styles": {}, "props": {} } ], "children": [ {} ] } ], "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ], "meta": { "before_cursor": "<string>", "after_cursor": "<string>" } }
Retrieve task comments.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
The response is of type object.
object