categories

Creates a new category.

Changed on

Creates 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

namestring required

Example request

{
  "name": "React"
}

Response

New category created succesfully.

Changes

    • info

      api operation id postCategories was added

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      removed the required property from the response with the status

    • info

      added to the response body anyOf list for the response status

    • info

      removed the non-success response with the status