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 objectrequired
    category Category
    id int64required

    Category ID

    name stringrequired

    Possible values: non-empty

    Category name

    sub object

    Test Sub Category

    prop1 stringrequired

    Dumb Property

    name stringrequired

    The name given to a pet

    photoUrls url[]required

    Possible values: <= 20

    The list of URL to a cute photos featuring pet

    friend circular(pet)required
    tags Tag[]

    Possible values: >= 1

    Tags attached to the pet

  • Array [
  • id objectrequired
    name stringrequired

    Possible values: non-empty

    Tag name

  • ]
  • status stringrequired

    Possible values: [available, pending, sold]

    Pet status in the store

    petType string

    Possible values: [cat, dog, bee]

    Type of a pet

    huntingSkill stringrequired

    Possible values: [clueless, lazy, adventurous, aggressive]

    Default value: lazy

    The measured skill for hunting

Loading...