Skip to main content

Find pet by ID

Returns a single pet

Path Parameters

petId

int64

REQUIRED

ID of pet to return

Responses

200

successful operation

Schema

OPTIONAL

id

int64

OPTIONAL

Pet ID

category

Category

OPTIONAL

Categories this pet belongs to

id

int64

OPTIONAL

Category ID

name

string

OPTIONAL

Possible values: 1 ≤ length

Category name

sub

object

OPTIONAL

Test Sub Category

prop1

string

OPTIONAL

Dumb Property

name

string

The name given to a pet

photoUrls

url[]

The list of URL to a cute photos featuring pet

friend

(circular)

OPTIONAL

tags

Tag[]

OPTIONAL

Tags attached to the pet

id

int64

OPTIONAL

Tag ID

name

string

OPTIONAL

Possible values: 1 ≤ length

Tag name

status

string

OPTIONAL

Possible values: [available, pending, sold]

Pet status in the store

petType

string

OPTIONAL

Type of a pet

400

Invalid ID supplied

404

Pet not found