方法路径摘要认证
GET/v1/runtime-featuresList which optional control-plane runtimes are mounted登录会话

契约文件:api/openapi/v1/control.yaml

接口详情

GET /v1/runtime-features

List which optional control-plane runtimes are mounted

operationId
listRuntimeFeatures
认证
  • 登录会话:主控登录后的 Bearer 会话,由客户本人在自己的主控里使用;插件不能要求客户交出会话。
所需权限

契约没有单独标注权限码,权限要求见下方说明与 403 响应。

说明(契约原文)

Any authenticated session. Each flag is true exactly when the corresponding route set is mounted on this control plane (cache_control /v1/cache-*, custom_rbac /v1/custom-rbac/*, plugin_webhooks /v1/tenant-scopes/{id}/plugin-webhook-*); front-end menus for a runtime that is off are hidden instead of answering 404.

响应

listRuntimeFeatures 响应
状态码说明
200Mounted optional runtimes.

字段:features: object

401认证失败或会话已失效。
500服务内部故障,请求未完成。

失败时怎么办

  • 401 检查凭据格式、是否过期或被轮换。
  • 500 结果未知:先按资源 ID 或列表回读确认,再决定是否用原 Idempotency-Key 重试。

↑ 回到列表