Uploads an image.
Upload image of the pet.
POST
/api/v3/pet/{petId}/uploadImage Authentication
Requires OAuth2 (scopes write:pets, read:pets).
Path parameters
petId int64 required (format int64)
Query parameters
additionalMetadata string Additional Metadata
Body parameters
Response 200
successful operation
code int32 (format int32)
type string No description.
message string No description.
Response 400
No file uploaded
Response 404
Pet not found
Response default
Unexpected error
Request
curl -X POST /api/v3/pet/:petId/uploadImage \ -H "Content-Type: application/octet-stream" \ -d '"string"'Response
{ "code": 0, "type": "string", "message": "string"}