Discussion

Retrieve Task Comments

Deprecated
GET
Retrieve all comments written about a task

Path parameters

taskIdstringRequired
The unique ID number of the task to retrieve comments

Response

This endpoint returns an object
error
objectOptional
If the API call failed, this will contain information about the error that occurred.
success
booleanOptional
True if the API call succeeded; false otherwise.
hasError
booleanOptional
True if the API call failed.
statusCode
enumOptional
The HTTP code of the response.
data
list of objectsOptional
If the API call succeeded, this will contain the results.
GET
$curl /api/data/tasks/taskId/discussions \
> -H "Authorization: Bearer <token>"
Response
1{
2 "error": {
3 "technicalError": "technicalError",
4 "additionalErrors": [
5 "additionalErrors"
6 ],
7 "message": "message"
8 },
9 "success": true,
10 "hasError": true,
11 "statusCode": "Continue",
12 "data": [
13 {
14 "id": "id",
15 "discussionCommentId": "discussionCommentId",
16 "text": "text",
17 "authorId": "authorId",
18 "authorName": "authorName",
19 "createDate": "2024-01-15T09:30:00Z",
20 "modifyDate": "2024-01-15T09:30:00Z",
21 "emoji": [
22 {}
23 ],
24 "files": [
25 {}
26 ]
27 }
28 ]
29}