Apache CloudStack 4.15.0.0 Root Admin API Reference
					
                                        
                                        
                                    
                                getUploadParamsForVolume
Upload a data disk to the cloudstack cloud.
Request parameters
| Parameter Name | Description | Required | 
| format | the format for the volume/template. Possible values include QCOW2, OVA, and VHD. | true | 
| name | the name of the volume/template | true | 
| zoneid | the ID of the zone the volume/template is to be hosted on | true | 
| account | an optional accountName. Must be used with domainId. | false | 
| checksum | the checksum value of this volume/template The parameter containing the checksum will be considered a MD5sum if it is not prefixed and just a plain ascii/utf8 representation of a hexadecimal string. If it is required to use another algorithm the hexadecimal string is to be prefixed with a string of the form, "{<algorithm>}", not including the double quotes. In this <algorithm> is the exact string representing the java supported algorithm, i.e. MD5 or SHA-256. Note that java does not contain an algorithm called SHA256 or one called sha-256, only SHA-256. | false | 
| diskofferingid | the ID of the disk offering. This must be a custom sized offering since during upload of volume/template size is unknown. | false | 
| domainid | an optional domainId. If the account parameter is used, domainId must also be used. | false | 
| imagestoreuuid | Image store uuid | false | 
| projectid | Upload volume/template for the project | false | 
Response Tags
| Response Name | Description | 
| id | the template/volume ID | 
| expires | the timestamp after which the signature expires | 
| metadata | encrypted data to be sent in the POST request. | 
| postURL | POST url to upload the file to | 
| signature | signature to be sent in the POST request. |