GET /v1/cache-policies/{site_id}
Get the current cache policy for a tenant site
参数
| 名称 | 位置 | 类型 | 必填 | 说明 |
|---|---|---|---|---|
site_id | path | string(uuid) | 是 | — |
X-Request-ID | header | string | 是 | — |
响应
| 状态码 | 说明 |
|---|---|
200 | Cache policy revision. 字段: |
400 | Invalid or non-canonical request. |
401 | Authentication required. |
403 | Exact cache permission is absent or route audience is wrong. |
404 | Resource is absent or outside the effective tenant scope. |
408 | Request context was cancelled or exceeded its deadline. |
503 | A required store is unavailable; raw dependency errors are never returned. |
失败时怎么办
400按字段说明修正参数或请求体再发;不要原样重试。401检查凭据格式、是否过期或被轮换。403检查 Key 范围与所有者当前权限、当前租户作用域;不要换更高权限账号绕过。404资源不存在或不属于当前租户。503依赖暂不可用:稍后用原 Idempotency-Key 重试。