Skip to content

Latest commit

 

History

History
74 lines (55 loc) · 2.05 KB

scan_multipartCreate.rst

File metadata and controls

74 lines (55 loc) · 2.05 KB

scan_multipartCreate

POST /users/{uid}/scannedinstances/{siid}/scans

Summary

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

Creates a new scan to a parent scanned instance. This is a scan report of a live system. The scan report is created by the uforge-scan binary that is added and run on the live system separately.

This request is similar to scan-create

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
  • siid (required): the id of the scannedinstance-object

HTTP Request Body Parameters

The file to upload.

Example Request

curl "https://uforge.example.com/api/users/{uid}/scannedinstances/{siid}/scans" -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
  • scanPartition-upload
  • scanSync-create
  • scanSync-get
  • scanSync-getFiles
  • scan-cancel
  • scan-compare
  • scan-create
  • scan-delete
  • scan-get
  • scannedInstanceScan-deleteAll
  • scannedInstanceScan-getAll
  • scannedinstance-object
  • scansync-object
  • userScan-getAll