uploads an image

Request
Security:
petstore_auth (write:petsread:pets)
path Parameters
petId
required
integer <int64>

ID of pet to update

Request Body schema: application/octet-stream
string <binary>
Responses
200

successful operation

post/pet/{petId}/uploadImage
Response samples
application/json
{
  • "code": 0,
  • "type": "string",
  • "message": "string"
}