Pet Store
  1. pet
Pet Store
  • pet
    • Find pet by ID
      GET
    • Update an existing pet
      PUT
    • Add a new pet to the store
      POST
    • Finds Pets by status
      GET
    • Finds Pets by tags
      GET
    • Updates a pet in the store with form data
      POST
    • Deletes a pet
      DELETE
    • uploads an image
      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
    • Create user
      POST
    • Creates list of users with given input array
      POST
    • Logs user into the system
      GET
    • Logs out current logged in user session
      GET
    • Get user by user name
      GET
    • Update user
      PUT
    • Delete user
      DELETE
  1. pet

uploads an image

POST
/pet/{petId}/uploadImage
pet
Request Request Example
Shell
JavaScript
Java
Swift
Response Response Example
{
    "code": 0,
    "type": "string",
    "message": "string"
}

Request

Path Params
petId
integer 
required
ID of pet to update
Query Params
additionalMetadata
string 
optional
Additional Metadata
Body Params application/octet-stream
Not configured

Responses

🟢200successful operation
application/json
Body
code
integer <int32>
optional
type
string 
optional
message
string 
optional
Previous
Deletes a pet
Next
Returns pet inventories by status
Built with