Tasks
Get all Task Types
This endpoint retrieves multiple paginated task types along with meta and pagination information. Returns both network-specific and global (null network_id) task types.
get/todo-types
Request
- Base URLhttps://street.co.uk/open-api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
filter[trashed]'with' | 'only'
Optionally return result WITH deleted results or return ONLY deleted results.
filter[created_from]string date-time
Filter by results created after the provided date.
filter[created_to]string date-time
Filter by results created before the provided date.
filter[updated_from]string date-time
Filter by results updated after the provided date.
filter[updated_to]string date-time
Filter by results updated before the provided date.
page[size]number
Example:25
Set the number of results per page.
page[number]number
Example:3
Set the page number.
Response
OK.
Example response
{
"links": {
"self": "http://localhost:3000/users?page[number]=2&page[size]=25&page[number]=2",
"first": "http://localhost:3000/users?page[number]=2&page[size]=25&page[number]=1",
"next": "http://localhost:3000/users?page[number]=2&page[size]=25&page[number]=1",
"prev": "http://localhost:3000/users?page[number]=2&page[size]=25&page[number]=3",
"last": "http://localhost:3000/users?page[number]=2&page[size]=25&page[number]=9"
},
"meta": {
"pagination": {
"total": 226,
"count": 10,
"per_page": 10,
"current_page": 1,
"total_pages": 23
}
}
}Changes
No recorded changes to this operation across all 7 revisions of this API.