getPetByStatus
GET {{baseUrl}}/pet/findByStatus?status=pending
Find pets by status
Multiple status values can be provided with comma separated strings
Parameters
| Name | Description |
|---|---|
| status *array[string](query) | Status values that need to be considered for filter Available values : available, pending, sold |
Response
| Code | Description |
|---|---|
| 200 | Successful Operation |
| 400 | Invalid status value |
Example
|
json[ { "id": 0, "category": { "id": 0, "name": "string" }, "name": "doggie", "photoUrls": [ "string" ], "tags": [ { "id": 0, "name": "string" } ], "status": "available" }]
|
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
status | string |