List Tasks
Resource URL
Returns a specific task object
Code Block | language | bash
---|
GET /tasks/:id
ANY /tasks/:id?_method=get |
For example,
Code Block |
---|
GET /tasks/100.json |
Would return a json object of task with id 100.
Parameters
Table of allowed paramatersparameters.
_fields | partial string | Allows you to specify optional fields and linked objects to include in the response. |
---|
Handling the response
Below is a table of available response fields and objects that are returned within the response object of the returned object. The optional fields and objects can be requested in the _fields
paramater parameter; see included examples. Underlined values are default.
...
would return the assignee's staff object, including any optional fields or objects within the parenthesis. In the above examples case, it would return the staff objects default values and optional email value.
Sample Response
Code Block | ||
---|---|---|
| ||
GET /tasks/1.json?_fields=date_created,date_started,assignee(email),type(color) |
...