Finds Pets by tags
GET/pet/findByTags
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
Request
Query Parameters
tags string[]
Tags to filter by
Responses
- 200
- 400
successful operation
- application/xml
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
id int64
name stringrequired
category category
id int64
name string
photoUrls string[]required
tags tag[]
id int64
name string
status string
Possible values: [available
, pending
, sold
]
pet status in the store
<0>
<id>10</id>
<name>doggie</name>
<category>
<id>1</id>
<name>Dogs</name>
</category>
<photoUrls>string</photoUrls>
<tags>
<id>0</id>
<name>string</name>
</tags>
<status>available</status>
</0>
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
id int64
name stringrequired
category category
id int64
name string
photoUrls string[]required
tags tag[]
id int64
name string
status string
Possible values: [available
, pending
, sold
]
pet status in the store
[
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
},
"photoUrls": [
"string"
],
"tags": [
{
"id": 0,
"name": "string"
}
],
"status": "available"
}
]
Invalid tag value
Loading...