[
{
"handle": "tasklists",
"meta": {
"short": "Task Lists",
"description": "Manage task lists in Google Tasks."
},
"endpoint": {
"value": "/users/@me/lists"
},
"fields": [
{
"name": "id",
"type": "String",
"selector": ["id"],
"meta": {
"description": "The unique identifier for the task list."
}
},
{
"name": "title",
"type": "String",
"selector": ["title"],
"meta": {
"description": "The title of the task list."
}
},
{
"name": "updated",
"type": "String",
"selector": ["updated"],
"meta": {
"description": "Last modification time of the task list in RFC 3339 timestamp format."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": ""
},
"headers": {},
"queryParams": {
"maxResults": "100"
},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{tasklistId}}",
"placeholders": [
{
"name": "tasklistId",
"type": "String",
"description": "The task list identifier.",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": ""
},
"headers": {},
"queryParams": {},
"bodyTemplate": {
"value": "{\"title\": \"{{title}}\"}",
"placeholders": [
{
"name": "title",
"type": "String",
"description": "Title of the task list.",
"required": true
}
]
}
},
"update": {
"method": "PUT",
"path": {
"value": "/{{tasklistId}}",
"placeholders": [
{
"name": "tasklistId",
"type": "String",
"description": "The task list identifier.",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": {
"value": "{\"id\": \"{{tasklistId}}\", \"title\": \"{{title}}\"}",
"placeholders": [
{
"name": "tasklistId",
"type": "String",
"description": "The task list identifier.",
"required": true
},
{
"name": "title",
"type": "String",
"description": "The new title of the task list.",
"required": true
}
]
}
},
"patch": {
"method": "PATCH",
"path": {
"value": "/{{tasklistId}}",
"placeholders": [
{
"name": "tasklistId",
"type": "String",
"description": "The task list identifier.",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": {
"value": "{\"title\": \"{{title}}\"}",
"placeholders": [
{
"name": "title",
"type": "String",
"description": "The new title of the task list.",
"required": false
}
]
}
},
"delete": {
"method": "DELETE",
"path": {
"value": "/{{tasklistId}}",
"placeholders": [
{
"name": "tasklistId",
"type": "String",
"description": "The task list identifier.",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
}
},
"webhooks": [
{
"event": "tasklists/created",
"path": "/webhooks/google-tasks/tasklists/created",
"payload": [
{ "name": "id", "type": "String", "selector": ["id"], "meta": { "description": "The unique identifier for the task list." } },
{ "name": "title", "type": "String", "selector": ["title"], "meta": { "description": "The title of the task list." } }
]
},
{
"event": "tasklists/updated",
"path": "/webhooks/google-tasks/tasklists/updated",
"payload": [
{ "name": "id", "type": "String", "selector": ["id"], "meta": { "description": "The unique identifier for the task list." } },
{ "name": "title", "type": "String", "selector": ["title"], "meta": { "description": "The title of the task list." } },
{ "name": "updated", "type": "String", "selector": ["updated"], "meta": { "description": "Last modification time of the task list." } }
]
},
{
"event": "tasklists/deleted",
"path": "/webhooks/google-tasks/tasklists/deleted",
"payload": [
{ "name": "id", "type": "String", "selector": ["id"], "meta": { "description": "The unique identifier for the task list." } }
]
}
]
},
{
"handle": "tasks",
"meta": {
"short": "Tasks",
"description": "Manage tasks within a Google Tasks task list."
},
"endpoint": {
"value": "/lists/{{tasklistId}}/tasks",
"placeholders": [
{
"name": "tasklistId",
"type": "String",
"description": "The ID of the task list.",
"required": true
}
]
},
"fields": [
{
"name": "id",
"type": "String",
"selector": ["id"],
"meta": {
"description": "The unique identifier for the task."
}
},
{
"name": "title",
"type": "String",
"selector": ["title"],
"meta": {
"description": "The title of the task."
}
},
{
"name": "notes",
"type": "String",
"selector": ["notes"],
"meta": {
"description": "Notes describing the task."
}
},
{
"name": "status",
"type": "String",
"selector": ["status"],
"meta": {
"description": "Status of the task. Allowed values: needsAction, completed."
}
},
{
"name": "due",
"type": "String",
"selector": ["due"],
"meta": {
"description": "Due date of the task in RFC 3339 timestamp format."
}
},
{
"name": "completed",
"type": "String",
"selector": ["completed"],
"meta": {
"description": "Completion date of the task in RFC 3339 timestamp format."
}
},
{
"name": "deleted",
"type": "Boolean",
"selector": ["deleted"],
"meta": {
"description": "Whether the task has been deleted."
}
},
{
"name": "hidden",
"type": "Boolean",
"selector": ["hidden"],
"meta": {
"description": "Whether the task is hidden."
}
},
{
"name": "updated",
"type": "String",
"selector": ["updated"],
"meta": {
"description": "Last modification time of the task in RFC 3339 timestamp format."
}
},
{
"name": "parent",
"type": "String",
"selector": ["parent"],
"meta": {
"description": "The parent task identifier. Omitted if the task is a top-level task."
}
},
{
"name": "position",
"type": "String",
"selector": ["position"],
"meta": {
"description": "String indicating the position of the task among its sibling tasks."
}
},
{
"name": "selfLink",
"type": "String",
"selector": ["selfLink"],
"meta": {
"description": "URL pointing to this task."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": ""
},
"headers": {},
"queryParams": {
"maxResults": "100",
"showCompleted": "false",
"showHidden": "false"
},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{taskId}}",
"placeholders": [
{
"name": "taskId",
"type": "String",
"description": "The task identifier.",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": ""
},
"headers": {},
"queryParams": {},
"bodyTemplate": {
"value": "{\"title\": \"{{title}}\", \"notes\": \"{{notes}}\", \"due\": \"{{due}}\"}",
"placeholders": [
{
"name": "title",
"type": "String",
"description": "Title of the task.",
"required": true
},
{
"name": "notes",
"type": "String",
"description": "Notes for the task.",
"required": false
},
{
"name": "due",
"type": "String",
"description": "Due date in RFC 3339 timestamp format.",
"required": false
}
]
}
},
"update": {
"method": "PUT",
"path": {
"value": "/{{taskId}}",
"placeholders": [
{
"name": "taskId",
"type": "String",
"description": "The task identifier.",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": {
"value": "{\"id\": \"{{taskId}}\", \"title\": \"{{title}}\", \"notes\": \"{{notes}}\", \"status\": \"{{status}}\", \"due\": \"{{due}}\"}",
"placeholders": [
{
"name": "taskId",
"type": "String",
"description": "The task identifier.",
"required": true
},
{
"name": "title",
"type": "String",
"description": "Title of the task.",
"required": false
},
{
"name": "notes",
"type": "String",
"description": "Notes for the task.",
"required": false
},
{
"name": "status",
"type": "String",
"description": "Status of the task (needsAction or completed).",
"required": false
},
{
"name": "due",
"type": "String",
"description": "Due date in RFC 3339 timestamp format.",
"required": false
}
]
}
},
"patch": {
"method": "PATCH",
"path": {
"value": "/{{taskId}}",
"placeholders": [
{
"name": "taskId",
"type": "String",
"description": "The task identifier.",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": {
"value": "{\"title\": \"{{title}}\", \"notes\": \"{{notes}}\", \"status\": \"{{status}}\", \"due\": \"{{due}}\"}",
"placeholders": [
{
"name": "title",
"type": "String",
"description": "Title of the task.",
"required": false
},
{
"name": "notes",
"type": "String",
"description": "Notes for the task.",
"required": false
},
{
"name": "status",
"type": "String",
"description": "Status of the task (needsAction or completed).",
"required": false
},
{
"name": "due",
"type": "String",
"description": "Due date in RFC 3339 timestamp format.",
"required": false
}
]
}
},
"delete": {
"method": "DELETE",
"path": {
"value": "/{{taskId}}",
"placeholders": [
{
"name": "taskId",
"type": "String",
"description": "The task identifier.",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"move": {
"method": "POST",
"path": {
"value": "/{{taskId}}/move",
"placeholders": [
{
"name": "taskId",
"type": "String",
"description": "The task identifier.",
"required": true
}
]
},
"headers": {},
"queryParams": {
"parent": "{{parentTaskId}}",
"previous": "{{previousTaskId}}"
},
"bodyTemplate": null
},
"clear": {
"method": "POST",
"path": {
"value": "/../clear"
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
}
},
"webhooks": [
{
"event": "tasks/created",
"path": "/webhooks/google-tasks/tasks/created",
"payload": [
{ "name": "id", "type": "String", "selector": ["id"], "meta": { "description": "The unique identifier for the task." } },
{ "name": "title", "type": "String", "selector": ["title"], "meta": { "description": "The title of the task." } },
{ "name": "notes", "type": "String", "selector": ["notes"], "meta": { "description": "Notes describing the task." } }
]
},
{
"event": "tasks/updated",
"path": "/webhooks/google-tasks/tasks/updated",
"payload": [
{ "name": "id", "type": "String", "selector": ["id"], "meta": { "description": "The unique identifier for the task." } },
{ "name": "title", "type": "String", "selector": ["title"], "meta": { "description": "The title of the task." } },
{ "name": "status", "type": "String", "selector": ["status"], "meta": { "description": "Status of the task (needsAction, completed)." } },
{ "name": "updated", "type": "String", "selector": ["updated"], "meta": { "description": "Last modification time of the task." } }
]
},
{
"event": "tasks/deleted",
"path": "/webhooks/google-tasks/tasks/deleted",
"payload": [
{ "name": "id", "type": "String", "selector": ["id"], "meta": { "description": "The unique identifier for the task." } }
]
}
]
}
]