Finds Pets by status.
GET/pet/findByStatus
Multiple status values can be provided with comma separated strings.
Request
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
status | string Enum: available, pending, sold Default: "available" | required | Status values that need to be considered for filter |
Body
No request body
Responses
application/jsonapplication/xml
Array of:
idinteger(int64)Example: 10
integer (int64)
namestringExample: "doggie"
string
categoryobjectidinteger(int64)Example: 1
integer (int64)
namestringExample: "Dogs"
string
photoUrlsarrayArray of:
string
tagsarrayArray of:
idinteger(int64)integer (int64)
namestringstring
statusstringpet status in the store
string
pet status in the store
Array of:
idinteger(int64)Example: 10
integer (int64)
namestringExample: "doggie"
string
categoryobjectidinteger(int64)Example: 1
integer (int64)
namestringExample: "Dogs"
string
photoUrlsarrayArray of:
string
tagsarrayArray of:
idinteger(int64)integer (int64)
namestringstring
statusstringpet status in the store
string
pet status in the store
Response Info
Status Code:200
Description:successful operation
Content Types:
application/jsonapplication/xml