Skip to content

uploads an image

Request

Security
petstore_auth(Required scopes: write:petread:pet)
Path
petIdinteger, (int64)required

ID of pet to update

Query
additionalMetadatastring

Additional Metadata

Bodyapplication/octet-stream
string, (binary)
curl -i -X POST \
  'https://innovario.apishowdown.com/_mock/catalog/api-showdown/api-hub/pet-store/openapi/pet/{petId}/uploadImage?additionalMetadata=string' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/octet-stream' \
  -d string

Responses

successful operation

Bodyapplication/json
codeinteger, (int32)
typestring
messagestring
Response
{ "code": 0, "type": "string", "message": "string" }