Version 0.1

Update a task

PATCH /projects/:project-id/tasks/:task-id

Update the task given by :task-id

Parameters

title

task title

description

task description

assignee

user id of the assignee. Send this parameter multiple times if there is more than one assignee.

watch

set to true or false if you want to watch or unwatch the task respectively

Response

Returns the task object.

Example

Request
PATCH /projects/15/tasks/164?v=0.1
Host: api.deftask.com 
Content-Type: application/x-www-form-urlencoded

title=issue%20with%20another%20milestone
Response
200 OK
Content-Type: application/json

{
  "labelIds": [],
  "assigneeIds": [],
  "projectId": 15,
  "taskId": 164,
  "state": "open",
  "title": "issue with another 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"
}