tasks.projects.getList
Returns the list of all projects available to a user.
Parameters
-
format
GET
Optional
Sets response format. Available options:
json
(default),xml
.
Return value
Array with the following keys:
- data array Project list. Each list item is an array with the following keys:
- data[]['id'] int Project ID.
- data[]['name'] string Project name.
- data[]['color'] string Color name to highlight tasks.
- data[]['contact'] array The properties of the user who has created the project as an array with the following keys:
- data[]['contact']['id'] int User ID.
- data[]['contact']['is_me'] bool Flag denoting that the project has been created by the current user.
- data[]['contact']['name'] string User name.
- data[]['contact']['photo_url'] string URL of a 96x96 pixels large user image.
- data[]['counts'] array Array of task counters for this project with the following keys:
- data[]['counts']['active'] int Number of active tasks.
- data[]['counts']['active_priority'] int Number of active tasks with a high priority.
- data[]['counts']['closed'] int Number of closed tasks.
- data[]['counts']['total'] int Total number of tasks.
- data[]['create_datetime'] string Project creation data and time in the ISO 8601 format.
- data[]['icon'] string Logo URL.
- data[]['sort'] int Sort value.
- total_count int The number of projects in the list.