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

查询预检查项列表

列出当前升级预检查项。

GET/api/v1/lifecycle/upgrades/plans/{planUuid}/precheck/items

操作 ID

ListPrecheckItems

起始版本

1.0.0

执行模式

同步

认证信息

需要认证

认证信息

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

Authorizationstring必填

Bearer 令牌

X-Tenant-IDstring

X-Tenant-ID

请求参数

application/json

路径参数

  • planUuid
    String必填

    唯一UUID计划。

查询参数

  • checkResult
    String

    预检结果已使用过滤结果。

  • riskKey
    String

    已使用识别预检风险。

  • confirmationRequired
    Boolean

    返回条目要求确认。

    示例: true

  • precheckRevision
    Integer

    已使用过滤结果。

    示例: 0

    {"format":"int32"}

  • componentUuid
    String

    已使用过滤结果。

响应状态

200 OK

请求成功。

Content-Type: application/json

响应体根类型: object

  • items
    List

    条目列表。

    • uuid
      String

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

      示例: value

    • taskUuid
      String

      任务UUID。

      示例: value

    • orderIndex
      Integer

      排序索引。

      示例: 10

      {"format":"int32"}

    • action
      String

      动作名称。

      示例: value

    • executionKind
      String

      执行类型。

      示例: value

    • targetLevel
      String

      目标等级。

      示例: value

    • required
      Boolean

      是否必填。

      示例: true

    • componentUuid
      String

      组件UUID。

      示例: value

    • componentName
      String

      组件名称。

      示例: value

    • componentInstanceUuid
      String

      组件实例UUID。

      示例: value

    • serviceInstanceUuid
      String

      服务实例UUID。

      示例: value

    • nodeUuid
      String

      节点UUID。

      示例: value

    • lcaUuid
      String

      LCA UUID。

      示例: value

    • fromVersion
      String

      版本。

      示例: value

    • fromRelease
      String

      发布。

      示例: value

    • toVersion
      String

      目标版本号。

      示例: value

    • toRelease
      String

      目标发布。

      示例: value

    • depotArtifactId
      Integer

      软件仓库构件ID。

      示例: 10

      {"format":"int32"}

    • localDownloadId
      Integer

      本地下载ID。

      示例: 10

      {"format":"int32"}

    • artifactDigest
      String

      构件摘要。

      示例: value

    • artifactManifestChecksum
      String

      构件清单校验和。

      示例: value

    • currentLifecycleTaskUuid
      String

      当前生命周期任务UUID。

      示例: value

    • attemptCount
      Integer

      尝试数量。

      示例: 10

      {"format":"int32"}

    • status
      String

      状态信息。

      示例: value

    • precheckRevision
      Integer

      预检修订版本。

      示例: 10

      {"format":"int32"}

    • checkKey
      String

      检查键。

      示例: value

    • riskKey
      String

      风险键。

      示例: value

    • checkResult
      String

      检查结果。

      示例: value

    • confirmationRequired
      Boolean

      确认必需。

      示例: true

    • fixHint
      String

      修复提示。

      示例: value

    • details
      Object

      详细信息。

    • checkedAt
      String

      检查时间。

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

      {"format":"date-time"}

    • observedVersion
      String

      已观察版本。

      示例: value

    • observedRelease
      String

      已观察发布。

      示例: value

    • nextAction
      String

      下一个动作。

      示例: value

    • message
      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"}

  • total
    String

    返回结果总数。

    示例: 10

    {"format":"int64"}

  • limit
    Integer

    最大返回条目数。

    示例: 10

    {"format":"int32"}

  • offset
    Integer

    查询起始偏移量。

    示例: 10

    {"format":"int32"}

  • planUuid
    String

    计划UUID。

    示例: value

  • precheckRevision
    Integer

    预检修订版本。

    示例: 10

    {"format":"int32"}

  • precheckStatus
    String

    预检状态。

    示例: value