Adds a category
POST
/api/categories/{type}
Authorizations
api_key
Requests manipulating data need to supply a CSRF token
Type
API Key (header: X-CSRF-Token)
Parameters
Path Parameters
type*
Type
Requiredstring
Pattern
"\\w+"Request Body
application/json
JSON "id": 0, "name": "", "subType": null
{
}
Responses
Success
application/json
JSON "id": 0, "name": "", "subType": null
{
}