GET dz_api/Versions/GetLatestVersion?platform={platform}&version={version}

获得最新上架的版本

Request Information

URI Parameters

NameDescriptionTypeAdditional information
platform

Platform

Required

version

版本信息

string

Required

Body Parameters

None.

Response Information

Resource Description

获得最新上架的版本

VersionEditModel
NameDescriptionTypeAdditional information
Id

版本ID

integer

None.

Version

版本号

string

None.

IsRecommended

推荐升级

integer

None.

IsForced

强制升级

integer

None.

Platform

手机系统

Platform

None.

Content

内容

string

None.

File

Apk文件地址

string

None.

Note

备注

string

None.

CreatedBy

创建人

integer

None.

CreatedDate

创建时间

date

None.

ModifiedBy

修改人

integer

None.

ModifiedDate

修改时间

date

None.

PlatformName

操作系统名称

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Version": "sample string 2",
  "IsRecommended": 3,
  "IsForced": 4,
  "Platform": 1010,
  "Content": "sample string 5",
  "File": "sample string 6",
  "Note": "sample string 7",
  "CreatedBy": 8,
  "CreatedDate": "2025-04-04T19:39:40.5330299+08:00",
  "ModifiedBy": 10,
  "ModifiedDate": "2025-04-04T19:39:40.5330299+08:00",
  "PlatformName": "sample string 12"
}

application/xml, text/xml

Sample:
<VersionEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.WebApi.Areas.HelpCenter.Models">
  <Content>sample string 5</Content>
  <CreatedBy>8</CreatedBy>
  <CreatedDate>2025-04-04T19:39:40.5330299+08:00</CreatedDate>
  <File>sample string 6</File>
  <Id>1</Id>
  <IsForced>4</IsForced>
  <IsRecommended>3</IsRecommended>
  <ModifiedBy>10</ModifiedBy>
  <ModifiedDate>2025-04-04T19:39:40.5330299+08:00</ModifiedDate>
  <Note>sample string 7</Note>
  <Platform>IOS</Platform>
  <PlatformName>sample string 12</PlatformName>
  <Version>sample string 2</Version>
</VersionEditModel>