pet
Finds Pets by status.
Multiple status values can be provided with comma separated strings.
get/pet/findByStatus
Query parameters
status'available' | 'pending' | 'sold' required
Status values that need to be considered for filter
Response
successful operation
Example response
[
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
}
}
]Changes
Changed in 2 of the 53 revisions of this API.32
- ▲
the
queryrequest parameterstatusbecame requiredrequest-parameter-became-required
- ▲
- ▲
the response's body type changed from
arraytoobjectfor statusresponse-body-type-changed
- ▲
removed the media type
application/xmlfor the response with the statusresponse-media-type-removed
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ▲