Find pet by ID
/pet/{petId}
Returns a single pet
Path Parameters
petId: number
Returns
Find pet by ID
curl https://petstore3.swagger.io/api/v3/pet/$PET_ID \
-H "api_key: $PETSTORE_API_KEY"
{
"name": "doggie",
"photoUrls": [
"string"
],
"id": 10,
"category": {
"id": 1,
"name": "Dogs"
},
"status": "available",
"tags": [
{
"id": 0,
"name": "name"
}
]
}Returns Examples
{
"name": "doggie",
"photoUrls": [
"string"
],
"id": 10,
"category": {
"id": 1,
"name": "Dogs"
},
"status": "available",
"tags": [
{
"id": 0,
"name": "name"
}
]
}