pet
Finds Pets by status.
Changed onMultiple status values can be provided with comma separated strings.
get/pet/findByStatus
Request
- Base URL: https://petstore3.swagger.io/api/v3
- URL: https://petstore3.swagger.io/api/v3/pet/findByStatus
- Auth: OAuth 2 (implicit, authorization URL https://petstore3.swagger.io/oauth/authorize, scopes: write:pets, read:pets)
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
- breaking
the
queryrequest parameterstatusbecame required
- breaking
- breaking
the response's body type changed from
arraytoobjectfor status - breaking
removed the media type
application/xmlfor the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking