Retrieve a category list
Retrieve a category list.
Authorizations:Token, JWT
Query Parameters
page | integerDefault: 1 The collection page number |
itemsPerPage | integer>= 0Default: 30 The number of items per page |
filter.parent | integer>= 1Filter for "parent" field |
order_by.pos | stringEnum: "asc" "desc" |
Responses
200Category Compact collection
Response schema:
Category Compact collection Array
name | string | ||||||||
cleanUrl | string | ||||||||
showTitle | boolean | ||||||||
icon | object or null | ||||||||
| |||||||||
banner | object or null | ||||||||
| |||||||||
path | Array of objects | ||||||||
Array
| |||||||||
hasSubcategories | boolean | ||||||||
id | integer>= 0 |
401Unauthorized
Response schema:
Unauthorized type | string |
title | string |
detail | string or null |
instance | string or null |
500Internal error
Response schema:
Internal error type | string |
title | string |
detail | string or null |
instance | string or null |