Finds Pets by status
GET
/pet/findByStatusRequest
Query Params
status
string
required
Status values that need to be considered for filter
Request samples
Responses
OK(200)
Invalid status value(400)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
$ref(#/definitions/4168524)[]
optional
#/definitions/4168524
optional
Example
{
"code": 0,
"data": [
{
"name": "Hello Kitty",
"photoUrls": [
"http://dummyimage.com/400x400"
],
"id": 3,
"category": {
"id": 71,
"name": "Cat"
},
"tags": [
{
"id": 22,
"name": "Cat"
}
],
"status": "sold"
},
{
"name": "White Dog",
"photoUrls": [
"http://dummyimage.com/400x400"
],
"id": 3,
"category": {
"id": 71,
"name": "Dog"
},
"tags": [
{
"id": 22,
"name": "Dog"
}
],
"status": "sold"
}
]
}
Last modified: 10 days ago