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