Skip to content

find pet by id

GET
/pets/{id}

Returns a user based on a single ID, if the user does not have access to the pet

Parameters

Path Parameters

id
required
integer format: int64

ID of pet to fetch

Query Parameters

age
integer format: int32

Age of pet to fetch

Responses

200

Pet response

object
name
required
string
tag
string
id
required
integer format: int64

default

Unexpected error

object
code
required
integer format: int32
message
required
string