Get tasks in a project
Returns all tasks for the selected project. When the requested view is a kanban view, a list of buckets containing the tasks will be returned. Otherwise, a list of tasks will be returned.
Path parameters
The project ID.
The project view ID.
Query parameters
The page number. Used for pagination. If not provided, the first page of results is returned.
The maximum number of items per page. Note this parameter is limited by the configured maximum of items per page.
Search tasks by task text.
The sorting parameter. You can pass this multiple times to get the tasks ordered by multiple different parametes, along with order_by. Possible values to sort by are id, title, description, done, done_at, due_date, created_by_id, project_id, repeat_after, priority, start_date, end_date, hex_color, percent_done, uid, created, updated, relevance. relevance sorts by search relevance (most relevant first, requires s; ignored when the database cannot score the query). Default is id.
The ordering parameter. Possible values to order by are asc or desc. Default is asc.
The filter query to match tasks by. Check out https://vikunja.io/docs/filters for a full explanation of the feature.
The time zone which should be used for date match (statements like
If set to true the result will include filtered fields whose value is set to null. Available values are true or false. Defaults to false.
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 tasks