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
Example
falseFormat
"boolean"Responses
OK
*/*
JSON { "id": 0, "code": "string", "name": "string", "type": "string", "value": "string", "icon": "string", "pid": 0, "group": "string" }
[
]