Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Request: (this is a POST request)
    • params: json string of params returned from previous getUploadParams api call file: file to upload
    • file: the location of the template/volume to be posted a multipart/form-data
  • Response: 
    • '200 OK' on successful upload
    • '401 Authorization error' incase the signature key validation or any other validation failed
    • '500 internal server' incase the file upload fails

At any point while this post is active, the api user should be able to call the listtemplates/listvolumes api to get the upload installation status of the template.

If the template failed to upload(401 or 500 above), the user should request for a new upload url and upload it again.  

Example

management server api: 

...