uploadPetImage
POST {{baseUrl}}/pet/2/uploadImage
Uploads an image of a pet
Parameters
Name | Description |
---|---|
petId *integer($int64)(path) | ID of pet to update |
additionalMetadatastring(formData) | Additional data to pass to server |
filefile(formData) | file to upload |
Response
Code | Description |
---|---|
200 | Successful Operation |
415 | Unsupported media type |
Example
json{ "code": 0, "type": "string", "message": "string"
Request Body
[{"name"=>"image", "value"=>nil, "datatype"=>"null"}]