Get the online check result of firmware version
1. API Description
This API is used to get the online check result of firmware version.
Request mode: POST [ip]/api/upgrade/online-check-result
Administrator Rights | Logged-in |
---|---|
Yes | Yes |
2. Input Parameters
None
3. Output Parameters
Name | Type | Description |
---|---|---|
status | Int | Status code |
up-to-date | Boolean | Whether the current version is up to date true: Yes; false: No |
version | String | The latest firmware version number |
size | Int | The size of the latest firmware version |
md5 | String | The MD5 value of the latest firmware version |
changeLog | String | The change log of the latest firmware version. |
4. Example
Getting the online check result of firmware version.
Input Example
None
Output Example
{
"up-to-date": true,
"status": 0
}
5. Error Code
No error code related to the API business logic. For other error codes, see Common Error Codes.