Finds Pets by status
Multiple status values can be provided with comma separated strings
Query parameters
-
status string
Status values that need to be considered for filter
Values are
available
,pending
, orsold
. Default value isavailable
.
GET
/pet/findByStatus
curl \
-X GET /api/v3/pet/findByStatus \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
},
"photoUrls": [
"string"
],
"tags": [
{
"id": 42,
"name": "string"
}
],
"status": "available"
}
]
Response examples (200)
[
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
},
"photoUrls": [
"string"
],
"tags": [
{
"id": 42,
"name": "string"
}
],
"status": "available"
}
]