跳转至

工作空间菜单 v3 get


GET /api/v1/workspace/menu_v3/get

概述

读取工作空间完整菜单树、按角色配置及编辑版本。

鉴权请求头:DF-API-KEY。

接口权限:设置管理(workspace.setManage)。

调用前和使用步骤

查看调用说明

需workspace.setManage权限。读取菜单v3保存所需完整menus、roleConfigs和revision,以及当前有效roles。没有v3配置时仅在内存由旧配置/站点默认迁移,GET不落库。读取清理失效资源/角色并补新系统节点,不代表已保存。

此页是管理配置,不是某角色实际可访问菜单;最终显示还要叠加平台隐藏、空间显隐、角色候选与真实资源授权。owner不参与自定义角色配置。资源/角色生命周期也会清理引用,保存前仍应刷新。保留所有已有系统身份与完整角色映射,再按保存页组织Body,不要把roles、platformHiddenNodeIds、localMenuFallback等返回元数据回传。

使用Owner身份验收时需注意:有效菜单计算会忽略空间isShow隐藏(分隔线除外),但仍受平台隐藏和真实权限约束;普通角色与Owner的最终显示可能不同。

请求

请求头

参数名 类型 必选 说明
DF-API-KEY string Y 工作空间的 OpenAPI 鉴权凭据。
例子: <DF-API-KEY>
获取或填写方式: 从目标工作空间的 API Key 管理获取有该操作权限的 OpenAPI Key。

参数补充说明

查看参数说明

完整管理配置;localMenuFallback 返回完整 knownSystemNodeIds 和配置中尚未进入服务端清单的 localSystemNodeIds。该字段始终存在,元数据损坏时显式返回 null。 元数据只读,不应作为空间配置持久化。

响应

HTTP 200,application/json。下方示例展示可直接读取的主要字段。

