Skip to content

Latest commit

 

History

History
74 lines (56 loc) · 2.06 KB

scanPartition_upload.rst

File metadata and controls

74 lines (56 loc) · 2.06 KB

scanPartition_upload

POST /users/{uid}/scannedinstances/{siid}/scans/{sid}/rawparts/{fileName}

Summary

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

Uploads an entire file partition. This is used when scanning Windows based systems.

Warning

This request is used by the uforge-scan binary, normally you should not use this request via APIs

Security Summary

  • Requires Authentication: true
  • Entitlements Required: migration_access

URI Parameters

  • uid (required): the user name (login name) of the user-object
  • fileName (required): the file name of the partition to upload
  • siid (required): the id of the scannedinstance-object
  • sid (required): the id of the scan-object

HTTP Request Body Parameters

The file to upload.

Example Request

curl "https://uforge.example.com/api/users/{uid}/scannedinstances/{siid}/scans/{sid}/rawparts/{fileName}" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"-H "Content-type: application/xml" --data-binary "@binaryFilePath"
  • machinescaninstance-api-resources
  • scan-object
  • scanFileArchive-download
  • scanFile-getAll
  • scanInstallProfile-get
  • scanOverlay-download
  • scanOverlay-upload
  • scanOverlay-uploadChunk
  • scanPackageBinary-getAll
  • scanPackageFile-get
  • scanPackage-getAll
  • scanSync-create
  • scanSync-get
  • scanSync-getFiles
  • scan-cancel
  • scan-compare
  • scan-create
  • scan-delete
  • scan-get
  • scan-multipartCreate
  • scannedInstanceScan-deleteAll
  • scannedInstanceScan-getAll
  • scannedinstance-object
  • scansync-object
  • userScan-getAll