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
id int64

Pet ID

category Category

Categories this pet belongs to

id int64

Category ID

name string

Possible values: 1 ≤ length

Category name

sub object

Test Sub Category

prop1 string

Dumb Property

name string REQUIRED

The name given to a pet

photoUrls url[] REQUIRED

The list of URL to a cute photos featuring pet

friend (circular)
tags Tag[]

Tags attached to the pet

id int64

Tag ID

name string

Possible values: 1 ≤ length

Tag name

status string

Possible values: [available, pending, sold]

Pet status in the store

petType string

Type of a pet

400

Invalid ID supplied

404

Pet not found