Info for a specific pet
Path parameters
-
The id of the pet to retrieve
GET
/pets/{petId}
curl \
-X GET http://petstore.swagger.io/v1/pets/{petId}
Response examples (200)
{
"id": 42,
"name": "string",
"tag": "string"
}
Response examples (200)
{
"id": 42,
"name": "string",
"tag": "string"
}
Response examples (default)
{
"code": 42,
"message": "string"
}
Response examples (default)
{
"code": 42,
"message": "string"
}