Axerity

The Pet object

A Pet is an animal listed in the store.

Pet endpoints are protected by petstore_auth (OAuth2) with the read:pets and write:pets scopes. Reads also accept an api_key header.

Attributes

id integer

Unique id for the pet. Read only.

name string required

The pet’s name, such as doggie.

category Category

The category this pet belongs to.

photoUrls array of strings required

URLs of the pet’s photos.

tags array of Tag

Tags attached to the pet.

status enum

Pet status in the store.

Possible enum values
available
Available for purchase.
pending
Reserved, sale in progress.
sold
Already sold.
The Pet object
{	"id": 10,	"name": "doggie",	"category": { "id": 1, "name": "Dogs" },	"photoUrls": ["https://example.com/photos/doggie.png"],	"tags": [{ "id": 1, "name": "friendly" }],	"status": "available"}