For the complete documentation index, see llms.txt. This page is also available as Markdown.

MenuItems

Introduction

MenuItems are configurable additional menu entries.

The module provides user and administration endpoints.

User routes

List

Get all visible MenuItems for the current authenticated user.

Definition

GET /api/menu/items

Example Request

$client = new GuzzleHttp\Client(['base_uri' => 'https://{tenant}.intratool.de']);
$response = $client->request('GET', '/api/menu/items', [
    'headers' => ['Authorization' => 'Bearer {accessToken}'],
]);

Example Response

[
  {
    "id": 15,
    "lang_id": "de",
    "icon_id": 4,
    "menu_identifier": "help-center",
    "type": "default",
    "title": "Help Center",
    "link": "https://example.com/help",
    "allow_iframe_access": true,
    "iframe_access": false,
    "user_confirmation_required": false,
    "sort_number": 1,
    "created_at": "2019-06-15 12:00:00",
    "updated_at": "2019-06-15 12:00:00",
    "deleted_at": null
  }
]

Show

Show a single MenuItem by id.

Definition

GET /api/menu/items/{id}

Example Request

Example Response

[Adm.] List

Get all MenuItems in administration scope.

Definition

GET /api/administration/menu/items

Example Request

Example Response

[Adm.] Show

Show a single MenuItem by id in administration scope.

Definition

GET /api/administration/menu/items/{id}

Example Request

Example Response

[Adm.] Create

Create a new MenuItem.

Definition

POST /api/administration/menu/items

Request Keys

Key
Type
Default
Description

lang_id

string

system language

Language key for translatable fields.

icon_id*

integer

-

Related Icon.

menu_identifier*

string

-

Internal identifier of the menu section.

type*

string

-

Item type.

title*

string

-

Display title.

link*

string

-

Target URL/link.

allow_iframe_access

boolean

true

Enables iframe-access probing for the link.

iframe_access

boolean

calculated

Computed by backend from allow_iframe_access + link check.

user_confirmation_required

boolean

false

Whether user confirmation is required.

sort_number

integer

current highest +1

Sort order in menu section.

entity_permissions

array

-

Optional entity-permission restrictions.

Keys with * are required.

Example Request

Example Response

link supports system variables.

Common examples:

  • {{ system.user.id }}

  • {{ menuItem.id }}

Example:

Notes:

  • In create/update responses, link is stored and returned as configured.

  • Resolved values are exposed by NavigationItems.

  • For iframe-enabled links, URL validation is done with system-variable placeholders.

[Adm.] Update

Update an existing MenuItem by id.

Definition

PUT /api/administration/menu/items/{id}

Request Keys

Same keys as create, all optional (filled) except backend-calculated behavior for iframe_access.

Example Request

Example Response

[Adm.] Delete

Delete an existing MenuItem by id.

Definition

DELETE /api/administration/menu/items/{id}

Example Request

Example Response

Last updated