categories
Creates a new category.
Changed onCreates a new category. The requestor has to be logged in and with role ADMIN.
post/api/v1/categories
Request
- The document declares no server URL.
- Auth: API key in cookie token
Request body
Example request
{
"name": "React"
}Response
New category created succesfully.
Changes
- info
api operation id
postCategorieswas added
- info
- breaking
the response's body type changed from
objectto no type for status - breaking
removed the required property
from the response with the status - info
added to the response body
anyOflist for the response status - info
removed the non-success response with the status
- breaking