Returns a list of comments for a given task.
https://<space_id>.repsona.com/api/project/:projectId/task/:taskId/comment/in_tree
Owner
Admin
Member
Name | Type | Description |
---|---|---|
projectId* | string | Project ID |
taskId* | string | Task ID |
{
"requestedBy": 1,
"project": 1,
"taskComments": [
{
"files": [],
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": null,
"comment": "I'll try.",
"space": 1,
"user": {
"id": 1746,
"name": "Seb",
"fullName": "Seb Osborn",
"avatarUrl": "/dummy/avatar2.png",
"extra": null
},
"parent": null,
"task": 2,
"children": [
{
"files": [],
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": null,
"comment": "What do you think?",
"space": 1,
"user": {
"id": 1746,
"name": "Rita",
"fullName": "Rita Hurst",
"avatarUrl": "/dummy/avatar5.png",
"extra": null
},
"parent": 5,
"task": 2,
"children": [
{
"files": [],
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": null,
"comment": "I think it's good.",
"space": 1,
"user": {
"id": 1746,
"name": "Joel",
"fullName": "Joel Blackburn",
"avatarUrl": "/dummy/avatar6.png",
"extra": null
},
"parent": 8,
"task": 2,
"children": []
}
]
}
]
}
]
}