Uploads an image

POST /pet/{petId}/uploadImage

Path parameters

  • petId integer(int64) Required

    ID of pet to update

Query parameters

application/octet-stream

Responses

  • 200 application/json

    successful operation

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