findPetByID
GET {{baseUrl}}/pet/2
This endpoint returns a single pet by passing a petID.
Parameters
Name | Description |
---|---|
petId *integer($int64)(path) | ID of pet to return |
Responses
Code | Description |
---|---|
200 | Successful Operation |
Example | { id: 0, category: { id: 0, name: string }, name: doggie, photoUrls: [ string ], tags: [ { id: 0, name: string } ], status: available } |
404 | Pet not found |
400 | invalid ID supplied |