Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1.74 KB

applianceOSUpdates_get.rst

File metadata and controls

56 lines (39 loc) · 1.74 KB

applianceOSUpdates_get

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

Summary

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

Retrieves a list of possible package updates for all the packages contained in an OS profile. The available updates are calculated based on one or more timestamps provided as part of the request. This includes: - from: the start date on where to calculate available updates - to: the end date on where to calculate available updates - at: a specific date on where to calculate available updates

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 GET \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
  • appliance-object
  • applianceOSProfilePkg-getAll
  • applianceOSProfilePkg-getAll
  • applianceOSProfilePkg-updateAll
  • applianceOSProfile-create
  • applianceOSProfile-delete
  • applianceOSProfile-get
  • applianceOSUpdates-save
  • distribprofile-object
  • linuxprofile-object