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.

Authorizations​

tokenHeader

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

Type
API Key (header: token)

Parameters​

Query Parameters

flush

true rebuilds the menu cache from the database first

Type
boolean
Examplefalse
Format
"boolean"

Responses​

OK

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

Playground​

Server
Authorization
Variables
Key
Value

Samples​

Released under the Apache-2.0 License.