content
字段 类型 说明
content.schemaVersion integer 固定3。
content.revision integer 当前配置版本;首次保存递增,已有配置仅实质变更递增;关联资源/角色删除可清理引用但不递增此编辑版本。
content.menus
字段 类型 说明
content.menus array 保存的完整菜单树,最多两层;不能删除任何现有/已知系统节点,应以isShow隐藏。与roleConfigs整体保存,不是patch。最多2000节点,两者序列化JSON合计不超过2000000字符。
content.menus[]
字段 类型 说明
content.menus[] json 一个菜单节点对象,未知字段拒绝;子级不能再嵌套。
content.menus[].id string 保存的且全树唯一,1..128字符[A-Za-z0-9_.:-]。系统ID system:<根Key>[:<子Key>];新目录Custom:<key>;资源根级或系统菜单下均menu:<UUIDv4>,自定义目录内才用Custom:<目录key>:<UUIDv4>。移动资源保留UUIDv4后缀并换父前缀。
content.menus[].type string 保存的system/directory/resource/divider;directory/divider仅根级,自定义目录只容纳resource;原有节点类型不能改。
content.menus[].key string system/directory条件保存的;系统Key/名称/父级不可改。新目录键以字母开头、1..64字母数字,大小写不敏感去重,不占用系统/保留Key;既有目录键不可改。
content.menus[].name string 除divider均保存的非空,去首尾空白;新增/改名非系统项最长40字符,同父级名称大小写不敏感不可重名。系统名称原样保留,不能自行翻译。
content.menus[].isShow boolean 保存的JSON布尔,控制空间显隐;不覆盖平台隐藏、版本能力或资源权限。
content.menus[].children
字段 类型 说明
content.menus[].children array 可选默认[]。仅根级system/directory可有子项,最多两层;资源/分隔线必须[]。
content.menus[].children[]
字段 类型 说明
content.menus[].children[] json 一个菜单节点对象,未知字段拒绝;子级不能再嵌套。
content.menus[].children[].id string 保存的且全树唯一,1..128字符[A-Za-z0-9_.:-]。系统ID system:<根Key>[:<子Key>];新目录Custom:<key>;资源根级或系统菜单下均menu:<UUIDv4>,自定义目录内才用Custom:<目录key>:<UUIDv4>。移动资源保留UUIDv4后缀并换父前缀。
content.menus[].children[].type string 保存的system/directory/resource/divider;directory/divider仅根级,自定义目录只容纳resource;原有节点类型不能改。
content.menus[].children[].key string system/directory条件保存的;系统Key/名称/父级不可改。新目录键以字母开头、1..64字母数字,大小写不敏感去重,不占用系统/保留Key;既有目录键不可改。
content.menus[].children[].name string 除divider均保存的非空,去首尾空白;新增/改名非系统项最长40字符,同父级名称大小写不敏感不可重名。系统名称原样保留,不能自行翻译。
content.menus[].children[].isShow boolean 保存的JSON布尔,控制空间显隐;不覆盖平台隐藏、版本能力或资源权限。
content.menus[].children[].children array 可选默认[]。仅根级system/directory可有子项,最多两层;资源/分隔线必须[]。
content.menus[].children[].resourceUUID string resource条件保存的,本空间活动dashboard/viewer资源UUID;从有权查看的仪表板/查看器列表取得,不能填节点id。
content.menus[].children[].resourceType string resource条件保存的dashboard或viewer,须与实际资源类型一致;同一资源全树最多一个位置。
字段 类型 说明
content.menus[].resourceUUID string resource条件保存的,本空间活动dashboard/viewer资源UUID;从有权查看的仪表板/查看器列表取得,不能填节点id。
content.menus[].resourceType string resource条件保存的dashboard或viewer,须与实际资源类型一致;同一资源全树最多一个位置。
content.roleConfigs
字段 类型 说明
content.roleConfigs object 保存的完整角色映射,最多1000角色。省略的角色移除既有自定义配置并回到权限模式,不是保持旧值;owner不允许配置。角色不在当前有效目录则拒绝。
content.roleConfigs.角色UUID
字段 类型 说明
content.roleConfigs.角色UUID json 动态键使用v3 GET roles[].uuid;不是角色名。默认permission,custom限制菜单候选,但从不授予资源/API权限。
content.roleConfigs.角色UUID.mode string 保存的permission或custom。permission基于该角色权限;custom使用显式节点选择。
content.roleConfigs.角色UUID.selectedNodeIds
字段 类型 说明
content.roleConfigs.角色UUID.selectedNodeIds array 可选默认[],custom可选叶子和自定义目录,不能选分隔线或系统父目录;目录选择包含其资源候选。permission模式必须空。未知/已移除ID会过滤,重复去重。
content.roleConfigs.角色UUID.selectedNodeIds[] string 取完整树有效可选id,不取key/resourceUUID。
content.roleConfigs.角色UUID.directoryNodeIds
字段 类型 说明
content.roleConfigs.角色UUID.directoryNodeIds array 仅permission模式可选自定义目录范围。缺省按权限及默认目录规则;显式[]限制为无自定义目录,不影响系统权限菜单。custom出现此字段会拒绝。
content.roleConfigs.角色UUID.directoryNodeIds[] string 单个自定义目录ID,未知目录过滤,不能填系统节点或资源叶子。
content.removedNodeIds
字段 类型 说明
content.removedNodeIds array<string> 本次读取/保存清理的失效资源节点ID;查询不将清理写库。
content.removedNodeIds[] string 被清理节点ID。
content.legacyExtras
字段 类型 说明
content.legacyExtras array<object> 可选历史未知根菜单兼容配置,由旧协议维护,新v3请求不直接提交。
content.legacyExtras[]
字段 类型 说明
content.legacyExtras[].key string 历史Key。
content.legacyExtras[].isShow boolean 历史显隐。
content.legacyExtras[].children array<object> 可选旧二级兼容项。
content.legacyExtraChildren
字段 类型 说明
content.legacyExtraChildren object 可选历史二级兼容映射,键为一级Key。
content.legacyExtraChildren.一级Key
字段 类型 说明
content.legacyExtraChildren.一级Key array<object> 该一级下历史未知子项。
content.legacyExtraChildren.一级Key[]
字段 类型 说明
content.legacyExtraChildren.一级Key[].key string 子Key。
content.legacyExtraChildren.一级Key[].isShow boolean 子项显隐。
字段 类型 说明
content.declaration object 工作空间公共声明。
content.roles
字段 类型 说明
content.roles array<object> 可定制有效角色,排除owner/shared/snapshotShared/anonymous/customRole。
content.roles[]
字段 类型 说明
content.roles[].uuid string 角色UUID,作为roleConfigs动态键。
content.roles[].name string 角色显示名。
content.roles[].isSystem boolean 内置系统角色标记。
content.platformHiddenNodeIds
字段 类型 说明
content.platformHiddenNodeIds array<string> 平台配置/部署形态/空间版本/数据引擎限制的节点ID;isShow=true亦不能解除这些限制。
content.platformHiddenNodeIds[] string 强制隐藏的节点ID。
content.localMenuFallback
字段 类型 说明
content.localMenuFallback object 或 null 供菜单客户端识别本地系统菜单的兼容信息,损坏时明确null;不是授权。
content.localMenuFallback.knownSystemNodeIds
字段 类型 说明
content.localMenuFallback.knownSystemNodeIds array<string> 服务端及本地兼容清单已知系统身份。
content.localMenuFallback.knownSystemNodeIds[] string 完整系统节点ID。
content.localMenuFallback.localSystemNodeIds
字段 类型 说明
content.localMenuFallback.localSystemNodeIds array<string> 已保存但不在内置清单的本地系统身份。
content.localMenuFallback.localSystemNodeIds[] string 本地系统节点ID。
字段 类型 说明
content.localMenuFallback.enabled boolean 本次管理配置读取以空身份计算,通常false;不是最终成员有效菜单的授权开关。
{
  "code": 200,
  "content": {
    "schemaVersion": 3,
    "revision": 0,
    "menus": [
      {
        "id": "system:Scene",
        "type": "system",
        "key": "Scene",
        "name": "场景",
        "isShow": true,
        "children": [
          {
            "id": "system:Scene:DashboardList",
            "type": "system",
            "key": "DashboardList",
            "name": "仪表板",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Scene:ViewerList",
            "type": "system",
            "key": "ViewerList",
            "name": "查看器",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Scene:BuiltInViewList",
            "type": "system",
            "key": "BuiltInViewList",
            "name": "内置视图",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Scene:LinkToTrackService",
            "type": "system",
            "key": "LinkToTrackService",
            "name": "服务管理",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Scene:RegularReportList",
            "type": "system",
            "key": "RegularReportList",
            "name": "报告",
            "isShow": true,
            "children": []
          }
        ]
      },
      {
        "id": "system:Notebook",
        "type": "system",
        "key": "Notebook",
        "name": "知识库",
        "isShow": true,
        "children": []
      },
      {
        "id": "system:Events",
        "type": "system",
        "key": "Events",
        "name": "事件中心",
        "isShow": true,
        "children": [
          {
            "id": "system:Events:KeyEventsMonitor",
            "type": "system",
            "key": "KeyEventsMonitor",
            "name": "事件中心",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Events:KeyEventsMonitorChart",
            "type": "system",
            "key": "KeyEventsMonitorChart",
            "name": "未恢复事件",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Events:LogBackupExplorer",
            "type": "system",
            "key": "LogBackupExplorer",
            "name": "数据转发",
            "isShow": true,
            "children": []
          }
        ]
      },
      {
        "id": "system:ExceptionsTracking",
        "type": "system",
        "key": "ExceptionsTracking",
        "name": "异常追踪",
        "isShow": true,
        "children": [
          {
            "id": "system:ExceptionsTracking:Exceptions",
            "type": "system",
            "key": "Exceptions",
            "name": "异常追踪",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:ExceptionsTracking:AnalysisDashboard",
            "type": "system",
            "key": "AnalysisDashboard",
            "name": "分析看板",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:ExceptionsTracking:ExceptionsSchedule",
            "type": "system",
            "key": "ExceptionsSchedule",
            "name": "日程",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:ExceptionsTracking:ExceptionsTrackingConf",
            "type": "system",
            "key": "ExceptionsTrackingConf",
            "name": "配置管理",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:ExceptionsTracking:CrossWorkspace",
            "type": "system",
            "key": "CrossWorkspace",
            "name": "异常追踪管理",
            "isShow": true,
            "children": []
          }
        ]
      },
      {
        "id": "system:Incident",
        "type": "system",
        "key": "Incident",
        "name": "故障中心",
        "isShow": true,
        "children": [
          {
            "id": "system:Incident:IncidentList",
            "type": "system",
            "key": "IncidentList",
            "name": "故障列表",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Incident:IncidentDashboard",
            "type": "system",
            "key": "IncidentDashboard",
            "name": "分析看板",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Incident:IncidentSchedule",
            "type": "system",
            "key": "IncidentSchedule",
            "name": "值班",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Incident:IncidentConfig",
            "type": "system",
            "key": "IncidentConfig",
            "name": "配置管理",
            "isShow": true,
            "children": []
          }
        ]
      },
      {
        "id": "system:Error",
        "type": "system",
        "key": "Error",
        "name": "错误中心",
        "isShow": true,
        "children": [
          {
            "id": "system:Error:ErrorList",
            "type": "system",
            "key": "ErrorList",
            "name": "错误列表",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Error:ErrorDashboard",
            "type": "system",
            "key": "ErrorDashboard",
            "name": "分析看板",
            "isShow": true,
            "children": []
          }
        ]
      },
      {
        "id": "system:Objectadmin",
        "type": "system",
        "key": "Objectadmin",
        "name": "基础设施",
        "isShow": true,
        "children": [
          {
            "id": "system:Objectadmin:ObjectadminHost",
            "type": "system",
            "key": "ObjectadminHost",
            "name": "主机",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Objectadmin:ObjectadminDocker",
            "type": "system",
            "key": "ObjectadminDocker",
            "name": "容器",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Objectadmin:ObjectadminProcesses",
            "type": "system",
            "key": "ObjectadminProcesses",
            "name": "进程",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Objectadmin:ObjectadminDatabase",
            "type": "system",
            "key": "ObjectadminDatabase",
            "name": "数据库",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Objectadmin:HostNetwork",
            "type": "system",
            "key": "HostNetwork",
            "name": "网络",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Objectadmin:ObjectadminOther",
            "type": "system",
            "key": "ObjectadminOther",
            "name": "资源目录",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Objectadmin:WorkspacePipelineList",
            "type": "system",
            "key": "WorkspacePipelineList",
            "name": "Pipelines",
            "isShow": true,
            "children": []
          }
        ]
      },
      {
        "id": "system:Entity",
        "type": "system",
        "key": "Entity",
        "name": "统一目录",
        "isShow": true,
        "children": [
          {
            "id": "system:Entity:EntityList",
            "type": "system",
            "key": "EntityList",
            "name": "实体列表",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Entity:EntityTopology",
            "type": "system",
            "key": "EntityTopology",
            "name": "全景拓扑图",
            "isShow": true,
            "children": []
          }
        ]
      },
      {
        "id": "system:DataObservability",
        "type": "system",
        "key": "DataObservability",
        "name": "数据可观测",
        "isShow": true,
        "children": [
          {
            "id": "system:DataObservability:DataObservabilityOverview",
            "type": "system",
            "key": "DataObservabilityOverview",
            "name": "概览",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:DataObservability:DataObservabilityCatalog",
            "type": "system",
            "key": "DataObservabilityCatalog",
            "name": "数据目录",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:DataObservability:DataObservabilityJobs",
            "type": "system",
            "key": "DataObservabilityJobs",
            "name": "作业",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:DataObservability:DataObservabilityLineage",
            "type": "system",
            "key": "DataObservabilityLineage",
            "name": "数据血缘",
            "isShow": true,
            "children": []
          }
        ]
      },
      {
        "id": "system:MetricQuery",
        "type": "system",
        "key": "MetricQuery",
        "name": "指标",
        "isShow": true,
        "children": [
          {
            "id": "system:MetricQuery:MetricAnalysis",
            "type": "system",
            "key": "MetricAnalysis",
            "name": "指标分析",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:MetricQuery:MetricMap",
            "type": "system",
            "key": "MetricMap",
            "name": "指标管理",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:MetricQuery:MetricIndicator",
            "type": "system",
            "key": "MetricIndicator",
            "name": "生成指标",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:MetricQuery:WorkspacePipelineList",
            "type": "system",
            "key": "WorkspacePipelineList",
            "name": "Pipelines",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:MetricQuery:DataAccessRuleList",
            "type": "system",
            "key": "DataAccessRuleList",
            "name": "数据访问",
            "isShow": true,
            "children": []
          }
        ]
      },
      {
        "id": "system:LogIndi",
        "type": "system",
        "key": "LogIndi",
        "name": "日志",
        "isShow": true,
        "children": [
          {
            "id": "system:LogIndi:Log",
            "type": "system",
            "key": "Log",
            "name": "查看器",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:LogIndi:LogTrackError",
            "type": "system",
            "key": "LogTrackError",
            "name": "错误追踪",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:LogIndi:LogPipelineList",
            "type": "system",
            "key": "LogPipelineList",
            "name": "Pipelines",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:LogIndi:LogIndexList",
            "type": "system",
            "key": "LogIndexList",
            "name": "索引",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:LogIndi:LogFilterRuleList",
            "type": "system",
            "key": "LogFilterRuleList",
            "name": "黑名单",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:LogIndi:LogBackupExplorer",
            "type": "system",
            "key": "LogBackupExplorer",
            "name": "数据转发",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:LogIndi:LogQueryRuleList",
            "type": "system",
            "key": "LogQueryRuleList",
            "name": "数据访问",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:LogIndi:MetricIndicator",
            "type": "system",
            "key": "MetricIndicator",
            "name": "生成指标",
            "isShow": true,
            "children": []
          }
        ]
      },
      {
        "id": "system:Tracing",
        "type": "system",
        "key": "Tracing",
        "name": "应用性能监测",
        "isShow": true,
        "children": [
          {
            "id": "system:Tracing:LinkToTrackService",
            "type": "system",
            "key": "LinkToTrackService",
            "name": "服务",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Tracing:LinkToTrackDashboard",
            "type": "system",
            "key": "LinkToTrackDashboard",
            "name": "分析看板",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Tracing:LinkToTrackLink",
            "type": "system",
            "key": "LinkToTrackLink",
            "name": "链路",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Tracing:LinkToTrackError",
            "type": "system",
            "key": "LinkToTrackError",
            "name": "错误追踪",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Tracing:LinkToTrackProfile",
            "type": "system",
            "key": "LinkToTrackProfile",
            "name": "Profiling",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Tracing:LogBackupExplorer",
            "type": "system",
            "key": "LogBackupExplorer",
            "name": "数据转发",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Tracing:DataAccessRuleList",
            "type": "system",
            "key": "DataAccessRuleList",
            "name": "数据访问",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Tracing:MetricIndicator",
            "type": "system",
            "key": "MetricIndicator",
            "name": "生成指标",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Tracing:WorkspacePipelineList",
            "type": "system",
            "key": "WorkspacePipelineList",
            "name": "Pipelines",
            "isShow": true,
            "children": []
          }
        ]
      },
      {
        "id": "system:Rum",
        "type": "system",
        "key": "Rum",
        "name": "用户访问监测",
        "isShow": true,
        "children": [
          {
            "id": "system:Rum:RumList",
            "type": "system",
            "key": "RumList",
            "name": "应用列表",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Rum:RumViewer",
            "type": "system",
            "key": "RumViewer",
            "name": "查看器",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Rum:RumDashboard",
            "type": "system",
            "key": "RumDashboard",
            "name": "分析看板",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Rum:RumHeatMap",
            "type": "system",
            "key": "RumHeatMap",
            "name": "用户洞察",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Rum:RumTrack",
            "type": "system",
            "key": "RumTrack",
            "name": "追踪",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Rum:LogBackupExplorer",
            "type": "system",
            "key": "LogBackupExplorer",
            "name": "数据转发",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Rum:DataAccessRuleList",
            "type": "system",
            "key": "DataAccessRuleList",
            "name": "数据访问",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Rum:MetricIndicator",
            "type": "system",
            "key": "MetricIndicator",
            "name": "生成指标",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Rum:WorkspacePipelineList",
            "type": "system",
            "key": "WorkspacePipelineList",
            "name": "Pipelines",
            "isShow": true,
            "children": []
          }
        ]
      },
      {
        "id": "system:CloudBilling",
        "type": "system",
        "key": "CloudBilling",
        "name": "云账单",
        "isShow": true,
        "children": [
          {
            "id": "system:CloudBilling:ColudBillingExplorer",
            "type": "system",
            "key": "ColudBillingExplorer",
            "name": "查看器",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:CloudBilling:ColudBillingDashboard",
            "type": "system",
            "key": "ColudBillingDashboard",
            "name": "云账单分析",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:CloudBilling:CloudBillingBudget",
            "type": "system",
            "key": "CloudBillingBudget",
            "name": "预算",
            "isShow": true,
            "children": []
          }
        ]
      },
      {
        "id": "system:CloudDial",
        "type": "system",
        "key": "CloudDial",
        "name": "可用性监测",
        "isShow": true,
        "children": [
          {
            "id": "system:CloudDial:CloudDialList",
            "type": "system",
            "key": "CloudDialList",
            "name": "任务",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:CloudDial:CloudDialDashboard",
            "type": "system",
            "key": "CloudDialDashboard",
            "name": "概览",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:CloudDial:CloudDialExplorer",
            "type": "system",
            "key": "CloudDialExplorer",
            "name": "查看器",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:CloudDial:CloudDialSelfNodeList",
            "type": "system",
            "key": "CloudDialSelfNodeList",
            "name": "自建节点管理",
            "isShow": true,
            "children": []
          }
        ]
      },
      {
        "id": "system:Security",
        "type": "system",
        "key": "Security",
        "name": "安全监测",
        "isShow": true,
        "children": [
          {
            "id": "system:Security:SecuritySIEMRules",
            "type": "system",
            "key": "SecuritySIEMRules",
            "name": "检测规则",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Security:SecuritySIEMExplorer",
            "type": "system",
            "key": "SecuritySIEMExplorer",
            "name": "信号",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Security:SecuritySIEMExecutionLogs",
            "type": "system",
            "key": "SecuritySIEMExecutionLogs",
            "name": "执行日志",
            "isShow": true,
            "children": []
          }
        ]
      },
      {
        "id": "system:AIMonitor",
        "type": "system",
        "key": "AIMonitor",
        "name": "Agent 监测",
        "isShow": true,
        "children": [
          {
            "id": "system:AIMonitor:AIMonitorList",
            "type": "system",
            "key": "AIMonitorList",
            "name": "应用列表",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:AIMonitor:AIMonitorExplorer",
            "type": "system",
            "key": "AIMonitorExplorer",
            "name": "查看器",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:AIMonitor:AIMonitorEvaluator",
            "type": "system",
            "key": "AIMonitorEvaluator",
            "name": "评估器",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:AIMonitor:AIMonitorDashboard",
            "type": "system",
            "key": "AIMonitorDashboard",
            "name": "分析看板",
            "isShow": true,
            "children": []
          }
        ]
      },
      {
        "id": "system:GitLabCI",
        "type": "system",
        "key": "GitLabCI",
        "name": "CI 可视化",
        "isShow": true,
        "children": [
          {
            "id": "system:GitLabCI:GitLabCIExplorer",
            "type": "system",
            "key": "GitLabCIExplorer",
            "name": "查看器",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:GitLabCI:GitLabCIDashboard",
            "type": "system",
            "key": "GitLabCIDashboard",
            "name": "概览",
            "isShow": true,
            "children": []
          }
        ]
      },
      {
        "id": "system:Monitor",
        "type": "system",
        "key": "Monitor",
        "name": "监控",
        "isShow": true,
        "children": [
          {
            "id": "system:Monitor:CheckerRuleList",
            "type": "system",
            "key": "CheckerRuleList",
            "name": "监控器",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Monitor:AICheckerRuleList",
            "type": "system",
            "key": "AICheckerRuleList",
            "name": "AI 监控器",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Monitor:SmartCheckerRuleList",
            "type": "system",
            "key": "SmartCheckerRuleList",
            "name": "智能监控",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Monitor:SLOList",
            "type": "system",
            "key": "SLOList",
            "name": "SLO",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Monitor:SilenceList",
            "type": "system",
            "key": "SilenceList",
            "name": "静默管理",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Monitor:CheckerRuleGroupList",
            "type": "system",
            "key": "CheckerRuleGroupList",
            "name": "告警策略管理",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Monitor:AlertToList",
            "type": "system",
            "key": "AlertToList",
            "name": "通知对象管理",
            "isShow": true,
            "children": []
          }
        ]
      },
      {
        "id": "system:Integration",
        "type": "system",
        "key": "Integration",
        "name": "集成",
        "isShow": true,
        "children": [
          {
            "id": "system:Integration:IntegrationList",
            "type": "system",
            "key": "IntegrationList",
            "name": "集成",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Integration:Datakit",
            "type": "system",
            "key": "Datakit",
            "name": "DataKit",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Integration:GatewayAccess",
            "type": "system",
            "key": "GatewayAccess",
            "name": "网关接入",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Integration:ImApplication",
            "type": "system",
            "key": "ImApplication",
            "name": "IM 应用",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Integration:FunctionDetail",
            "type": "system",
            "key": "FunctionDetail",
            "name": "扩展",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Integration:CloudAccountList",
            "type": "system",
            "key": "CloudAccountList",
            "name": "云账号管理",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Integration:ExternalDataSourceList",
            "type": "system",
            "key": "ExternalDataSourceList",
            "name": "外部数据源",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Integration:DCA",
            "type": "system",
            "key": "DCA",
            "name": "DCA",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Integration:Mobile",
            "type": "system",
            "key": "Mobile",
            "name": "移动端",
            "isShow": true,
            "children": []
          }
        ]
      },
      {
        "id": "system:Workspace",
        "type": "system",
        "key": "Workspace",
        "name": "管理",
        "isShow": true,
        "children": [
          {
            "id": "system:Workspace:WorkspaceDetail",
            "type": "system",
            "key": "WorkspaceDetail",
            "name": "空间设置",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Workspace:WorkspaceAttrDetail",
            "type": "system",
            "key": "WorkspaceAttrDetail",
            "name": "属性声明",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Workspace:WorkspaceFieldsList",
            "type": "system",
            "key": "WorkspaceFieldsList",
            "name": "字段管理",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Workspace:WorkspaceTagsList",
            "type": "system",
            "key": "WorkspaceTagsList",
            "name": "全局标签",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Workspace:WorkspaceEnvsList",
            "type": "system",
            "key": "WorkspaceEnvsList",
            "name": "环境变量",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Workspace:WorkspaceMembers",
            "type": "system",
            "key": "WorkspaceMembers",
            "name": "成员管理",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Workspace:WorkspaceRoles",
            "type": "system",
            "key": "WorkspaceRoles",
            "name": "角色管理",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Workspace:APIManage",
            "type": "system",
            "key": "APIManage",
            "name": "API Keys 管理",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Workspace:ClientToken",
            "type": "system",
            "key": "ClientToken",
            "name": "Client Tokens 管理",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Workspace:MemberInviteList",
            "type": "system",
            "key": "MemberInviteList",
            "name": "邀请记录",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Workspace:WorkspaceFilterRuleList",
            "type": "system",
            "key": "WorkspaceFilterRuleList",
            "name": "黑名单",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Workspace:WorkspacePipelineList",
            "type": "system",
            "key": "WorkspacePipelineList",
            "name": "Pipelines",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Workspace:LogBackupExplorer",
            "type": "system",
            "key": "LogBackupExplorer",
            "name": "数据转发",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Workspace:DataAccessRuleList",
            "type": "system",
            "key": "DataAccessRuleList",
            "name": "数据访问",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Workspace:RegexpList",
            "type": "system",
            "key": "RegexpList",
            "name": "正则表达式",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Workspace:KeyEventsAudit",
            "type": "system",
            "key": "KeyEventsAudit",
            "name": "审计事件",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Workspace:EmbeddedSharing",
            "type": "system",
            "key": "EmbeddedSharing",
            "name": "分享管理",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Workspace:CrossNamespacedataAuth",
            "type": "system",
            "key": "CrossNamespacedataAuth",
            "name": "跨工作空间授权",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Workspace:DataAuthorization",
            "type": "system",
            "key": "DataAuthorization",
            "name": "字段展示权限",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Workspace:DataScanerList",
            "type": "system",
            "key": "DataScanerList",
            "name": "敏感数据扫描",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Workspace:WorkspaceCopilotSubscription",
            "type": "system",
            "key": "WorkspaceCopilotSubscription",
            "name": "Obsy",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Workspace:ErrorCenterList",
            "type": "system",
            "key": "ErrorCenterList",
            "name": "错误中心",
            "isShow": true,
            "children": []
          },
          {
            "id": "system:Workspace:Labs",
            "type": "system",
            "key": "Labs",
            "name": "实验室",
            "isShow": true,
            "children": []
          }
        ]
      },
      {
        "id": "system:Billing",
        "type": "system",
        "key": "Billing",
        "name": "付费计划与账单",
        "isShow": true,
        "children": []
      }
    ],
    "roleConfigs": {},
    "roles": [
      {
        "uuid": "readOnly",
        "name": "Read-only",
        "isSystem": true
      }
    ],
    "platformHiddenNodeIds": [],
    "removedNodeIds": [],
    "localMenuFallback": {
      "knownSystemNodeIds": [
        "system:AIMonitor",
        "system:AIMonitor:AIMonitorDashboard",
        "system:AIMonitor:AIMonitorEvaluator",
        "system:AIMonitor:AIMonitorExplorer",
        "system:AIMonitor:AIMonitorList",
        "system:Billing",
        "system:CloudBilling",
        "system:CloudBilling:CloudBillingBudget",
        "system:CloudBilling:ColudBillingDashboard",
        "system:CloudBilling:ColudBillingExplorer",
        "system:CloudDial",
        "system:CloudDial:CloudDialDashboard",
        "system:CloudDial:CloudDialExplorer",
        "system:CloudDial:CloudDialList",
        "system:CloudDial:CloudDialSelfNodeList",
        "system:DataObservability",
        "system:DataObservability:DataObservabilityCatalog",
        "system:DataObservability:DataObservabilityJobs",
        "system:DataObservability:DataObservabilityLineage",
        "system:DataObservability:DataObservabilityOverview",
        "system:Entity",
        "system:Entity:EntityList",
        "system:Entity:EntityTopology",
        "system:Error",
        "system:Error:ErrorDashboard",
        "system:Error:ErrorList",
        "system:Events",
        "system:Events:KeyEventsMonitor",
        "system:Events:KeyEventsMonitorChart",
        "system:Events:LogBackupExplorer",
        "system:ExceptionsTracking",
        "system:ExceptionsTracking:AnalysisDashboard",
        "system:ExceptionsTracking:CrossWorkspace",
        "system:ExceptionsTracking:Exceptions",
        "system:ExceptionsTracking:ExceptionsSchedule",
        "system:ExceptionsTracking:ExceptionsTrackingConf",
        "system:GitLabCI",
        "system:GitLabCI:GitLabCIDashboard",
        "system:GitLabCI:GitLabCIExplorer",
        "system:Incident",
        "system:Incident:IncidentConfig",
        "system:Incident:IncidentDashboard",
        "system:Incident:IncidentList",
        "system:Incident:IncidentSchedule",
        "system:Integration",
        "system:Integration:CloudAccountList",
        "system:Integration:DCA",
        "system:Integration:Datakit",
        "system:Integration:ExternalDataSourceList",
        "system:Integration:FunctionDetail",
        "system:Integration:GatewayAccess",
        "system:Integration:ImApplication",
        "system:Integration:IntegrationList",
        "system:Integration:Mobile",
        "system:LogIndi",
        "system:LogIndi:Log",
        "system:LogIndi:LogBackupExplorer",
        "system:LogIndi:LogFilterRuleList",
        "system:LogIndi:LogIndexList",
        "system:LogIndi:LogPipelineList",
        "system:LogIndi:LogQueryRuleList",
        "system:LogIndi:LogTrackError",
        "system:LogIndi:MetricIndicator",
        "system:MetricQuery",
        "system:MetricQuery:DataAccessRuleList",
        "system:MetricQuery:MetricAnalysis",
        "system:MetricQuery:MetricIndicator",
        "system:MetricQuery:MetricMap",
        "system:MetricQuery:WorkspacePipelineList",
        "system:Monitor",
        "system:Monitor:AICheckerRuleList",
        "system:Monitor:AlertToList",
        "system:Monitor:CheckerRuleGroupList",
        "system:Monitor:CheckerRuleList",
        "system:Monitor:SLOList",
        "system:Monitor:SilenceList",
        "system:Monitor:SmartCheckerRuleList",
        "system:Notebook",
        "system:Objectadmin",
        "system:Objectadmin:HostNetwork",
        "system:Objectadmin:ObjectadminDatabase",
        "system:Objectadmin:ObjectadminDocker",
        "system:Objectadmin:ObjectadminHost",
        "system:Objectadmin:ObjectadminOther",
        "system:Objectadmin:ObjectadminProcesses",
        "system:Objectadmin:WorkspacePipelineList",
        "system:Rum",
        "system:Rum:DataAccessRuleList",
        "system:Rum:LogBackupExplorer",
        "system:Rum:MetricIndicator",
        "system:Rum:RumDashboard",
        "system:Rum:RumHeatMap",
        "system:Rum:RumList",
        "system:Rum:RumTrack",
        "system:Rum:RumViewer",
        "system:Rum:WorkspacePipelineList",
        "system:Scene",
        "system:Scene:BuiltInViewList",
        "system:Scene:DashboardList",
        "system:Scene:LinkToTrackService",
        "system:Scene:RegularReportList",
        "system:Scene:ViewerList",
        "system:Security",
        "system:Security:SecuritySIEMExecutionLogs",
        "system:Security:SecuritySIEMExplorer",
        "system:Security:SecuritySIEMRules",
        "system:Tracing",
        "system:Tracing:DataAccessRuleList",
        "system:Tracing:LinkToTrackDashboard",
        "system:Tracing:LinkToTrackError",
        "system:Tracing:LinkToTrackLink",
        "system:Tracing:LinkToTrackProfile",
        "system:Tracing:LinkToTrackService",
        "system:Tracing:LogBackupExplorer",
        "system:Tracing:MetricIndicator",
        "system:Tracing:WorkspacePipelineList",
        "system:Workspace",
        "system:Workspace:APIManage",
        "system:Workspace:ClientToken",
        "system:Workspace:CrossNamespacedataAuth",
        "system:Workspace:DataAccessRuleList",
        "system:Workspace:DataAuthorization",
        "system:Workspace:DataScanerList",
        "system:Workspace:EmbeddedSharing",
        "system:Workspace:ErrorCenterList",
        "system:Workspace:KeyEventsAudit",
        "system:Workspace:Labs",
        "system:Workspace:LogBackupExplorer",
        "system:Workspace:MemberInviteList",
        "system:Workspace:RegexpList",
        "system:Workspace:WorkspaceAttrDetail",
        "system:Workspace:WorkspaceCopilotSubscription",
        "system:Workspace:WorkspaceDetail",
        "system:Workspace:WorkspaceEnvsList",
        "system:Workspace:WorkspaceFieldsList",
        "system:Workspace:WorkspaceFilterRuleList",
        "system:Workspace:WorkspaceMembers",
        "system:Workspace:WorkspacePipelineList",
        "system:Workspace:WorkspaceRoles",
        "system:Workspace:WorkspaceTagsList"
      ],
      "localSystemNodeIds": [],
      "enabled": false
    },
    "declaration": {}
  },
  "errorCode": "",
  "message": "",
  "success": true,
  "traceId": "TRACE-EXAMPLE"
}
HTTP 状态 errorCode 触发条件 消息或响应说明 处理方式
401 ft.WKSPNotExistOrReleased 当前空间不存在或不是活动状态 工作空间不存在/或已释放 确认当前空间有效,使用对应空间Key。
HTTP 状态 errorCode 触发条件 消息或响应说明 处理方式
500 ft.InternalServerError 配置重复/格式损坏、数据库读取或返回格式化失败 内部错误 提供traceId由管理员核对配置;不要通过清空配置掩盖损坏。

错误响应

在响应分栏中查看本接口的 HTTP 错误码。

鉴权、限流和公共请求错误参见公共错误定义。

请求例子

curl --get 'https://openapi.guance.com/api/v1/workspace/menu_v3/get' \
  -H 'DF-API-KEY: <DF-API-KEY>'

文档评价

文档内容是否对您有帮助?