Get
/pet/{petId}
Returns a single pet
Security
API Key: api_key
Header parameter nameapi_key
Path parameters
petId
integer (int64) Required
ID of pet to return
Responses
200
successful operation
object
id
integer (int64)
category
object (Category)
id
integer (int64)
name
string
name
string
Exampledoggie
photoUrls
Array of string
string
tags
Array of object (Tag)
object
id
integer (int64)
name
string
status
string
pet status in the store
Valid values[
"available",
"pending",
"sold"
]
object
id
integer (int64)
category
object (Category)
id
integer (int64)
name
string
name
string
Exampledoggie
photoUrls
Array of string
string
tags
Array of object (Tag)
object
id
integer (int64)
name
string
status
string
pet status in the store
Valid values[
"available",
"pending",
"sold"
]
400
Invalid ID supplied
404
Pet not found