GET /v1/cc-rule-groups/summary
CC rule group pill counts over every group
- operationId
summarizeCCRuleGroups- 认证
- 登录会话:主控登录后的 Bearer 会话,由客户本人在自己的主控里使用;插件不能要求客户交出会话。
- 所需权限
全部需要:openresty_security.read
说明(契约原文)
System groups count from the signed rule catalog once it has synced, else from the per-tenant projection; custom groups are the scope's CC policies. visible/disabled are enabled/disabled groups of both kinds.
响应
summarizeCCRuleGroups 响应| 状态码 | 说明 |
|---|
200 | Counts. 字段:all: integer system: integer custom: integer visible: integer disabled: integer |
|---|
401 | Authentication required |
|---|
403 | Permission denied |
|---|
失败时怎么办
401 检查凭据格式、是否过期或被轮换。403 检查 Key 范围与所有者当前权限、当前租户作用域;不要换更高权限账号绕过。
↑ 回到列表