跳转到主要内容
基础设施相关接口/生命周期升级

查询升级计划列表

按升级包名称、计划状态和激活状态列出升级计划。

GET/api/v1/lifecycle/upgrades/plans

操作 ID

ListUpgradePlans

起始版本

1.0.0

执行模式

同步

认证信息

需要认证

认证信息

调用该 API 时需要在请求头中携带以下认证信息。

Authorizationstring必填

Bearer 令牌

X-Tenant-IDstring

X-Tenant-ID

请求参数

application/json

查询参数

  • bundleName
    String

    已使用过滤结果。

  • status
    String

    状态信息。

  • active
    Boolean

    是否仅返回活动记录。

    示例: true

  • limit
    Integer

    返回的记录数量上限。

    示例: 0

    {"format":"int32"}

  • offset
    Integer

    查询起始偏移量。

    示例: 0

    {"format":"int32"}

响应状态

200 OK

请求成功。

Content-Type: application/json

响应体根类型: object

  • items
    List

    条目列表。

    • uuid
      String

      资源的UUID,唯一标识该资源。

      示例: value

    • name
      String

      资源名称。

      示例: my-resource

    • status
      String

      状态信息。

      示例: value

    • executorKind
      String

      执行器类型。

      示例: value

    • planScope
      String

      计划作用域。

      示例: value

    • operation
      String

      操作。

      示例: value

    • updateType
      String

      更新类型。

      示例: value

    • createdBy
      String

      创建该记录的用户UUID。

      示例: value

    • bundleName
      String

      打包名称。

      示例: value

    • targetBundleVersionUuid
      String

      目标打包版本UUID。

      示例: value

    • fromVersion
      String

      版本。

      示例: value

    • fromRelease
      String

      发布。

      示例: value

    • toVersion
      String

      目标版本号。

      示例: value

    • toRelease
      String

      目标发布。

      示例: value

    • precheckRevision
      Integer

      预检修订版本。

      示例: 10

      {"format":"int32"}

    • precheckStatus
      String

      预检状态。

      示例: value

    • backupRecordUuid
      String

      备份记录UUID。

      示例: value

    • autoExecute
      Boolean

      是否执行。

      示例: true

    • blockedReason
      String

      已阻塞原因。

      示例: value

    • failureType
      String

      失败类型。

      示例: value

    • currentTaskUuid
      String

      当前任务UUID。

      示例: value

    • currentStepUuid
      String

      当前步骤UUID。

      示例: value

    • failedTaskUuid
      String

      失败任务UUID。

      示例: value

    • failedStepUuid
      String

      失败步骤UUID。

      示例: value

    • failedLifecycleTaskUuid
      String

      失败生命周期任务UUID。

      示例: value

    • nextAction
      String

      下一个动作。

      示例: value

    • lastErrorCode
      String

      最近一次错误代码。

      示例: value

    • lastErrorMessage
      String

      最近一次错误消息。

      示例: value

    • startedAt
      String

      开始时间。

      示例: 2026-01-15T08:00:00Z

      {"format":"date-time"}

    • completedAt
      String

      完成时间。

      示例: 2026-01-15T08:00:00Z

      {"format":"date-time"}

    • createdAt
      String

      创建时间。

      示例: 2026-01-15T08:00:00Z

      {"format":"date-time"}

    • updatedAt
      String

      更新时间。

      示例: 2026-01-15T08:00:00Z

      {"format":"date-time"}

    • targetManifestSetChecksum
      String

      目标清单设置校验和。

      示例: value

    • targetMembershipChangesChecksum
      String

      目标成员变更校验和。

      示例: value

    • observeDurationNs
      String

      观察时长纳秒。

      示例: 10

      {"format":"int64"}

    • nextActionApi
      String

      下一个动作API。

      示例: value

    • nextActionReason
      String

      下一个动作原因。

      示例: value

    • manualActionRequired
      Boolean

      手动动作必需。

      示例: true

  • total
    String

    返回结果总数。

    示例: 10

    {"format":"int64"}

  • limit
    Integer

    最大返回条目数。

    示例: 10

    {"format":"int32"}

  • offset
    Integer

    查询起始偏移量。

    示例: 10

    {"format":"int32"}

  • 变更时间

    新增响应字段 manualActionRequired
    查看 API