Skip to content

Menu tree the current user may see.​

GET
/erupt-api/menu

Platform and tenant sessions alike; a tenant session only sees the menus of its packages.

授权​

tokenHeader

Login token from POST /erupt-api/login, or from /erupt-api/open-api/create-token for server-to-server calls.

类型
API Key (header: token)

参数​

查询参数

flush

true rebuilds the menu cache from the database first

类型
boolean
示例false
格式
"boolean"

响应​

OK

*/*
JSON
[
  
{
  
  
"id": 0,
  
  
"code": "string",
  
  
"name": "string",
  
  
"type": "string",
  
  
"value": "string",
  
  
"icon": "string",
  
  
"pid": 0,
  
  
"group": "string"
  
}
]

试验场​

服务器
授权
变量
键
值

示例​

Released under the Apache-2.0 License.