URL: http//ota.heclouds.com/ota/device/version
I only want to see examples!!!
The user may use according to actual needs (optional).
Name | Format | Required or not | Description |
---|---|---|---|
Content-Type | string | Yes | Must be application/json. |
Authorization | string | Yes | Security authentication information |
Name | Format | Required or not | Description |
---|---|---|---|
dev_id | long | Yes | Device id |
Name | Format | Description |
---|---|---|
errno | int | Call error code, where 0 means success. |
error | string | Error description, where “succ” means success. |
data | json | Device-related information returned after interface is successfully called. See the Data Description Table. |
Name | Format | Description |
---|---|---|
f_version | string | Module version number |
s_version | string | Application service version number |
If the data returned is null, it means that no version information has been reported;
f_version and s_version are returned based on the information stored in the platform (i.e. if no f_version information has been reported for the device, the field will not be returned);
{
"errno": 0,
"error":“succ”,
"data":{
"f_version":"1.0", //module version number
"s_version":"2.0"//application service version number
}
}