Version report |
POST |
Report current version of device |
Check device upgrade task |
GET |
Check if there is an upgrade task for the device. |
Check if token is valid. |
GET |
Check token via token testing interface (since the period of validity of token is 2 days). |
Download resources |
GET |
Device download resource interface |
Report upgrade status. |
POST |
When the device is downloading the upgrade package (download in fragments), it can report the download progress or upgrade status if necessary. |
Obtain device token. |
GET |
Obtain the token when the device is upgrading (downloading/upgrading). |
View device version No. |
GET |
View device version number interface |
Report status |
POST |
Report upgrade package download status. The difference of it from “report upgrade status” API is as follows: When the API is used by the user, it needs to be called twice to report and download relevant status code (Result=1xx) and then report upgrade-related status code (Result=2xx). |
Query device ID based on the unique identification of the device. |
GET |
Device ID is a unique ID No. assigned by the platform to each device. If your device has not yet obtained the device ID and needs to be upgraded when accessing the platform for the first time, device ID can be obtained using the unique identification through this interface. |