My Project
  1. pet
My Project
  • Untitled Doc
  • Sample APIs
    • Add a new pet to the store
      POST
    • Update an existing pet
      PUT
    • Finds Pets by status
      GET
    • Find pet by ID
      GET
    • Deletes a pet
      DELETE
  • pet
    • uploads an image
      POST
    • Finds Pets by tags
      GET
    • Updates a pet in the store with form data
      POST
  • store
    • Returns pet inventories by status
      GET
    • Place an order for a pet
      POST
    • Find purchase order by ID
      GET
    • Delete purchase order by ID
      DELETE
  • user
    • Creates list of users with given input array
      POST
    • Get user by user name
      GET
    • Updated user
      PUT
    • Delete user
      DELETE
    • Logs user into the system
      GET
    • Logs out current logged in user session
      GET
    • Creates list of users with given input array
      POST
    • Create user
      POST
  • 👀 A_接口状态_看效果
    • 1_开发中_全参数测试-接口文档默认mock
      POST
  • User
    • Authentication
      • refresh_token_create
      • logoutAllDevices
      • logoutDevice
      • sendOTP
    • Customer
      • AuthenticateCustomer
      • GetCustomerDetails
      • UpdateCustomer
      • DeleteCustomer
  • Location
    • Country
      • ListCountries
    • Region
      • GetRegionByPoint
    • Address
      • ListAddresses
      • CreateAddress
      • UpdateAddress
      • DeleteAddress
  • Wallet
    • listWalletDetails
    • updateWallet
  • FCM
    • Devices
      • devices_list
      • devices_create
      • devices_retrieve
      • devices_update
      • devices_destroy
      • devices_partial_update
    • Notification
      • listNotifications
      • deleteNotification
      • bulkDeleteNotifications
  • AppInfo
    • getSocialAccounts
    • getAppInfo
    • listFaqs
  1. pet

Finds Pets by tags

Deprecated
GET
/pet/findByTags/{a}
pet
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/pet/findByTags/?tags' \
--header 'Cookie: xx=vv' \
--data-urlencode 'pp=p'
Response Response Example
200 - Example 1
[
    {
        "id": 0,
        "category": {
            "id": 1,
            "name": "string"
        },
        "name": "doggie",
        "photoUrls": [
            "string"
        ],
        "tags": [
            {
                "id": 0,
                "name": "string"
            }
        ],
        "status": "available"
    }
]

Request

Path Params
a
array[object (User) {8}] 
required
id
integer <int64>
optional
username
string 
optional
firstName
string 
optional
lastName
string 
optional
email
string 
optional
password
string 
optional
phone
string 
optional
userStatus
integer <int32>
optional
User Status
Query Params
tags
array[object (User) {8}] 
required
Tags to filter by
id
integer <int64>
optional
username
string 
optional
firstName
string 
optional
lastName
string 
optional
email
string 
optional
password
string 
optional
phone
string 
optional
userStatus
integer <int32>
optional
User Status
Header Params
Content-Type
array[object (User) {8}] 
optional
id
integer <int64>
optional
username
string 
optional
firstName
string 
optional
lastName
string 
optional
email
string 
optional
password
string 
optional
phone
string 
optional
userStatus
integer <int32>
optional
User Status
Cookie Params
xx
array[object (User) {8}] 
optional
jbj
id
integer <int64>
optional
username
string 
optional
firstName
string 
optional
lastName
string 
optional
email
string 
optional
password
string 
optional
phone
string 
optional
userStatus
integer <int32>
optional
User Status
Body Params application/x-www-form-urlencoded
pp
array[object (User) {8}] 
optional
p
id
integer <int64>
optional
username
string 
optional
firstName
string 
optional
lastName
string 
optional
email
string 
optional
password
string 
optional
phone
string 
optional
userStatus
integer <int32>
optional
User Status

Responses

🟢200successful operation
application/json
Body
array of:
id
integer <int64>
optional
category
object (Category) 
optional
id
integer <int64>
optional
分类ID编号数据模型不超过1w
>= 1<= 10
name
string 
optional
分类名称
name
string 
required
Example:
doggie
photoUrls
array[string]
required
tags
array[object (Tag) {2}] 
optional
id
integer <int64>
optional
name
string 
optional
status
enum<string> 
optional
pet status in the store
Allowed values:
availablependingsold
🟠400Invalid tag value
Previous
uploads an image
Next
Updates a pet in the store with form data
Built with