GET /v1/certificate-publications
List current certificate publication statuses
参数
| 名称 | 位置 | 类型 | 必填 | 说明 |
|---|---|---|---|---|
target_scope_id | query | string(uuid) | 否 | Required for platform actors; tenant actors may target only their own scope. |
state | query | string: pending / leased / retry_wait / succeeded / permanent_failed | 否 | — |
operation | query | string: publish / unpublish | 否 | — |
site_id | query | string(uuid) | 否 | — |
limit | query | integer | 否 | — |
cursor | query | string | 否 | Opaque signed snapshot cursor bound to actor, tenant and filters. |
X-Request-ID | header | string | 否 | — |
响应
| 状态码 | 说明 |
|---|---|
200 | Current publication state page from one stable snapshot. 字段: |
400 | Invalid query, scope target, body or cursor. |
401 | Bearer session missing, malformed or invalid. |
403 | Scope or certificates.read permission denied. |
405 | Only GET is supported. |
500 | Sanitized publication status storage or cursor encoding failure. |
失败时怎么办
400按字段说明修正参数或请求体再发;不要原样重试。401检查凭据格式、是否过期或被轮换。403检查 Key 范围与所有者当前权限、当前租户作用域;不要换更高权限账号绕过。500结果未知:先按资源 ID 或列表回读确认,再决定是否用原 Idempotency-Key 重试。