Skip to main content

Find pet by ID

GET 

/pet/:petId

Returns a single pet

Request

Path Parameters

    petId int64required

    ID of pet to return

Responses

successful operation

Schema
    id int64
    name stringrequired
    category category
    id int64
    name string
    photoUrls string[]required
    tags tag[]
  • Array [
  • id int64
    name string
  • ]
  • status string

    Possible values: [available, pending, sold]

    pet status in the store

Loading...