Skip to content

Latest commit

 

History

History
73 lines (52 loc) · 1.71 KB

scan_update.rst

File metadata and controls

73 lines (52 loc) · 1.71 KB

scan_update

PUT /users/{uid}/scannedinstances/{siid}/scans/{sid}

Summary

  • Method: PUT
  • Response Code: 200
  • Response Formats: application/xml application/json
  • Since: UForge 3.4

Updates a scan object.

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

HTTP Request Body Parameters

A scan-object object

Example Request

curl "https://uforge.example.com/api/users/{uid}/scannedinstances/{siid}/scans/{sid}" -X PUT \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml" --data-binary "@representation.xml"

Example of representation.xml content (the request body):

  • 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
  • scan-cancel
  • scan-create
  • scan-delete
  • scan-get
  • scan-multipartCreate
  • scannedInstanceScan-deleteAll
  • scannedInstanceScan-getAll
  • scannedinstance-object
  • userScan-getAll