跳转到主要内容
基础设施相关接口/OTA 升级计划
GETOTA起始版本 1.0同步需要认证

获取计划摘要

获取摘要灰度升级计划批次统计。

调试可用性

在线调试

使用当前认证信息和示例参数提交 Mock 请求。

路径参数

请求参数

路径参数

  • planIdString必填

    ID灰度计划汇总。

响应状态

200 OK

该 API 成功时返回以下响应结构。

  • planIdString

    计划ID。

    示例: plan-a1b2c3d4-e5f6-7890-abcd-ef1234567890

  • statusString

    状态信息。

    示例: running

  • totalAgentsInteger

    代理总数。

    示例: 50

  • completedCountInteger

    已完成数量。

    示例: 30

  • failedCountInteger

    失败次数。

    示例: 2

  • pendingCountInteger

    待处理数量。

    示例: 18

  • failureRateLong

    失败比例。

    示例: 0.04

请求地址

GET/api/v1/lifecycle/upgrade-plans/{planId}/summary

/api/v1/lifecycle/upgrade-plans/{planId}/summary

操作 ID

GetPlanSummary

永久链接

请求示例

curl -X GET '{host}/api/v1/lifecycle/upgrade-plans/{planId}/summary' -H 'Authorization: Bearer {token}'

响应示例

200
{"planId": "plan-a1b2c3d4-e5f6-7890-abcd-ef1234567890", "status": "running", "totalAgents": 50, "completedCount": 30, "failedCount": 2, "pendingCount": 18, "failureRate": 0.04}

变更历史

此 API 暂无变更历史记录。

查看全部变更历史