查询应用在实例上的部署情况。
使用 GET 方式发起请求。
下表仅列出了接口特有的请求参数和部分公共参数。完整的公共参数列表,参考 公共请求参数。
字段 | 位置 | 类型 | 必填 | 说明 | 值 |
|---|---|---|---|---|---|
| Action | Query | string | 是 | 公共参数,OpenAPI 接口名称 | ListAppVersionDeploy |
| Version | Query | string | 是 | 公共参数,OpenAPI 接口版本 | 2022-08-01 |
| product_id | Query | string | 是 | 业务 ID | 例:client-demo |
| app_id | Query | string | 是 | 应用 ID | 应用 ID |
| version_id | Query | string | 否 | 应用版本 ID | 版本 ID |
通用返回参数,请参考 ResponseMetadata 结构说明。
Result 字段包含以下参数:
字段 | 类型 | 说明 |
|---|---|---|
| total | int | 查询结果总量 |
| row | List<AppVersionDeploy> | 查询到的应用版本部署情况,详细信息,参考 AppVersionDeploy 定义 |
GET https://open.volcengineapi.com?Action=ListAppVersionDeploy &Version=2022-08-01 &product_id=1591495366954xxxxxx &app_id=7291927828638xxxxxx &<通过header传入的公共请求参数>
{ "ResponseMetadata": { "Action": "ListAppVersionDeploy", "Region": "cn-north-1", "RequestId": "202311101545112C80CE1EA273C614CE0D", "Service": "ACEP", "Version": "2022-08-01" }, "Result": { "row": [ { "package_name": "com.mt.mtxx.mtxx", "version_code": 9670, "version_name": "9.6.7.0", "ready_num": 3, "deploy_num": 3, "md5": "ded03aaeae15d03f6a5462b71exxxxxx" } ], "total": 1 } }