Returns all the authenticated user's task lists. A user can have up to 2000 lists at a time.
HTTP request
GET https://tasks.googleapis.com/tasks/v1/users/@me/lists
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters | |
---|---|
max |
Maximum number of task lists returned on one page. Optional. The default is 20 (max allowed: 100). |
page |
Token specifying the result page to return. Optional. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"kind": string,
"etag": string,
"nextPageToken": string,
"items": [
{
object ( |
Fields | |
---|---|
kind |
Type of the resource. This is always "tasks#taskLists". |
etag |
ETag of the resource. |
next |
Token that can be used to request the next page of this result. |
items[] |
Collection of task lists. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/tasks
https://www.googleapis.com/auth/tasks.readonly
For more information, see the Authorization guide.
TaskLists
JSON representation |
---|
{
"kind": string,
"etag": string,
"nextPageToken": string,
"items": [
{
object ( |
Fields | |
---|---|
kind |
Type of the resource. This is always "tasks#taskLists". |
etag |
ETag of the resource. |
next |
Token that can be used to request the next page of this result. |
items[] |
Collection of task lists. |