Path parameters
-
ID of pet to return
GET
/pet/{petId}
curl \
-X GET /api/v3/pet/{petId} \
-H "api_key: $API_KEY"
Response examples (200)
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
},
"photoUrls": [
"string"
],
"tags": [
{
"id": 42,
"name": "string"
}
],
"status": "available"
}
Response examples (200)
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
},
"photoUrls": [
"string"
],
"tags": [
{
"id": 42,
"name": "string"
}
],
"status": "available"
}