Path parameters
-
ID of pet to return
GET /pet/{petId}
curl \
-X GET /v3/pet/{petId} \
-H "api_key: $API_KEY"
Response examples (200)
<?xml version="1.0" encoding="UTF-8"?>
<root>
<id type="integer">10</id>
<name>doggie</name>
<category>
<id type="integer">1</id>
<name>Dogs</name>
</category>
<photoUrls type="array">
<photoUrl>string</photoUrl>
</photoUrls>
<tags type="array">
<tag>
<id type="integer">42</id>
<name>string</name>
</tag>
</tags>
<status>available</status>
</root>
Response examples (200)
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
},
"photoUrls": [
"string"
],
"tags": [
{
"id": 42,
"name": "string"
}
],
"status": "available"
}