Try it

uploads an image

Authorizations:
petstore_auth (write:petsread:pets)
path Parameters
petId
required
integer <int64>

ID of pet to update

Request Body schema: multipart/form-data
additionalMetadata
string

Additional data to pass to server

file
string <binary>

file to upload

Responses

200

successful operation

post/pet/{petId}/uploadImage
http://petstore.swagger.io/v2/pet/{petId}/uploadImage

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "code": 0,
  • "type": "string",
  • "message": "string"
}