Find Pets By Tags

Find Pets By Tags

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

Request
URI
GET
https://petstore3.swagger.io/pet/findByTags
COPY
Query Parameters
string of array
tags
Optional

Tags to filter by


Authentication
This operation uses the following authentication methods.
Responses
200

successful operation

[
    {
        "id": 10,
        "name": "doggie",
        "category": {
            "id": 1,
            "name": "Dogs"
        },
        "photoUrls": [
            "string"
        ],
        "tags": [
            {
                "0": "P",
                "1": "e",
                "2": "t",
                "3": " ",
                "4": "O",
                "5": "b",
                "6": "j",
                "7": "e",
                "8": "c",
                "9": "t",
                "id": 0,
                "name": "string"
            }
        ],
        "status": "string"
    }
]
array of Pet
Optional

400

Invalid tag value

Operation doesn't return any data structure

default

Unexpected error

Returns Error of type(s) application/json
"Error Object"
string
code
Required

code

string
message
Required

message


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/pet/findByTags