vk_get_projects_59d26cf6f54d
Fetch tasks from a Vikunja project view using filters, sorting, and pagination. Returns a list of tasks or kanban buckets.
Instructions
Get tasks in a project. Raw Vikunja REST proxy for GET /projects/{id}/views/{view}/tasks. 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. This endpoint does not usually require a request body. Path and query parameters are top-level fields. Original parameter names also accept camelCase and snake_case aliases. Authentication is required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| s | No | Search tasks by task text. Optional. | |
| id | No | The project ID. Required. | |
| page | No | The page number. Used for pagination. If not provided, the first page of results is returned. Optional. | |
| view | No | The project view ID. Required. | |
| expand | No | 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. Optional. | |
| filter | No | The filter query to match tasks by. Check out https://vikunja.io/docs/filters for a full explanation of the feature. Optional. | |
| sortBy | No | 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`. Default is `id`. Optional. | |
| orderBy | No | The ordering parameter. Possible values to order by are `asc` or `desc`. Default is `asc`. Optional. | |
| perPage | No | The maximum number of items per page. Note this parameter is limited by the configured maximum of items per page. Optional. | |
| sort_by | No | 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`. Default is `id`. Optional. | |
| order_by | No | The ordering parameter. Possible values to order by are `asc` or `desc`. Default is `asc`. Optional. | |
| per_page | No | The maximum number of items per page. Note this parameter is limited by the configured maximum of items per page. Optional. | |
| filterTimezone | No | The time zone which should be used for date match (statements like Optional. | |
| filter_timezone | No | The time zone which should be used for date match (statements like Optional. | |
| filterIncludeNulls | No | 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`. Optional. | |
| filter_include_nulls | No | 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`. Optional. |