Version 0.1
Create a comment
POST /projects/:project-id/tasks/:task-id/comments
Create a comment for the given task
Parameters
body
the comment body (supports markdown)
Response
The TaskComment object.
Example
Request
POST /projects/15/tasks/178/comments?v=0.1
Host: api.deftask.com
Content-Type: application/x-www-form-urlencoded
body=bar
Response
201 Created
Content-Type: application/json
{
"projectId": 15,
"taskId": 178,
"commentId": 65168,
"body": "bar",
"bodyHtml": "<p>bar</p>\n",
"creator": 1,
"createdAt": "2018-10-09T22:32:36.062827+05:30",
"updater": 1,
"updatedAt": "2018-10-09T22:32:36.062828+05:30"
}