Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.63 KB

applianceOSUpdates_save.rst

File metadata and controls

58 lines (40 loc) · 1.63 KB

applianceOSUpdates_save

PUT /users/{uid}/appliances/{aid}/osprofile/{osid}/updates

Summary

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

Updates the OS profile package list with any available updates. The available updates are calculated based on a date timestamp provided as part of the request as a query parameter.

To simulate the available updates available at a certain date or range of dates, see applianceOSUpdates-get

Security Summary

  • Requires Authentication: true
  • Entitlements Required: appliance_create

URI Parameters

  • uid (required): the user name (login name) of the user-object that has created the appliance
  • osid (required): the id of the linuxprofile-object
  • aid (required): the id of the appliance-object

HTTP Request Body Parameters

None

Example Request

curl "https://uforge.example.com/api/users/{uid}/appliances/{aid}/osprofile/{osid}/updates" -X PUT \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
  • appliance-object
  • applianceOSProfilePkg-getAll
  • applianceOSProfilePkg-getAll
  • applianceOSProfilePkg-updateAll
  • applianceOSProfile-create
  • applianceOSProfile-delete
  • applianceOSProfile-get
  • applianceOSUpdates-get
  • distribprofile-object
  • linuxprofile-object