Swagger Petstore1.0.7OAS 2.0

[ Base URL: petstore.swagger.io/v2 ]

https://petstore.swagger.io/v2/swagger.json

This is a sample server Petstore server. You can find out more about Swagger at http://swagger.io or on irc.freenode.net, #swagger. For this sample, you can use the api key special-key to test the authorization filters.

petEverything about your PetsFind out more

POST/pet/{petId}/uploadImageuploads an image🔒▼
POST/petAdd a new pet to the store🔒▲

Parameters

NameDescription
body*
object
(body)
Pet object that needs to be added to the store
Example ValueModel
{
  "id": 0,
  "category": {
    "id": 0,
    "name": "string"
  },
  "name": "doggie",
  "photoUrls": [
    "string"
  ],
  "tags": [
    {
      "id": 0,
      "name": "string"
    }
  ],
  "status": "available"
}

ResponsesResponse content type

CodeDescription
405Invalid input
PUT/petUpdate an existing pet🔒▼
GET/pet/findByStatusFinds Pets by status🔒▼
GET/pet/findByTagsFinds Pets by tags🔒▼
GET/admin/usersGet admin user information🔒▼