Axerity

Find pet by ID.

Returns a single pet.

GET /api/v3/pet/{petId}

Authentication

Requires an API key in the header api_key or OAuth2 (scopes write:pets, read:pets).

Path parameters

petId int64 required

(format int64)

Response 200

successful operation

id int64

(format int64)

name string required

No description.

category Category

No description.

photoUrls array of string required

No description.

tags array of Tag

No description.

status enum

pet status in the store (one of available, pending, sold)

Response 400

Invalid ID supplied

Response 404

Pet not found

Response default

Unexpected error

Request
curl -X GET /api/v3/pet/:petId
Response
{  "id": 10,  "name": "doggie",  "category": {    "id": 1,    "name": "Dogs"  },  "photoUrls": [    "string"  ],  "tags": [    {      "id": 0,      "name": "string"    }  ],  "status": "available"}