POST /users/{uid}/bundleimports/{sbid}/uploads
Summary
- Method:
POST
- Response Code:
201
- Response Formats:
application/xml
application/json
- Since:
UForge 3.6
Upload the software bundle archive.
In order to upload an archive, a software bundle import ticket
must first be created by using softwareBundle-import
.
Once the upload is complete, the platform extracts the archive and creates a software bundle from the archive contents. This is an asynchronous job. To get the status of this import, use softwareBundleImportStatus-get
- Requires Authentication:
true
- Entitlements Required:
appliance_create
uid
(required): the user name (login name) of theuser-object
sbid
(required): the id of thesoftwarebundleimport-object
ticket
The file to upload.
curl "https://uforge.example.com/api/users/{uid}/bundleimports/{sbid}/uploads" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"-H "Content-type: application/xml" --data-binary "@binaryFilePath"
mySoftware-object
mySoftwareArtifact-add
mySoftwareArtifact-addChild
mySoftwareArtifact-addOrRemoveFileFromCache
mySoftwareArtifact-createFromRemoteServer
mySoftwareArtifact-delete
mySoftwareArtifact-deleteAll
mySoftwareArtifact-download
mySoftwareArtifact-downloadFile
mySoftwareArtifact-get
mySoftwareArtifact-getAll
mySoftwareArtifact-update
mySoftwareArtifact-updateAll
mySoftwareArtifact-upload
mySoftwareExportStatus-get
mySoftwareExport-delete
mySoftwareExport-download
mySoftwareLicense-delete
mySoftwareLicense-download
mySoftwareLicense-upload
mySoftwareLicense-uploadFile
mySoftwareLogo-delete
mySoftwareLogo-download
mySoftwareLogo-downloadFile
mySoftwareLogo-upload
mySoftwareRestrictionOS-evaluate
mySoftwareRestriction-update
mySoftwareUsage-getAll
mySoftware-availableForImage
mySoftware-clone
mySoftware-create
mySoftware-delete
mySoftware-export
mySoftware-get
mySoftware-getAll
mySoftware-update
softwareBundleImportStatus-get
softwareBundleImport-get
softwareBundle-import
softwarebundle-object
softwarebundleexport-object
softwarebundleimport-object