Uploads an image

POST /pet/{petId}/uploadImage

Path parameters

  • petId integer(int64) Required

    ID of pet to update

Query parameters

Responses

  • successful operation

    Hide response attributes Show response attributes object
POST /pet/{petId}/uploadImage
curl \
 -X POST /api/v3/pet/{petId}/uploadImage \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/octet-stream" \
 -d '"@file"'
Request example
"@file"
Request examples
@file
Response examples (200)
{
  "code": 42,
  "type": "string",
  "message": "string"
}
Response examples (200)
{
  "code": 42,
  "type": "string",
  "message": "string"
}