Skip to main content

Finds Pets by tags

:::caution deprecated

This endpoint has been deprecated and may be removed in future versions of the API.

:::

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

Query Parameters

tags

string[]

REQUIRED

Tags to filter by

Responses

200

successful operation

Schema

OPTIONAL

Pet[]

id

int64

OPTIONAL

Pet ID

category

Category

OPTIONAL

Categories this pet belongs to

id

int64

OPTIONAL

Category ID

name

string

OPTIONAL

Possible values: 1 ≤ length

Category name

sub

object

OPTIONAL

Test Sub Category

prop1

string

OPTIONAL

Dumb Property

name

string

The name given to a pet

photoUrls

url[]

The list of URL to a cute photos featuring pet

friend

(circular)

OPTIONAL

tags

Tag[]

OPTIONAL

Tags attached to the pet

id

int64

OPTIONAL

Tag ID

name

string

OPTIONAL

Possible values: 1 ≤ length

Tag name

status

string

OPTIONAL

Possible values: [available, pending, sold]

Pet status in the store

petType

string

OPTIONAL

Type of a pet

400

Invalid tag value