Skip to content

Latest commit

 

History

History
71 lines (52 loc) · 1.98 KB

scanPackageBinary_getAll.rst

File metadata and controls

71 lines (52 loc) · 1.98 KB

scanPackageBinary_getAll

GET /users/{uid}/scannedinstances/{siid}/scans/{sid}/packages/{pid}/bin

Summary

  • Method: GET
  • Response Code: 200 / 304
  • Response Formats: */*
  • Since: UForge 3.4

Downloads a package binary.

The package can be downloaded without authentication if an downloadToken is added as a query parameter. To retrieve the downloadToken, use scanPackage-getAll.

Note

The downloadToken can only be used once, afterwards it expires, and a new downloadToken must be retrieved.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: migration_access

URI Parameters

  • uid (required): the user name (login name) of the user-object
  • siid (required): the id of the scannedinstance-object
  • pid (required): the id of the scannedpackage-object to be downloaded
  • sid (required): the id of the scan-object

HTTP Request Body Parameters

None

Example Request

curl "https://uforge.example.com/api/users/{uid}/scannedinstances/{siid}/scans/{sid}/packages/{pid}/bin" -X GET \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
  • machinescaninstance-api-resources
  • scan-object
  • scanFileArchive-download
  • scanFile-getAll
  • scanInstallProfile-get
  • scanOverlay-download
  • scanOverlay-upload
  • scanOverlay-uploadChunk
  • scanPackageFile-get
  • scanPackage-getAll
  • scanPartition-upload
  • scan-create
  • scan-delete
  • scan-get
  • scan-multipartCreate
  • scannedInstanceScan-deleteAll
  • scannedInstanceScan-getAll
  • scannedfiles-object
  • scannedinstance-object
  • scannedpackage-object