Create a new category
Changed onpost/categories
Request
- Base URLhttps://api.boyahq.com/v1
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Created
Example response
{
"status": "ACTIVE",
"subcategories": [
{
"status": "ACTIVE"
}
]
}Changes
- breaking
the
response's property type changed fromintegertonumberfor status - breaking
the
//response's property type changed fromintegertonumberfor status - info
added the new optional request property
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
removed the
ACTIVEenum value from theresponse property for the response status - info
removed the
ACTIVEenum value from the//response property for the response status - info
removed the
ARCHIVEDenum value from theresponse property for the response status - info
removed the
INACTIVEenum value from the//response property for the response status
- breaking