Version 0.1

Get comments for a task

GET /projects/:project-id/tasks/:task-id/comments

Returns comments for the given task

Response

Returns an array of TaskComment objects.

Example

Request
GET /projects/15/tasks/178/comments?v=0.1
Host: api.deftask.com 
Response
200 OK
Content-Type: application/json

{
  "comments": [
    {
      "projectId": 15,
      "taskId": 178,
      "commentId": 65128,
      "body": "fdsfsd\r\n",
      "bodyHtml": "<p>fdsfsd</p>\n",
      "creator": 1,
      "createdAt": "2018-07-08T16:29:48.413275+05:30",
      "updater": 1,
      "updatedAt": "2018-07-08T16:29:48.413275+05:30"
    },
    {
      "projectId": 15,
      "taskId": 178,
      "commentId": 65129,
      "body": "fsdfd dfds fsdf ",
      "bodyHtml": "<p>fsdfd dfds fsdf</p>\n",
      "creator": 1,
      "createdAt": "2018-07-08T16:29:51.751320+05:30",
      "updater": 1,
      "updatedAt": "2018-07-08T16:29:51.751320+05:30"
    },
    {
      "projectId": 15,
      "taskId": 178,
      "commentId": 65130,
      "body": "ho ho ho!!!!",
      "bodyHtml": "<p>ho ho ho!!!!</p>\n",
      "creator": 1,
      "createdAt": "2018-07-08T16:32:56.685433+05:30",
      "updater": 1,
      "updatedAt": "2018-07-08T16:32:56.685433+05:30"
    }
  ]
}