Logo
1 API Documentation

Finds Pets by status

GET {{baseUrl}}/pet/findByStatus?status=available&status=available

Multiple status values can be provided with comma separated strings

 

Body PARAM

Key Datatype Required Description 
status
string (Required) Status values that need to be considered for filter
status
string (Required) Status values that need to be considered for filter



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

[ { "name": "doggie", "photoUrls": [ "et incididunt", "veniam labore" ], "id": 90009445, "category": { "id": 87680012, "name": "aute sed do" }, "tags": [ { "id": 50524583, "name": "commodo enim deserunt cillum minim" }, { "id": -25727946, "name": "esse cillum aliquip sint dolor" } ], "status": "sold" }, { "name": "doggie", "photoUrls": [ "ipsum exercitation voluptate", "fugiat eu Lorem aliqui" ], "id": 59370268, "category": { "id": 97652585, "name": "nostrud et ea deser" }, "tags": [ { "id": 67508551, "name": "in eiusmod cupidatat" }, { "id": -47711591, "name": "cupidatat dolor Duis id" } ], "status": "available" } ]



Curl
curl -X GET 'https://petstore.swagger.io/v2/pet/findByStatus?status=available&status=available?status=available&status=available' -H 'Accept: application/json'

ENDPOINTS