Check Version
Changed on检查应用版本更新
通过HTTP头传递版本信息:
- appVersionCode: 应用版本代码(必填,整数)
- appVersionName: 应用版本名称(可选,后端会忽略,保留向后兼容)
Request
- The document declares no server URL.
- AuthHTTP bearer
Headers
应用版本代码
应用版本名称(向后兼容,忽略)
Response
Successful Response
Changes
- breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
response property
data/anyOf[subschema #1: VersionCheckResponse]/current_versionlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
data/anyOf[subschema #1: VersionCheckResponse]/download_urllist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
data/anyOf[subschema #1: VersionCheckResponse]/force_updatelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
data/anyOf[subschema #1: VersionCheckResponse]/latest_versionlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
data/anyOf[subschema #1: VersionCheckResponse]/messagelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
data/anyOf[subschema #1: VersionCheckResponse]/minimum_versionlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
data/anyOf[subschema #1: VersionCheckResponse]/update_requiredlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
the
//response's property type changed from no type tostringfor status - warning
added the new
BLOCK_ACCESSenum value to the//response property for the response status - warning
added the new
NONEenum value to the//response property for the response status - warning
added the new
POP_UP_REMINDERenum value to the//response property for the response status - warning
added the new
SETTINGS_REMINDERenum value to the//response property for the response status - info
removed
subschema #2from the//response propertyanyOflist for the response status - info
the
response's property default valueNONEwas added for the status
- breaking
- info
added the optional property
//to the response with the status
- info