task
Get one task
Changed onReturns one task by its ID
get/tasks/{id}
Request
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v1/tasks/{id}
- AuthAPI key in header Authorization
Path parameters
idinteger required
The task ID
Query parameters
expandstring
If set to subtasks, Vikunja will fetch only tasks which do not have subtasks and then in a second step, will fetch all of these subtasks. This may result in more tasks than the pagination limit being returned, but all subtasks will be present in the response. If set to buckets, the buckets of each task will be present in the response. If set to reactions, the reactions of each task will be present in the response. If set to comments, the first 50 comments of each task will be present in the response. You can set this multiple times with different values.
Response
The task
Changes
- info
added the new optional
queryrequest parameterexpand
- info