.. function:: 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 :ref:`applianceOSUpdates-get`
- Requires Authentication:
true
- Entitlements Required:
appliance_create
uid
(required): the user name (login name) of the :ref:`user-object` that has created the applianceosid
(required): the id of the :ref:`linuxprofile-object`aid
(required): the id of the :ref:`appliance-object`
None
curl "https://uforge.example.com/api/users/{uid}/appliances/{aid}/osprofile/{osid}/updates" -X PUT \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
.. seealso:: * :ref:`appliance-object` * :ref:`applianceOSProfilePkg-getAll` * :ref:`applianceOSProfilePkg-getAll` * :ref:`applianceOSProfilePkg-updateAll` * :ref:`applianceOSProfile-create` * :ref:`applianceOSProfile-delete` * :ref:`applianceOSProfile-get` * :ref:`applianceOSUpdates-get` * :ref:`distribprofile-object` * :ref:`linuxprofile-object`