Skip to content

uploads an image

Request

Security
petstore_auth(Required scopes: write:petsread:pets)
Path
petIdinteger, (int64)required

ID of pet to update

Bodyapplication/octet-stream
string, (binary)
curl -i -X POST \
  'https://innovario.apishowdown.com/_mock/petstore/pet/{petId}/uploadImage' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/octet-stream' \
  -d string

Responses

successful operation

Bodyapplication/json
codeinteger, (int32)
typestring
messagestring
^S_\\w+\\.[1-9]{2,4}$anypattern property
One of:

The measured skill for hunting

fieldName === 'status'
Enum:"success""failed"
^O_\\w+\\.[1-9]{2,4}$objectpattern property
Response
{ "code": 0, "type": "string", "message": "string" }