Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.38 KB

appliance_import.rst

File metadata and controls

54 lines (36 loc) · 1.38 KB

appliance_import

POST /users/{uid}/imports

Summary

  • Method: POST
  • Response Code: 201
  • Response Formats: application/xml application/json
  • Since: UForge 3.4

Requests to import an appliance archive. This creates an appliance import ticket that contains the meta-data information on the appliance that will be created from the archive. Once this ticket is created, the archive can be uploaded using applianceImport-upload. <p/>

An archive can be used with the hammr command-line tool.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: appliance_create

URI Parameters

  • uid (required): the user name (login name) of the user-object

HTTP Request Body Parameters

None

Example Request

curl "https://uforge.example.com/api/users/{uid}/imports" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
  • appliance-object
  • applianceImportStatus-get
  • applianceImport-delete
  • applianceImport-get
  • applianceImport-getAll
  • applianceImport-getAllStatus
  • applianceImport-upload
  • applianceimport-object