Find pet by ID.
Returns a single pet.
Path parameters
ID of pet to return
Response
successful operation
Example response
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
}
}Changes
Changed in 1 of the 53 revisions of this API.342
- ▲
removed the media type
application/xmlfor the response with the statusdefaultresponse-media-type-removed
- ▲
removed the required property
namefrom the response with thedefaultstatusresponse-required-property-removed
- ▲
removed the required property
photoUrlsfrom the response with thedefaultstatusresponse-required-property-removed
- ●
removed the optional property
categoryfrom the response with thedefaultstatusresponse-optional-property-removed
- ●
removed the optional property
idfrom the response with thedefaultstatusresponse-optional-property-removed
- ●
removed the optional property
statusfrom the response with thedefaultstatusresponse-optional-property-removed
- ●
removed the optional property
tagsfrom the response with thedefaultstatusresponse-optional-property-removed
- ○
added the required property
codeto the response with thedefaultstatusresponse-required-property-added
- ○
added the required property
messageto the response with thedefaultstatusresponse-required-property-added
- ▲