xujamynudane
  1. pet
xujamynudane
  • Start your Apidog journey
  • télécharger pdf The Adventures Of Tom Sawyer
  • TÉLÉCHARGEMENTS Un nouveau souffle
  • pet
    • Find pet by ID
      GET
    • Finds Pets by status
      GET
    • Finds Pets by tags
      GET
    • uploads an image
      POST
    • Add a new pet to the store
      POST
    • Update an existing pet
      PUT
    • Updates a pet in the store with form data
      POST
    • Deletes a pet
      DELETE
  • 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
    • Update 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
  1. pet

Finds Pets by tags

Deprecated
GET
/pet/findByTags
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.

Request

Authorization
OAuth 2.0
Implicit
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Authorize URL: https://petstore.swagger.io/oauth/authorize
Scopes:
read:pets-read your pets
write:pets-modify pets in your account
or
Query Params

Responses

🟢200OK
application/json
successful operation
Body

🟠400Bad Request
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/pet/findByTags?tags'
Response Response Example
200 - Example 1
[
    {
        "id": 9638600,
        "category": {
            "id": -71616005,
            "name": "Wm Veum"
        },
        "name": "doggie",
        "photoUrls": [
            "https://loremflickr.com/400/400?lock=6246723472646079",
            "https://loremflickr.com/400/400?lock=6335459515409878",
            "https://loremflickr.com/400/400?lock=6471337726788148"
        ],
        "tags": [
            {
                "id": -48080512,
                "name": "Misty Muller"
            }
        ],
        "status": "sold"
    },
    {
        "id": 76221140,
        "category": {
            "id": 83516395,
            "name": "Guadalupe Lindgren"
        },
        "name": "doggie",
        "photoUrls": [
            "https://loremflickr.com/400/400?lock=5248707108342490",
            "https://loremflickr.com/400/400?lock=32052187736587"
        ],
        "tags": [
            {
                "id": 62605359,
                "name": "Clinton Schneider"
            },
            {
                "id": -93861836,
                "name": "Luis O'Conner Sr."
            },
            {
                "id": 35862133,
                "name": "Garry Ziemann"
            }
        ],
        "status": "available"
    },
    {
        "id": -37413887,
        "category": {
            "id": -91701265,
            "name": "Sophia Ankunding"
        },
        "name": "doggie",
        "photoUrls": [
            "https://loremflickr.com/400/400?lock=1423305805589257"
        ],
        "tags": [
            {
                "id": -63678106,
                "name": "Angelina Beer"
            }
        ],
        "status": "pending"
    }
]
Modified at 2025-08-29 23:44:10
Previous
Finds Pets by status
Next
uploads an image
Built with