Resource URL
Returns an array of tasks
Code Block | ||
---|---|---|
| ||
GET /tasks ANY /tasks?_method=get |
Parameters
Table of allowed paramaters.
_page | unsigned int | The page of the list to display. For example, 5 will display the fifth page. Each page contains 10 resources. |
---|---|---|
_limit | unsigned int | The maximum number of resources to return. Default is 10 and maximum is 50. |
_offset | unsigned int | The position in the list of resources to return from. For example, if you had 20 resources and requested an offset of 10. Resources 10 to 19 would be returned. Offset cannot be used in conjunction with _page . |
_fields | partial string | Allows you to specify optional fields and linked objects to include in the response. |
_filters | partial string | Filter the returned list of tasks using the filters below. |
Filtering tasks
You can filter the returned list using the _filters
parameter. You can stack filters. For example, _filters=assignee(21,3),against(company),manager(2,5)
...
Info |
---|
Using the |
Handling the response
For handling the response, please see GET /tasks:id.
Sample Response
Code Block | ||
---|---|---|
| ||
GET /tasks.json?_fields=date_created,date_started,assignee(email),type(color)&_limit=2 |
...