Categories

Get categories

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
onlystringOptionalExample: id,name
Responses
200

OK

application/json
get
/categories
200

OK

Add a category

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
and
anyOptionalExample: {"base_language":"22","type":"category","icon":"tag","color":"","parent_id":5,"translations":{},"tag":"test243","slug":"test243"}
Responses
post
/categories

Get one category

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

OK

application/json
get
/categories/100

Edit category

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
and
anyOptionalExample: {"base_language":"22","type":"category","icon":"tag","color":"","parent_id":5,"translations":{},"tag":"test2458","slug":"test2436"}
Responses
200

OK

application/json
put
/categories/70

Delete category

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

OK

application/json
delete
/categories/6