Finds Pets by tags
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
- 200
- 400
successful operation
- application/json
- application/xml
- Schema
- Example (from schema)
Schema
- Array [
- id object
category Category
id int64Category ID
name stringPossible values:
non-empty
Category name
sub object
Test Sub Category
prop1 stringDumb Property
- name string
The name given to a pet
- photoUrls url[]
Possible values:
<= 20
The list of URL to a cute photos featuring pet
- friend circular(pet)
tags Tag[]
Possible values:
>= 1
Tags attached to the pet
Array [id objectname stringPossible values:
non-empty
Tag name
]- status string
Possible values: [
available
,pending
,sold
]Pet status in the store
- cat
- dog
- bee
- huntingSkill string
Possible values: [
clueless
,lazy
,adventurous
,aggressive
]Default value:
lazy
The measured skill for hunting
- packSize int32
Possible values:
>= 1
Default value:
1
The size of the pack the dog is from
- honeyPerDay number
Average amount of honey produced per day in ounces
- ]
Possible values: [cat
, dog
, bee
]
Type of a pet
[
{
"id": 0,
"category": {
"id": 0,
"name": "string",
"sub": {
"prop1": "string"
}
},
"name": "Guru",
"photoUrls": [
"string"
],
"friend": {},
"tags": [
{
"id": 0,
"name": "string"
}
],
"status": "available",
"petType": {
"huntingSkill": "adventurous"
}
}
]
- Schema
- Example (from schema)
Schema
- Array [
- id object
category Category
id int64Category ID
name stringPossible values:
non-empty
Category name
sub object
Test Sub Category
prop1 stringDumb Property
- name string
The name given to a pet
- photoUrls url[]
Possible values:
<= 20
The list of URL to a cute photos featuring pet
- friend circular(pet)
tags Tag[]
Possible values:
>= 1
Tags attached to the pet
Array [id objectname stringPossible values:
non-empty
Tag name
]- status string
Possible values: [
available
,pending
,sold
]Pet status in the store
- cat
- dog
- bee
- huntingSkill string
Possible values: [
clueless
,lazy
,adventurous
,aggressive
]Default value:
lazy
The measured skill for hunting
- packSize int32
Possible values:
>= 1
Default value:
1
The size of the pack the dog is from
- honeyPerDay number
Average amount of honey produced per day in ounces
- ]
Possible values: [cat
, dog
, bee
]
Type of a pet
<0>
<id>0</id>
<category>
<id>0</id>
<name>string</name>
<sub>
<prop1>string</prop1>
</sub>
</category>
<name>Guru</name>
<photoUrls>string</photoUrls>
<friend/>
<tags>
<id>0</id>
<name>string</name>
</tags>
<status>available</status>
<petType>
<huntingSkill>adventurous</huntingSkill>
</petType>
</0>
Invalid tag value