跳转到主要内容
身份与访问控制相关接口/ZIAM

查询ZIAM同步事件列表

列出 SCIM 同步事件,用于审计和故障排查。

GET/api/v1/ziam/sync-events

操作 ID

ZiamListSyncEvents

起始版本

1.0.0

执行模式

同步

认证信息

需要认证

认证信息

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

Authorizationstring必填

Bearer 令牌

X-Tenant-IDstring

X-Tenant-ID

请求参数

application/json

查询参数

  • status
    String

    状态信息。

    示例: pending

    pending | delivered | failed | dead

  • resourceType
    String

    资源类型。

  • resourceId
    String

    资源唯一标识。

  • limit
    Integer

    返回的事件数量上限。

    示例: 0

    {"format":"int32"}

响应状态

200 OK

同步事件列表。

Content-Type: application/json

响应体根类型: object

  • status
    String

    状态信息。

    示例: ok

  • data
    List

    响应载荷数据。

    • id
      String

      资源ID。

      示例: evt-001

    • operation
      String

      操作。

      示例: update

      create | update | delete

    • resourceType
      String

      资源类型。

      示例: Users

    • resourceId
      String

      资源唯一标识。

      示例: user-001

    • resourceVersion
      Long

      资源版本。

      示例: 12

      {"format":"int64"}

    • status
      String

      状态信息。

      示例: delivered

      pending | delivered | failed | dead

    • attempts
      Integer

      尝试。

      示例: 1

      {"format":"int32"}

    • lastError
      String

      最近一次错误。

      示例: delivery failed

    • nextAttemptAt
      String

      下一个尝试时间。

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

      {"format":"date-time"}