Find pet by ID.
/pet/{petId}
Find pet by ID.
Path Parameters
petId: number
formatint64
Returns
Find pet by ID.
curl /api/v3/pet/$PET_ID \
-H "Authorization: Bearer $BARKEND_API_KEY"
{
"error": {
"id": "invalid_id",
"message": "Invalid ID supplied"
}
}
{
"error": {
"id": "not_found",
"message": "Pet not found"
}
}
Returns Examples
{
"error": {
"id": "invalid_id",
"message": "Invalid ID supplied"
}
}
{
"error": {
"id": "not_found",
"message": "Pet not found"
}
}