Skip to content

Latest commit

 

History

History
68 lines (48 loc) · 1.8 KB

scanSync_create.rst

File metadata and controls

68 lines (48 loc) · 1.8 KB

scanSync_create

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

Summary

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

Creates a scanSync object.

A scanSync is an object that contains all the information required to synchronize files from a source to a target instance (or machine or workload).

Please refer to scansync-object for a complete list of all the scanSync attributes.

Note

This POST request does not require any HTTP body. All the information is passed via the URL request.

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

None

Example Request

curl "https://uforge.example.com/api/users/{uid}/scannedinstances/{siid}/scans/{sid}/sync" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
  • machinescaninstance-api-resources
  • scan-object
  • scanFileArchive-download
  • scanInstallProfile-get
  • scanPackageBinary-getAll
  • scanPackage-getAll
  • scanPartition-upload
  • scanSync-get
  • scanSync-getFiles
  • scan-create
  • scan-delete
  • scan-get
  • scannedInstanceScan-deleteAll
  • scannedInstanceScan-getAll
  • scannedinstance-object
  • scansync-object