Retrieve a category list
Retrieve a category list
Authorizations:Token, JWT
Query Parameters
page | integerDefault: 1 The collection page number |
itemsPerPage | integer[0 .. 100]Default: 30 The number of items per page |
pagination | booleanEnable or disable pagination |
filter.parent | integer>= 1Filter for "parent" field |
order_by.pos | stringEnum: "asc" "desc" Order rule for "pos" field |
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>= 1 |
401Unauthorized
Response schema:
Unauthorized type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
title | stringExample: "An error occurred" |
detail | string or nullExample: "Cannot find entity" |
instance | string or null |
500Internal error
Response schema:
Internal error type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
title | stringExample: "An error occurred" |
detail | string or nullExample: "Cannot find entity" |
instance | string or null |