You need to enable JavaScript to run this app.
导航
伴随程序版本列表
最近更新时间:2025.01.20 15:42:49首次发布时间:2022.07.28 15:09:50

查询指定伴随程序的版本信息。

请求方式

使用 GET 方式发起请求。

请求参数

下表仅列出了接口特有的请求参数和部分公共参数。完整的公共参数列表,参考 公共请求参数

字段
位置
类型
必填
说明
ActionQueryString公共参数,OpenAPI 接口名称ListFrameworkAppVersion
VersionQueryString公共参数,OpenAPI 接口版本2022-02-10
framework_app_idQueryString伴随程序 ID可通过调用 ListFrameworkApp 接口获取
offsetQueryInt64分页偏移量例:0
countQueryInt64单页数量默认值:10

返回结果

通用返回参数,参考 ResponseMetadata 结构说明

Result 字段包含以下参数:

字段
类型
说明
totalInt64查询到的伴随程序版本总数
rowList<AppVersion>伴随程序版本信息列表,参考以下 AppVersion 结构说明

GameVersion 结构说明

字段
类型
说明
version_idString伴随程序版本 ID
download_urlString伴随程序安装包下载地址
package_nameString伴随程序包名称
version_codeInt32伴随程序版本 ID,仅作为标识
md5String游戏文件 MD5
package_sizeInt64文件大小,单位 byte
create_atInt64版本创建时间
update_atInt64版本更新时间

示例

请求示例

GET https://open.volcengineapi.com?Action=ListFrameworkAppVersion
&Version=2022-02-10
&framework_app_id=7064470096059xxxxxx
&<通过header传入的公共请求参数>

返回示例

{
    "ResponseMetadata": {
        "Action": "ListFrameworkAppVersion",
        "Region": "cn-north-1",
        "RequestId": "20220222120920010225110011036CB830",
        "Service": "veGame",
        "Version": "2022-02-10"
    },
    "Result": {
        "row": [
            {
                "version_id": "7122432503851xxxxxx",
                "download_url": "https://xxx-file.xxxxxx.com/cloudgame/xxxxxx.apk?x-expires=25862xxxxxx&x-signature=XXXXXX",
                "package_name": "com.image.frameworkappname",
                "version_code": 235,
                "md5": "5403bf7211ec9fb042a6825876xxxxxx",
                "package_size": 52053842,
                "create_at": 1645502043,
                "update_at": 1646502160
            }
        ],
        "total": 1
    }
}