Categories

Create a new category

Changed on

Creates a new category using the provided form data. The category name is required.

post/api/v1/categories

Request

Request body

siteIdstring
inodestring
parentstring
descriptionstring
keywordsstring
keystring
categoryNamestring required
activeboolean
sortOrderinteger
categoryVelocityVarNamestring

Response

Category created successfully

i18nMessagesMapobject
permissionsstring[]

Changes

    • breaking

      request body became required

    • breaking

      removed the media type */* from the request body

    • info

      api operation id saveNew removed and replaced with createCategory

    • info

      api tag Categories added

    • info

      added the media type application/json to the request body

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the success response with the status