Query device version number

Request format: GET

URL: http//ota.heclouds.com/ota/device/version

I only want to see examples!!!

The user may use according to actual needs (optional).

http header

NameFormatRequired or notDescription
Content-TypestringYesMust be application/json.
AuthorizationstringYesSecurity authentication information

http request parameter

NameFormatRequired or notDescription
dev_idlongYesDevice id

Return parameter

NameFormatDescription
errnointCall error code, where 0 means success.
error stringError description, where “succ” means success.
data jsonDevice-related information returned after interface is successfully called. See the Data Description Table.

Data Description Table

NameFormatDescription
f_versionstringModule version number
s_versionstringApplication service version number

Description

  1. If the data returned is null, it means that no version information has been reported;

  2. 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);

Return example

{

"errno": 0,
"error":“succ”,
"data":{
      "f_version":"1.0", //module version number
      "s_version":"2.0"//application service version number
      }
}

个搜索结果,搜索内容 “

    0 个搜索结果,搜索内容 “