Category

Create a new category

Creates a new category with the provided name and optional synopsis

post/api/category

Request

Request body

namestring required

Name of the category

synopsisstring nullable

Brief description of the category

Example request

{
  "name": "Automotive",
  "synopsis": "Automotive industry brands and companies"
}

Response

Category created successfully

idinteger
namestring
synopsisstring nullable
created_atstring date-time
updated_atstring date-time

Example response

{
  "id": 1,
  "name": "Automotive"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.