Finds Pets by status
GET
/pet/findByStatusRequest
Query Params
status
string
required
Status values that need to be considered for filter
Example:
success
Request samples
Responses
OK(200)
Invalid status value(400)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
$ref(#/definitions/635879)[]
optional
#/definitions/635879
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"
}
]
}
Modified at 9 months ago