Skip to content

Latest commit

 

History

History
78 lines (57 loc) · 1.87 KB

scan_update.rst

File metadata and controls

78 lines (57 loc) · 1.87 KB

scan_update

.. function:: 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

HTTP Request Body Parameters

A :ref:`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"-H "Content-type: application/xml" --data-binary "@representation.xml"

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

.. seealso::

         * :ref:`machinescaninstance-api-resources`
         * :ref:`scan-object`
         * :ref:`scanFileArchive-download`
         * :ref:`scanFile-getAll`
         * :ref:`scanInstallProfile-get`
         * :ref:`scanOverlay-download`
         * :ref:`scanOverlay-upload`
         * :ref:`scanOverlay-uploadChunk`
         * :ref:`scanPackageBinary-getAll`
         * :ref:`scanPackageFile-get`
         * :ref:`scanPackage-getAll`
         * :ref:`scanPartition-upload`
         * :ref:`scanSync-create`
         * :ref:`scanSync-get`
         * :ref:`scanSync-getFiles`
         * :ref:`scan-cancel`
         * :ref:`scan-compare`
         * :ref:`scan-create`
         * :ref:`scan-delete`
         * :ref:`scan-get`
         * :ref:`scan-multipartCreate`
         * :ref:`scannedInstanceScan-deleteAll`
         * :ref:`scannedInstanceScan-getAll`
         * :ref:`scannedinstance-object`
         * :ref:`scansync-object`
         * :ref:`userScan-getAll`