Logo
1 API Documentation

Finds Pets by tags

GET {{baseUrl}}/pet/findByTags?tags=mag&tags=quis sint

Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.

 

Body PARAM

Key Datatype Required Description 
tags
string (Required) Tags to filter by
tags
string (Required) Tags to filter by



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/findByTags?tags=mag&tags=quis sint?tags=mag&tags=quis sint' -H 'Accept: application/json'

ENDPOINTS