Skip to content
Blume is now publicly available.
Blume
Esc
navigateopen⌘Jpreview

Uploads an image.

Upload image of the pet.

POST/pet/{petId}/uploadImage
Path parameters
petIdinteger<int64>required
ID of pet to update
Query parameters
additionalMetadatastring
Additional Metadata
Request body
application/octet-stream
any
Responses
200successful operation
codeinteger<int32>
typestring
messagestring
400No file uploaded
404Pet not found
defaultUnexpected error
Request
curl -X POST "/api/v3/pet/0/uploadImage" \
  -H "Content-Type: application/octet-stream" \
  -d 'null'
Response
{
  "code": 0,
  "type": "string",
  "message": "string"
}