Path parameters
The ID of the menu to retrieve.
Query parameters
Expand the response for the given items. Expand array accepts items
.
Response
The unique identifier for this menu.
This will always contain menu
for this endpoint.
The name of this menu.
The unique slug for this menu.
The items of this menu.
The unique identifier for the menu item.
This will always contain menu_item
.
This label for the menu item.
The URL for the menu item.
Whether the menu item is active or not.
Whether the menu item should open in a new tab or not.
The order of the menu item in the list.
The submenu items for this menu item.
The menu item's created at timestamp.
The menu item's created at timestamp.
The menu's created at timestamp.
The menu's updated at timestamp.
import Blutui from 'blutui'
const blutui = new Blutui('ey....')
blutui.project('one').admin.menus.get('9a5b0b29-a4f8-4df6-bf53-f282af312686')
{
"id": "9a5b0b29-a4f8-4df6-bf53-f282af312686",
"object": "menu",
"name": "Primary Menu",
"handle": "primary-menu",
"items": [
{
"id": "9a5b0b29-a5f4-4171-b50f-d0f6b61730e6",
"object": "menu_item",
"label": "About",
"url": "/about",
"active": true,
"is_new_tab": false,
"order": 0,
"items": [],
"created_at": 1711305486,
"updated_at": 1711305486
}
],
"created_at": 1711305486,
"updated_at": 1711305486
}