Find pet by ID.
GET
/pet/{petId}
Returns a single pet.
Parameters
| Name | Type | Description |
|---|---|---|
| petId required | integer | ID of pet to return |
JSON
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
},
"photoUrls": [
"string"
],
"tags": [
{
"id": 1,
"name": "string"
}
],
"status": "available"
}
Response Codes
200
successful operation
400
Invalid ID supplied
404
Pet not found