GET /v1/modules
List the module, pack and theme feature codes the local entitlement lease grants
说明(契约原文)
Any authenticated session. Modules is empty unless the verified local lease is valid (grace included is not valid), matching the API entry gate (entitlement_feature_denied) and the publication gate. Front-end menu items with requiredModule are shown only when the code is listed.
响应
| 状态码 | 说明 |
|---|---|
200 | Granted module codes. 字段: |
401 | 认证失败或会话已失效。 |
500 | 服务内部故障,请求未完成。 |
失败时怎么办
401检查凭据格式、是否过期或被轮换。500结果未知:先按资源 ID 或列表回读确认,再决定是否用原 Idempotency-Key 重试。