跳转到主要内容
近期删除/近期删除

查询采集过滤器列表

列表采集过滤已配置平台。

GET/api/v1/platforms/{platformId}/collection-filters

操作 ID

ListCollectionFilters

起始版本

1.0.0

执行模式

同步

认证信息

需要认证

认证信息

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

Authorizationstring必填

Bearer 令牌

X-Tenant-IDstring

X-Tenant-ID

请求参数

路径参数

  • platformId
    String必填

    平台ID。

响应状态

200 OK
200 OK

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

  • items
    List

    条目列表。

    示例: (nested array)

    • id
      String

      资源ID。

      示例: filter-001

    • platformId
      String

      平台ID。

      示例: plat-001

    • field
      String

      字段名称。

      示例: namespace

    • op
      String

      操作符。

      示例: eq

    • value
      String

      字段值。

      示例: kube-system

    • action
      String

      动作名称。

      示例: exclude

    • createdAt
      String

      创建时间。

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

  • total
    Integer

    返回结果总数。

    示例: 8

  • limit
    Integer

    最大返回条目数。

    示例: 20

  • offset
    Integer

    查询起始偏移量。

    示例: 20