POST /users/{uid}/imports/{iid}/uploads
Summary
- Method:
POST
- Response Code:
201
- Response Formats:
application/xml
application/json
- Since:
UForge 3.5
Upload the appliance archive. <p/>
In order to upload an archive, an appliance import ticket
must first be created by using appliance-import
. <p/>
Once the upload is complete, the platform extracts the archive and creates an appliance from the archive contents. This is an asynchronous job. To get the status of this import, use applianceImportStatus-get
- Requires Authentication:
true
- Entitlements Required:
appliance_create
uid
(required): the user name (login name) of theuser-object
iid
(required): the id of theapplianceimport-object
ticket
The file to upload.
curl "https://uforge.example.com/api/users/{uid}/imports/{iid}/uploads" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"-H "Content-type: application/xml" --data-binary "@binaryFilePath"
appliance-object
applianceImportStatus-get
applianceImport-delete
applianceImport-get
applianceImport-getAll
applianceImport-getAllStatus
appliance-import
applianceimport-object