Categories
Manage the species and breed categories used to classify pets.
Authorizations
AuthorizationstringRequired
Pass your API key as a Bearer token in the Authorization header.
Responses
200
An array of categories.
application/json
namestringRequiredExample:
The category name (e.g. Dog, Cat, Rabbit).
DogdescriptionstringOptionalExample:
A short description of the category.
Domestic dogs of all breeds.idinteger · int64RequiredExample:
Unique identifier assigned on creation.
1401
Missing or invalid API key.
application/json
get
/categoriesAuthorizations
AuthorizationstringRequired
Pass your API key as a Bearer token in the Authorization header.
Body
namestringRequiredExample:
The category name (e.g. Dog, Cat, Rabbit).
DogdescriptionstringOptionalExample:
A short description of the category.
Domestic dogs of all breeds.Responses
201
Category created successfully.
application/json
400
The request body is missing required fields or contains invalid values.
application/json
401
Missing or invalid API key.
application/json
post
/categoriesLast updated