uploads an image

Securitypetstore_auth
Request
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
Request samples
Response samples
application/json
{
  • "code": 0,
  • "type": "string",
  • "message": "string"
}