GET AutoUpdate/GetVersion

更新版本

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

更新版本

NewVersionResult
NameDescriptionTypeAdditional information
IsNeedUpdate

是否需要更新 0 无需更新 1 需要更新 2 强制更新 后续可能扩展强制更新等标志

integer

None.

DownLoadUrl

下载链接

string

None.

Size

安装包大小

string

None.

UpdateInfo

更新日志

string

None.

VersionNum

更新版本号

string

None.

Response Formats

application/json, text/json

Sample:
{
  "code": "200",
  "data": {
    "IsNeedUpdate": 1,
    "DownLoadUrl": "sample string 2",
    "Size": "sample string 3",
    "UpdateInfo": "sample string 4",
    "VersionNum": "sample string 5"
  },
  "msg": null
}

application/xml, text/xml

Sample:
<NewVersionResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HL.Basis.Web.Models.Result">
  <DownLoadUrl>sample string 2</DownLoadUrl>
  <IsNeedUpdate>1</IsNeedUpdate>
  <Size>sample string 3</Size>
  <UpdateInfo>sample string 4</UpdateInfo>
  <VersionNum>sample string 5</VersionNum>
</NewVersionResult>