Version 0.1
Create a task
POST /projects/:project-id/tasks
Creates a new task for the project given by :project-id
.
Parameters
title
task title (required)
description
task description (supports markdown)
assignee
the user id of the assignee. If there are multiple assignees, repeat the param.
Response
Returns the created task object.
Example
Request
POST /projects/15/tasks?v=0.1
Host: api.deftask.com
Content-Type: application/x-www-form-urlencoded
title=issue%20with%20a%20milestone&description=add%20labels%20and%20body
Response
201 Created
Content-Type: application/json
{
"labelIds": [],
"assigneeIds": [],
"projectId": 15,
"taskId": 164,
"state": "open",
"title": "issue with a milestone",
"description": "and labels and body",
"descriptionHtml": "<p>and labels and body</p>\n",
"creator": 5,
"createdAt": "2017-12-11T12:29:10.000000+05:30",
"updater": 1,
"updatedAt": "2018-09-28T00:56:28.940718+05:30"
}