pet
Find pet by ID
Returns a single pet
get/pet/{petId}
Request
- Base URL: http://petstore.swagger.io/v2
- URL: http://petstore.swagger.io/v2/pet/{petId}
- Auth: API key in header api_key
Path parameters
petIdinteger required
ID of pet to return
Response
successful operation
Example response
{
"name": "doggie"
}Changes
No recorded changes to this operation across all 1 revision of this API.