pet
Find pet by ID
Returns a single pet
get/pet/{petId}
Request
- Base URL/v3 (relative, and the document’s source URL is not known)
- URL/v3/pet/{petId}
- Auth
- API key in header api_key
- or OAuth 2Implicit: https://petstore.swagger.io/oauth/authorizeScopes: write:pets, read:pets
Path parameters
petIdinteger required
ID of pet to return
Response
successful operation
Example response
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.