Skip to content

Latest commit

 

History

History
91 lines (72 loc) · 2.87 KB

softwareBundleImport_upload.rst

File metadata and controls

91 lines (72 loc) · 2.87 KB

softwareBundleImport_upload

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

Security Summary

  • Requires Authentication: true
  • Entitlements Required: appliance_create

URI Parameters

  • uid (required): the user name (login name) of the user-object
  • sbid (required): the id of the softwarebundleimport-object ticket

HTTP Request Body Parameters

The file to upload.

Example Request

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