Skip to content

Latest commit

 

History

History
97 lines (61 loc) · 2.41 KB

task-list.md

File metadata and controls

97 lines (61 loc) · 2.41 KB

Task-list

Get a Task list

GET /tasklists.json | /tasklists/{tasklist_id}.json

tw.tasklists.get(query_string, tasklist_id)

Create a Task list

POST /projects/{project_id}/tasklists.json

tw.tasklists.create(project_id, body)

Update a Task list

PUT /tasklists/{tasklist_id}.json

tw.tasklists.update(tasklist_id, body)

Delete a Task list

DELETE /tasklists/{tasklist_id}.json

tw.tasklists.delete(tasklist_id)

Copy Task List

PUT /tasklists/{tasklist_id}/copy.json

tw.tasklists.copy(tasklist_id, body)

Move Task List

PUT /tasklists/{tasklist_id}/move.json

tw.tasklists.move(tasklist_id, body)

Reorder lists

PUT /projects/{project_id}/tasklists/reorder.json

tw.tasklists.reorder(project_id, body)

Get tasklist templates

GET /tasklists/templates.json

tw.tasklists.templates()

Get Tasks from a task list

GET /tasklists/{tasklist_id}/tasks.json

tw.tasklists.getTasks(tasklist_id, query_string)

Get Time Totals from a task list

GET /tasklists/{tasklist_id}/time/total.json

tw.tasklists.totalTime(tasklist_id, query_string)

Get Tags from a Task List

GET /tasklists/{tasklist_id}/tags.json

tw.tasklists.getTags(tasklist_id, query_string)

Update a Tag on a Task List

PUT /tasklists/{tasklist_id}/tags.json

tw.tasklists.updateTag(tasklist_id, body)