POST api/Solargo/CheckUpgrade?type={type}&lang={lang}

验证版本信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
type

string

Required

lang

string

Default value is zh-CN

Body Parameters

code app版本编码

CheckUpgrade
NameDescriptionTypeAdditional information
code

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "code": 1
}

application/xml, text/xml

Sample:
<CheckUpgrade xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Goodwe.Ops.OpenApi.Models">
  <code>1</code>
</CheckUpgrade>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

version 版本号 code 版本编码(升级校验用) description 版本描述 is_force 是否强制升级 url 下载地址

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.