Find Available Updates
Find all updates available to a device given its identification and the version currently being run.
Use the deviceClass parameter to indicate the type of device for which updates are requested. The following values are available:
• | client—indicates a standalone device (this can also be an anonymous device) |
• | server—indicates either a Cloud License Server or a Local License Server |
• | served—indicates a served device. |
If deviceClass is not specified, client is the default value.
Item |
Description |
URI |
|
Method |
POST |
Query parameters |
updatesRequest |
Request body |
{ "deviceClass": "string", "id": "string", "idType": "string", "language": 0, "platform": "string", "publisherName": "string", "updateFromPkgId": "string" } Note:For devices that are assigned to an account, it is recommended to populate the fields id, idType, and publisherName. For anonymous devices, these fields should be left blank. |
Response codes |
200: Not used 202: Asynchronous request. Use the URL returned to poll for a response. The response will indicate whether the request succeeded. |
Sample Response
If the request has been accepted (status 202), a URL including a polling ID to poll for completion of the search is returned:
{
"url": "string"
}