New to Corsair? See API access, authentication, and error handling.
Task Lists
delete
taskLists.delete
Delete a task list; assigned tasks and their source tasks may also be deleted. OAuth scope: https://www.googleapis.com/auth/tasks.
Risk: destructive
The default task list cannot be deleted. Deleting a list containing assigned tasks may also delete the original tasks in Docs or Chat Spaces.
Output:
undefined
get
taskLists.get
Get one task list. OAuth scope: https://www.googleapis.com/auth/tasks.readonly or https://www.googleapis.com/auth/tasks.
Risk: read
Output
insert
taskLists.insert
Create a task list. OAuth scope: https://www.googleapis.com/auth/tasks.
Risk: write
taskList full type
taskList full type
list
taskLists.list
List a page of task lists. OAuth scope: https://www.googleapis.com/auth/tasks.readonly or https://www.googleapis.com/auth/tasks.
Risk: read
taskLists.list accepts at most 1000 task lists per page and returns nextPageToken for continuation.
Output
items full type
items full type
patch
taskLists.patch
Partially update a task list. OAuth scope: https://www.googleapis.com/auth/tasks.
Risk: write
taskList full type
taskList full type
update
taskLists.update
Replace a task list. OAuth scope: https://www.googleapis.com/auth/tasks.
Risk: write
taskList full type
taskList full type
Tasks
clear
tasks.clear
Hide all completed tasks in a task list. OAuth scope: https://www.googleapis.com/auth/tasks.
Risk: destructive
Clearing hides all completed tasks; it does not permanently delete them. Clear and delete methods return HTTP 204 with no response body.
Output:
undefined
delete
tasks.delete
Delete a task; assigned tasks may also delete their source task. OAuth scope: https://www.googleapis.com/auth/tasks.
Risk: destructive
Deleting an assigned task may also delete its original task in Docs or Chat Spaces.
Output:
undefined
get
tasks.get
Get one task. OAuth scope: https://www.googleapis.com/auth/tasks.readonly or https://www.googleapis.com/auth/tasks.
Risk: read
Output
links full type
links full type
assignmentInfo full type
assignmentInfo full type
insert
tasks.insert
Create a task, optionally under a parent or after a sibling. OAuth scope: https://www.googleapis.com/auth/tasks.
Risk: write
task full type
task full type
links full type
links full type
assignmentInfo full type
assignmentInfo full type
list
tasks.list
List a page of tasks with the documented filters. OAuth scope: https://www.googleapis.com/auth/tasks.readonly or https://www.googleapis.com/auth/tasks.
Risk: read
tasks.list returns 20 tasks by default and accepts at most 100 per page. Pass nextPageToken back as pageToken to continue. Its documented completion, due-date, update-time, and visibility filters are available as inputs.
Output
items full type
items full type
move
tasks.move
Move a task within or between task lists or change its parent. OAuth scope: https://www.googleapis.com/auth/tasks.
Risk: write
Output
links full type
links full type
assignmentInfo full type
assignmentInfo full type
patch
tasks.patch
Partially update a task. OAuth scope: https://www.googleapis.com/auth/tasks.
Risk: write
Send
due: null to remove a due date; an omitted field keeps its value. To delete a task use tasks.delete: update and patch accept only deleted: false.
task full type
task full type
links full type
links full type
assignmentInfo full type
assignmentInfo full type
update
tasks.update
Replace a task. OAuth scope: https://www.googleapis.com/auth/tasks.
Risk: write
task full type
task full type
links full type
links full type
assignmentInfo full type
assignmentInfo full type