Uploads an image.
POST
/pet/{petId}/uploadImage
Upload image of the pet.
Parameters
| Name | Type | Description |
|---|---|---|
| petId required | integer | ID of pet to update |
| additionalMetadata optional | string | Additional Metadata |
JSON
{
"code": 1,
"type": "string",
"message": "string"
}
Response Codes
200
successful operation
400
No file uploaded
404
Pet not found