menu.proto — Navigation menus for the admin UI
Schema: tiyi.v1 · menu.proto · English guide · 中文指南 · Full RPC index
Services
MenuService
| RPC | Kind | Required permission |
|---|---|---|
ListMenus |
unary | authenticated |
RPCs
MenuService.ListMenus
- Procedure
POST /tiyi.v1.MenuService/ListMenus - Kind unary
- Auth authenticated
Request — tiyi.v1.ListMenusRequest
No fields — send {}.
Response — tiyi.v1.ListMenusResponse
| Field | JSON key | Type | Cardinality | Description |
|---|---|---|---|---|
menus |
menus |
MenuRecord |
repeated | — |
Messages
MenuMeta
| Field | JSON key | Type | Cardinality | Description |
|---|---|---|---|---|
title |
title |
string |
singular | — |
icon |
icon |
string |
singular | — |
order |
order |
int32 |
singular | — |
hide_in_menu |
hideInMenu |
bool |
singular | — |
keep_alive |
keepAlive |
bool |
singular | — |
authority |
authority |
string |
repeated | — |
MenuRecord
| Field | JSON key | Type | Cardinality | Description |
|---|---|---|---|---|
path |
path |
string |
singular | — |
component |
component |
string |
singular | — |
name |
name |
string |
singular | — |
redirect |
redirect |
string |
singular | — |
meta |
meta |
MenuMeta |
singular | — |
children |
children |
MenuRecord |
repeated | — |