REST-API: App-Ansichten und Hauptmenü
Diese Seite gehört zur REST-API-Referenz. Dort stehen Adresse, Anmeldung, Scopes, Paginierung und Fehler. Alle Pfade hängen an https://api.litelog.de/api. In den Beispielen steht $KEY für Ihren API-Schlüssel; die Beispielwerte sind erfunden.
Eine App-Ansicht legt fest, welche Kacheln und Schnellaktionen die LiteLog-App zeigt. Die Firma hat eine Standard-Ansicht; weitere Ansichten lassen sich Rollen, Personen oder Geräten zuweisen. /v1/app-dashboard-layout liest und setzt die Standard-Ansicht direkt. Das Hauptmenü (/v1/nav-layout) ist das Menü des Portals.
Übersicht
| Aufruf | Zweck | Scope |
|---|---|---|
GET /v1/app-views |
App-Ansichten auflisten | app_dashboard:read |
POST /v1/app-views |
App-Ansicht anlegen | app_dashboard:write |
GET /v1/app-views/assignments |
Zuweisungen der App-Ansichten auflisten | app_dashboard:read |
PUT /v1/app-views/assignments |
App-Ansicht Rollen, Personen oder Geräten zuweisen | app_dashboard:write |
GET /v1/app-views/effective |
Wirksame App-Ansicht einer Person oder eines Geräts lesen | app_dashboard:read |
GET /v1/app-views/{id} |
Eine App-Ansicht lesen | app_dashboard:read |
PATCH /v1/app-views/{id} |
App-Ansicht ändern | app_dashboard:write |
DELETE /v1/app-views/{id} |
App-Ansicht löschen | app_dashboard:write |
PUT /v1/app-views/{id}/default |
App-Ansicht zur Standard-Ansicht machen | app_dashboard:write |
GET /v1/app-dashboard-layout |
Standard-Ansicht der App für die Firma lesen | app_dashboard:read |
PUT /v1/app-dashboard-layout |
Standard-Ansicht der App für die Firma ersetzen | app_dashboard:write |
DELETE /v1/app-dashboard-layout |
Standard-Ansicht der App auf den LiteLog-Standard zurücksetzen | app_dashboard:write |
GET /v1/nav-layout |
Hauptmenü der Firma im Portal lesen | nav_layout:read |
PUT /v1/nav-layout |
Hauptmenü der Firma im Portal ersetzen | nav_layout:write |
DELETE /v1/nav-layout |
Hauptmenü der Firma auf den LiteLog-Standard zurücksetzen | nav_layout:write |
PUT /v1/nav-layout/preset |
Menü-Vorlage der Firma wählen | nav_layout:write |
Hinweise
Das Layout ist reine Darstellung: Rechte und Paket entscheiden weiter, was jemand sieht. Deshalb verlangt es keinen Änderungsgrund und keine Änderungsfreigabe; jede Änderung steht im Verlauf der Konfiguration (Typ „Menü-Layout") mit dem Zugang des Schlüssels, und ein gleiches Layout noch einmal zu speichern ändert nichts. Kundenzugänge erhalten 403. Mehr zum Menü: Menü anpassen.
GET /v1/app-views
App-Ansichten auflisten.
Berechtigung (Scope): app_dashboard:read
Beispielaufruf
curl "https://api.litelog.de/api/v1/app-views" \
-H "X-Api-Key: $KEY"
Beispielantwort (200)
{
"data": [
{
"app_view_id": 3,
"name": "Standard",
"layout": {
"version": 1,
"widgets": [
{
"key": "status-hero",
"enabled": true
}
],
"quick_actions": [
{
"key": "report",
"enabled": true
}
]
},
"is_default": true,
"sort_order": 0,
"created_at": "2026-12-01T08:15:00.000Z",
"updated_at": "2026-12-01T08:15:00.000Z",
"usage": {
"roles": 0,
"accounts": 0,
"devices": 0
}
}
],
"total": 2,
"catalog": {
"widgets": [
"status-hero"
],
"quick_actions": [
"route"
],
"workspace_scopes": [
"all"
]
}
}
Auszug: Die Antwort trägt weitere Felder. Alle Felder stehen in der OpenAPI-Datei.
POST /v1/app-views
App-Ansicht anlegen.
Berechtigung (Scope): app_dashboard:write
Felder im Rumpf (JSON)
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
name |
string | ja | Höchstens 100 Zeichen. |
layout |
object (AppViewLayout) |
ja | Reihenfolge der Liste = Reihenfolge der Anzeige; ein weggelassener Katalog-Schlüssel bleibt eingeschaltet. |
is_default |
boolean | nein | — |
sort_order |
integer | nein | — |
change_reason |
string | nein | Höchstens 500 Zeichen. |
Beispielaufruf
curl -X POST "https://api.litelog.de/api/v1/app-views" \
-H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
-d '{
"name": "Reinigung",
"layout": {
"version": 1,
"widgets": [
{
"key": "status-hero",
"enabled": true
},
{
"key": "workspace",
"enabled": true
},
{
"key": "quick-actions",
"enabled": true
},
{
"key": "my-shift-today",
"enabled": true
},
{
"key": "statusgeber",
"enabled": false
}
],
"quick_actions": [
{
"key": "report",
"enabled": true
},
{
"key": "task",
"enabled": true
},
{
"key": "forms",
"enabled": true
},
{
"key": "material",
"enabled": true
},
{
"key": "route",
"enabled": false
},
{
"key": "status",
"enabled": false
},
{
"key": "sos",
"enabled": false
},
{
"key": "nfc",
"enabled": false
}
],
"workspace_scope": "all"
},
"sort_order": 10
}'
Beispielantwort (201)
{
"data": {
"app_view_id": 7,
"name": "Reinigung",
"layout": {
"version": 1,
"widgets": [
{
"key": "status-hero",
"enabled": true
},
{
"key": "workspace",
"enabled": true
},
{
"key": "quick-actions",
"enabled": true
},
{
"key": "my-shift-today",
"enabled": true
},
{
"key": "statusgeber",
"enabled": false
}
],
"quick_actions": [
{
"key": "report",
"enabled": true
},
{
"key": "task",
"enabled": true
},
{
"key": "forms",
"enabled": true
},
{
"key": "material",
"enabled": true
},
{
"key": "route",
"enabled": false
},
{
"key": "status",
"enabled": false
},
{
"key": "sos",
"enabled": false
},
{
"key": "nfc",
"enabled": false
}
],
"workspace_scope": "all"
},
"is_default": false,
"sort_order": 10,
"created_at": "2026-12-02T09:20:41.000Z",
"updated_at": "2026-12-02T09:20:41.000Z",
"usage": {
"roles": 0,
"accounts": 0,
"devices": 0
}
}
}
GET /v1/app-views/assignments
Zuweisungen der App-Ansichten auflisten.
Berechtigung (Scope): app_dashboard:read
Beispielaufruf
curl "https://api.litelog.de/api/v1/app-views/assignments" \
-H "X-Api-Key: $KEY"
Beispielantwort (200)
{
"data": {
"roles": [
{
"target": "role",
"id": 11,
"name": "Administrator",
"app_view_id": null,
"app_view_name": null
},
{
"target": "role",
"id": 12,
"name": "Objektleitung",
"app_view_id": null,
"app_view_name": null
},
{
"target": "role",
"id": 13,
"name": "Reinigungskraft",
"app_view_id": 7,
"app_view_name": "Reinigung"
}
],
"accounts": [
{
"target": "account",
"id": 42,
"name": "Max Mustermann",
"app_view_id": 7,
"app_view_name": "Reinigung"
}
],
"devices": [
{
"target": "device",
"id": 301,
"name": "Tablet Empfang",
"app_view_id": 7,
"app_view_name": "Reinigung"
}
],
"default_view": {
"app_view_id": 3,
"name": "Standard"
}
}
}
PUT /v1/app-views/assignments
App-Ansicht Rollen, Personen oder Geräten zuweisen.
Berechtigung (Scope): app_dashboard:write
Felder im Rumpf (JSON)
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
target |
string | ja | Werte: role, account, device. |
ids |
array (integer) | ja | Höchstens 50 Einträge. |
app_view_id |
integer oder null | ja | Mindestens 1. |
change_reason |
string | nein | Höchstens 500 Zeichen. |
Beispielaufruf
curl -X PUT "https://api.litelog.de/api/v1/app-views/assignments" \
-H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
-d '{
"target": "account",
"ids": [
41,
42
],
"app_view_id": 7,
"change_reason": "Reinigungsteam arbeitet nur mit Aufgaben und Meldungen"
}'
Beispielantwort (200)
{
"data": {
"target": "account",
"app_view_id": 7,
"app_view_name": "Reinigung",
"changed": [
{
"target": "account",
"id": 41,
"name": "Erika Musterfrau",
"app_view_id": 7,
"app_view_name": "Reinigung"
}
],
"unchanged": 1
}
}
GET /v1/app-views/effective
Wirksame App-Ansicht einer Person oder eines Geräts lesen.
Berechtigung (Scope): app_dashboard:read
Parameter
| Name | Ort | Typ | Pflicht | Beschreibung |
|---|---|---|---|---|
account_id |
Query | integer | nein | Mindestens 1. |
device_id |
Query | integer | nein | Mindestens 1. |
Beispielaufruf
curl "https://api.litelog.de/api/v1/app-views/effective?account_id=41" \
-H "X-Api-Key: $KEY"
Beispielantwort (200)
{
"data": {
"app_view_id": 7,
"name": "Reinigung",
"source": "role",
"binding": true,
"layout": {
"version": 1,
"widgets": [
{
"key": "status-hero",
"enabled": true
},
{
"key": "workspace",
"enabled": true
},
{
"key": "quick-actions",
"enabled": true
},
{
"key": "my-shift-today",
"enabled": true
},
{
"key": "statusgeber",
"enabled": false
}
],
"quick_actions": [
{
"key": "report",
"enabled": true
},
{
"key": "task",
"enabled": true
},
{
"key": "forms",
"enabled": true
},
{
"key": "material",
"enabled": true
},
{
"key": "route",
"enabled": false
},
{
"key": "status",
"enabled": false
},
{
"key": "sos",
"enabled": false
},
{
"key": "nfc",
"enabled": false
}
],
"workspace_scope": "all"
}
}
}
GET /v1/app-views/{id}
Eine App-Ansicht lesen.
Berechtigung (Scope): app_dashboard:read
Parameter
| Name | Ort | Typ | Pflicht | Beschreibung |
|---|---|---|---|---|
id |
Pfad | integer | ja | Mindestens 1. |
Beispielaufruf
curl "https://api.litelog.de/api/v1/app-views/7" \
-H "X-Api-Key: $KEY"
Beispielantwort (200)
{
"data": {
"app_view_id": 7,
"name": "Reinigung",
"layout": {
"version": 1,
"widgets": [
{
"key": "status-hero",
"enabled": true
},
{
"key": "workspace",
"enabled": true
},
{
"key": "quick-actions",
"enabled": true
}
],
"quick_actions": [
{
"key": "report",
"enabled": true
},
{
"key": "task",
"enabled": true
},
{
"key": "forms",
"enabled": true
}
],
"workspace_scope": "all"
},
"is_default": false,
"sort_order": 10,
"created_at": "2026-12-02T09:20:41.000Z",
"updated_at": "2026-12-02T09:20:41.000Z",
"usage": {
"roles": 1,
"accounts": 1,
"devices": 1
}
},
"catalog": {
"widgets": [
"status-hero",
"my-shift-today",
"quick-actions"
],
"quick_actions": [
"route",
"forms",
"report"
],
"workspace_scopes": [
"all",
"spontaneous"
]
}
}
Auszug: Die Antwort trägt weitere Felder. Alle Felder stehen in der OpenAPI-Datei.
PATCH /v1/app-views/{id}
App-Ansicht ändern.
Berechtigung (Scope): app_dashboard:write
Parameter
| Name | Ort | Typ | Pflicht | Beschreibung |
|---|---|---|---|---|
id |
Pfad | integer | ja | Mindestens 1. |
Felder im Rumpf (JSON)
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
name |
string | nein | Höchstens 100 Zeichen. |
layout |
object (AppViewLayout) |
nein | Reihenfolge der Liste = Reihenfolge der Anzeige; ein weggelassener Katalog-Schlüssel bleibt eingeschaltet. |
sort_order |
integer | nein | — |
change_reason |
string | nein | Höchstens 500 Zeichen. |
Beispielaufruf
curl -X PATCH "https://api.litelog.de/api/v1/app-views/7" \
-H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
-d '{
"name": "Reinigung Tagdienst",
"layout": {
"version": 1,
"widgets": [
{
"key": "status-hero",
"enabled": true
},
{
"key": "workspace",
"enabled": true
},
{
"key": "quick-actions",
"enabled": true
},
{
"key": "my-shift-today",
"enabled": false
},
{
"key": "statusgeber",
"enabled": false
}
],
"quick_actions": [
{
"key": "report",
"enabled": true
},
{
"key": "task",
"enabled": true
},
{
"key": "forms",
"enabled": true
},
{
"key": "material",
"enabled": true
},
{
"key": "route",
"enabled": false
},
{
"key": "status",
"enabled": false
},
{
"key": "sos",
"enabled": false
},
{
"key": "nfc",
"enabled": false
}
],
"workspace_scope": "all"
},
"change_reason": "Schichtkarte für den Tagdienst ausgeblendet"
}'
Beispielantwort (200)
{
"data": {
"app_view_id": 7,
"name": "Reinigung Tagdienst",
"layout": {
"version": 1,
"widgets": [
{
"key": "status-hero",
"enabled": true
},
{
"key": "workspace",
"enabled": true
},
{
"key": "quick-actions",
"enabled": true
},
{
"key": "my-shift-today",
"enabled": false
},
{
"key": "statusgeber",
"enabled": false
}
],
"quick_actions": [
{
"key": "report",
"enabled": true
},
{
"key": "task",
"enabled": true
},
{
"key": "forms",
"enabled": true
},
{
"key": "material",
"enabled": true
},
{
"key": "route",
"enabled": false
},
{
"key": "status",
"enabled": false
},
{
"key": "sos",
"enabled": false
},
{
"key": "nfc",
"enabled": false
}
],
"workspace_scope": "all"
},
"is_default": false,
"sort_order": 10,
"created_at": "2026-12-02T09:20:41.000Z",
"updated_at": "2026-12-03T10:42:17.000Z",
"usage": {
"roles": 1,
"accounts": 1,
"devices": 1
}
}
}
DELETE /v1/app-views/{id}
App-Ansicht löschen.
Berechtigung (Scope): app_dashboard:write
Parameter
| Name | Ort | Typ | Pflicht | Beschreibung |
|---|---|---|---|---|
id |
Pfad | integer | ja | Mindestens 1. |
Beispielaufruf
curl -X DELETE "https://api.litelog.de/api/v1/app-views/9" \
-H "X-Api-Key: $KEY"
Beispielantwort: 204, ohne Rumpf.
PUT /v1/app-views/{id}/default
App-Ansicht zur Standard-Ansicht machen.
Berechtigung (Scope): app_dashboard:write
Parameter
| Name | Ort | Typ | Pflicht | Beschreibung |
|---|---|---|---|---|
id |
Pfad | integer | ja | Mindestens 1. |
Felder im Rumpf (JSON)
Den Aufbau des Rumpfs zeigt das Beispiel.
Beispielaufruf
curl -X PUT "https://api.litelog.de/api/v1/app-views/7/default" \
-H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
-d '{
"change_reason": "Reinigungs-Ansicht gilt ab Dezember für alle Mitarbeitenden"
}'
Beispielantwort (200)
{
"data": {
"app_view_id": 7,
"name": "Reinigung",
"layout": {
"version": 1,
"widgets": [
{
"key": "status-hero",
"enabled": true
},
{
"key": "workspace",
"enabled": true
},
{
"key": "quick-actions",
"enabled": true
},
{
"key": "my-shift-today",
"enabled": true
},
{
"key": "statusgeber",
"enabled": false
}
],
"quick_actions": [
{
"key": "report",
"enabled": true
},
{
"key": "task",
"enabled": true
},
{
"key": "forms",
"enabled": true
},
{
"key": "material",
"enabled": true
},
{
"key": "route",
"enabled": false
},
{
"key": "status",
"enabled": false
},
{
"key": "sos",
"enabled": false
},
{
"key": "nfc",
"enabled": false
}
],
"workspace_scope": "all"
},
"is_default": true,
"sort_order": 10,
"created_at": "2026-12-02T09:20:41.000Z",
"updated_at": "2026-12-03T10:42:17.000Z",
"usage": {
"roles": 1,
"accounts": 1,
"devices": 1
}
}
}
GET /v1/app-dashboard-layout
Standard-Ansicht der App für die Firma lesen.
Berechtigung (Scope): app_dashboard:read
Beispielaufruf
curl "https://api.litelog.de/api/v1/app-dashboard-layout" \
-H "X-Api-Key: $KEY"
Beispielantwort (200)
{
"data": {
"layout": {
"version": 1,
"widgets": [
{
"key": "status-hero",
"enabled": true
},
{
"key": "my-shift-today",
"enabled": true
},
{
"key": "quick-actions",
"enabled": true
},
{
"key": "statusgeber",
"enabled": false
},
{
"key": "workspace",
"enabled": true
}
],
"quick_actions": [
{
"key": "report",
"enabled": true
},
{
"key": "task",
"enabled": true
},
{
"key": "forms",
"enabled": true
},
{
"key": "route",
"enabled": true
},
{
"key": "material",
"enabled": true
},
{
"key": "status",
"enabled": false
},
{
"key": "sos",
"enabled": false
},
{
"key": "nfc",
"enabled": false
}
]
},
"catalog": {
"widgets": [
"status-hero",
"my-shift-today",
"quick-actions",
"statusgeber",
"workspace"
],
"quick_actions": [
"route",
"forms",
"report",
"task",
"material",
"status",
"sos",
"nfc"
],
"workspace_scopes": [
"all",
"spontaneous"
]
}
}
}
PUT /v1/app-dashboard-layout
Standard-Ansicht der App für die Firma ersetzen.
Berechtigung (Scope): app_dashboard:write
Felder im Rumpf (JSON)
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
version |
integer | ja | Werte: 1. |
widgets |
array (object) | ja | Höchstens 5 Einträge. |
quick_actions |
array (object) | nein | Höchstens 6 Einträge. |
workspace_scope |
string | nein | Umfang der Kachel „Aufgaben“. all (Standard, wenn weggelassen) = jede Aufgabe und jeder Rundgang; spontaneous = nur Aufgaben ohne aktiven Serienplan mit Priorität HIGH oder MEDIUM. Werte: all, spontaneous. |
Beispielaufruf
curl -X PUT "https://api.litelog.de/api/v1/app-dashboard-layout" \
-H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
-d '{
"version": 1,
"widgets": [
{
"key": "status-hero",
"enabled": true
},
{
"key": "workspace",
"enabled": true
},
{
"key": "quick-actions",
"enabled": true
},
{
"key": "my-shift-today",
"enabled": true
},
{
"key": "statusgeber",
"enabled": false
}
],
"quick_actions": [
{
"key": "report",
"enabled": true
},
{
"key": "task",
"enabled": true
},
{
"key": "forms",
"enabled": true
},
{
"key": "material",
"enabled": true
},
{
"key": "route",
"enabled": false
},
{
"key": "status",
"enabled": false
},
{
"key": "sos",
"enabled": false
},
{
"key": "nfc",
"enabled": false
}
],
"workspace_scope": "all"
}'
Beispielantwort (200)
{
"data": {
"layout": {
"version": 1,
"widgets": [
{
"key": "status-hero",
"enabled": true
},
{
"key": "workspace",
"enabled": true
},
{
"key": "quick-actions",
"enabled": true
},
{
"key": "my-shift-today",
"enabled": true
},
{
"key": "statusgeber",
"enabled": false
}
],
"quick_actions": [
{
"key": "report",
"enabled": true
},
{
"key": "task",
"enabled": true
},
{
"key": "forms",
"enabled": true
},
{
"key": "material",
"enabled": true
},
{
"key": "route",
"enabled": false
},
{
"key": "status",
"enabled": false
},
{
"key": "sos",
"enabled": false
},
{
"key": "nfc",
"enabled": false
}
],
"workspace_scope": "all"
},
"catalog": {
"widgets": [
"status-hero",
"my-shift-today",
"quick-actions",
"statusgeber",
"workspace"
],
"quick_actions": [
"route",
"forms",
"report",
"task",
"material",
"status",
"sos",
"nfc"
],
"workspace_scopes": [
"all",
"spontaneous"
]
}
}
}
DELETE /v1/app-dashboard-layout
Standard-Ansicht der App auf den LiteLog-Standard zurücksetzen.
Berechtigung (Scope): app_dashboard:write
Beispielaufruf
curl -X DELETE "https://api.litelog.de/api/v1/app-dashboard-layout" \
-H "X-Api-Key: $KEY"
Beispielantwort: 204, ohne Rumpf.
GET /v1/nav-layout
Firmen-Standard des Portal-Menüs (layout; null = LiteLog-Standard) und catalog: gültige Ansichten (keys), Panels, Rail-Punkte, Icons, Farben, Obergrenzen und der LiteLog-Standard als Vorlage (default_layout).
Berechtigung (Scope): nav_layout:read
Beispielaufruf
curl "https://api.litelog.de/api/v1/nav-layout" \
-H "X-Api-Key: $KEY"
Beispielantwort (200)
{
"data": {
"layout": {
"version": 1,
"dashboard": {
"sections": [
{
"id": "overview",
"label": null,
"items": [
{
"key": "dashboard.view"
}
]
}
]
},
"panels": {
"stammdaten": {
"sections": [
{
"id": "main",
"label": null,
"items": [
{
"key": "stammdaten.properties"
}
]
}
]
}
},
"rail": {
"order": [
"dashboard"
],
"hidden": [
"empfango"
],
"more": [
"documents"
],
"items": {
"tasks": {
"label": "Reinigung",
"icon": "CheckOutlined",
"accent": "tasks"
}
}
},
"company_updated_at": "2026-12-01T08:15:00.000Z"
},
"preset": "industry",
"preset_choice": null,
"catalog": {
"version": 1,
"keys": [
"dashboard.view"
],
"panel_ids": [
"dashboard"
],
"rail_ids": [
"dashboard"
],
"protected_rail_ids": [
"dashboard"
],
"required_keys": [
"dashboard.view"
],
"accents": [
"attendance"
],
"icons": [
"DashboardOutlined"
],
"default_section_ids": [
"overview"
],
"limits": {
"sections_max": 12,
"items_max": 60,
"label_max": 40,
"section_id_pattern": "^[a-z0-9][a-z0-9-]{0,35}$"
},
"default_layout": {
"version": 1,
"dashboard": {
"sections": [
{
"id": "overview",
"label": null,
"items": [
{
"key": "dashboard.view"
}
]
}
]
},
"panels": {
"personal": {
"sections": [
{
"id": "plan",
"label": null,
"items": [
{
"key": "time.operations"
}
]
}
]
}
}
},
"preset_ids": [
"industry"
],
"presets": {
"tasks": {
"version": 1,
"rail": {
"order": [
"dashboard"
],
"hidden": []
},
"dashboard": {
"sections": [
{
"id": "overview",
"label": null,
"items": [
{
"key": "dashboard.view"
}
]
}
]
},
"panels": {
"personal": {
"sections": [
{
"id": "plan",
"label": null,
"items": [
{
"key": "time.operations"
}
]
}
]
}
}
}
},
"industry_presets": {
"facility": {
"version": 1,
"rail": {
"order": [
"dashboard"
],
"hidden": [],
"items": {
"reports": {
"term": "defects"
}
}
},
"dashboard": {
"sections": [
{
"id": "overview",
"label": null,
"items": [
{
"key": "dashboard.view"
}
]
}
]
},
"panels": {
"personal": {
"sections": [
{
"id": "main",
"label": null,
"items": [
{
"key": "time.worktime"
}
]
}
]
}
}
}
}
}
}
}
Auszug: Die Antwort trägt weitere Felder. Alle Felder stehen in der OpenAPI-Datei.
PUT /v1/nav-layout
Ganzes Layout speichern (Rail-Reihenfolge, ausgeblendete Hauptpunkte, Abschnitte und Ansichten je Panel, eigene Namen/Icons/Farben); fehlende Panels behalten den LiteLog-Standard. Unbekannte Werte, ein ausgeblendetes Dashboard oder überschrittene Obergrenzen → 422.
Berechtigung (Scope): nav_layout:write
Felder im Rumpf (JSON)
Schema: NavLayout
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
version |
integer | ja | Werte: 1. |
rail |
object | nein | Hauptpunkte ganz links. |
dashboard |
object (NavLayoutPanel) |
ja | Abschnitte eines Panels von oben nach unten. Je Panel höchstens 12 Abschnitte und 60 Einträge insgesamt; Abschnitts-Ids je Panel eindeutig. |
panels |
object | nein | — |
company_updated_at |
string (date-time) oder null | nein | Setzt der Server bei jeder speichernden Änderung; wird bei der Eingabe ignoriert. |
Beispielaufruf
curl -X PUT "https://api.litelog.de/api/v1/nav-layout" \
-H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
-d '{
"version": 1,
"rail": {
"order": [
"dashboard",
"tasks",
"reports",
"personal",
"stammdaten"
],
"hidden": [
"empfango"
],
"more": [
"documents",
"material"
],
"items": {
"tasks": {
"label": "Reinigung",
"icon": "CheckOutlined",
"accent": "tasks"
}
}
},
"dashboard": {
"sections": [
{
"id": "overview",
"label": null,
"items": [
{
"key": "dashboard.view"
}
]
},
{
"id": "now",
"label": null,
"items": [
{
"key": "attendance.live"
},
{
"key": "attendance.live_map"
}
]
},
{
"id": "s-nachweise",
"label": "Nachweise für Kunden",
"items": [
{
"key": "proof.service_level"
},
{
"key": "proof.tasks_coverage",
"label": "Erledigte Reinigungen",
"accent": "tasks"
},
{
"key": "exports"
}
]
}
]
},
"panels": {
"stammdaten": {
"sections": [
{
"id": "main",
"label": null,
"items": [
{
"key": "stammdaten.properties"
},
{
"key": "stammdaten.customers"
},
{
"key": "stammdaten.accounts"
}
]
}
]
}
}
}'
Beispielantwort (200)
{
"data": {
"layout": {
"version": 1,
"dashboard": {
"sections": [
{
"id": "overview",
"label": null,
"items": [
{
"key": "dashboard.view"
}
]
}
]
},
"panels": {
"stammdaten": {
"sections": [
{
"id": "main",
"label": null,
"items": [
{
"key": "stammdaten.properties"
}
]
}
]
}
},
"rail": {
"order": [
"dashboard"
],
"hidden": [
"empfango"
],
"more": [
"documents"
],
"items": {
"tasks": {
"label": "Reinigung",
"icon": "CheckOutlined",
"accent": "tasks"
}
}
},
"company_updated_at": "2026-12-01T08:15:00.000Z"
},
"catalog": {
"version": 1,
"keys": [
"dashboard.view"
],
"panel_ids": [
"dashboard"
],
"rail_ids": [
"dashboard"
],
"protected_rail_ids": [
"dashboard"
],
"required_keys": [
"dashboard.view"
],
"accents": [
"attendance"
],
"icons": [
"DashboardOutlined"
],
"default_section_ids": [
"overview"
],
"limits": {
"sections_max": 12,
"items_max": 60,
"label_max": 40,
"section_id_pattern": "^[a-z0-9][a-z0-9-]{0,35}$"
},
"default_layout": {
"version": 1,
"dashboard": {
"sections": [
{
"id": "overview",
"label": null,
"items": [
{
"key": "dashboard.view"
}
]
}
]
},
"panels": {
"personal": {
"sections": [
{
"id": "plan",
"label": null,
"items": [
{
"key": "time.operations"
}
]
}
]
}
}
},
"preset_ids": [
"industry"
],
"presets": {
"tasks": {
"version": 1,
"rail": {
"order": [
"dashboard"
],
"hidden": []
},
"dashboard": {
"sections": [
{
"id": "overview",
"label": null,
"items": [
{
"key": "dashboard.view"
}
]
}
]
},
"panels": {
"personal": {
"sections": [
{
"id": "plan",
"label": null,
"items": [
{
"key": "time.operations"
}
]
}
]
}
}
}
},
"industry_presets": {
"facility": {
"version": 1,
"rail": {
"order": [
"dashboard"
],
"hidden": [],
"items": {
"reports": {
"term": "defects"
}
}
},
"dashboard": {
"sections": [
{
"id": "overview",
"label": null,
"items": [
{
"key": "dashboard.view"
}
]
}
]
},
"panels": {
"personal": {
"sections": [
{
"id": "main",
"label": null,
"items": [
{
"key": "time.worktime"
}
]
}
]
}
}
}
}
}
}
}
Auszug: Die Antwort trägt weitere Felder. Alle Felder stehen in der OpenAPI-Datei.
DELETE /v1/nav-layout
Zurück auf den LiteLog-Standard; Antwort layout: null mit Katalog. Persönliche Abweichungen einzelner Personen bleiben.
Berechtigung (Scope): nav_layout:write
Beispielaufruf
curl -X DELETE "https://api.litelog.de/api/v1/nav-layout" \
-H "X-Api-Key: $KEY"
Beispielantwort (200)
{
"data": {
"layout": null,
"catalog": {
"version": 1,
"keys": [
"dashboard.view"
],
"panel_ids": [
"dashboard"
],
"rail_ids": [
"dashboard"
],
"protected_rail_ids": [
"dashboard"
],
"required_keys": [
"dashboard.view"
],
"accents": [
"attendance"
],
"icons": [
"DashboardOutlined"
],
"default_section_ids": [
"overview"
],
"limits": {
"sections_max": 12,
"items_max": 60,
"label_max": 40,
"section_id_pattern": "^[a-z0-9][a-z0-9-]{0,35}$"
},
"default_layout": {
"version": 1,
"dashboard": {
"sections": [
{
"id": "overview",
"label": null,
"items": [
{
"key": "dashboard.view"
}
]
}
]
},
"panels": {
"personal": {
"sections": [
{
"id": "plan",
"label": null,
"items": [
{
"key": "time.operations"
}
]
}
]
}
}
},
"preset_ids": [
"industry"
],
"presets": {
"tasks": {
"version": 1,
"rail": {
"order": [
"dashboard"
],
"hidden": []
},
"dashboard": {
"sections": [
{
"id": "overview",
"label": null,
"items": [
{
"key": "dashboard.view"
}
]
}
]
},
"panels": {
"personal": {
"sections": [
{
"id": "plan",
"label": null,
"items": [
{
"key": "time.operations"
}
]
}
]
}
}
}
},
"industry_presets": {
"facility": {
"version": 1,
"rail": {
"order": [
"dashboard"
],
"hidden": [],
"items": {
"reports": {
"term": "defects"
}
}
},
"dashboard": {
"sections": [
{
"id": "overview",
"label": null,
"items": [
{
"key": "dashboard.view"
}
]
}
]
},
"panels": {
"personal": {
"sections": [
{
"id": "main",
"label": null,
"items": [
{
"key": "time.worktime"
}
]
}
]
}
}
}
}
}
}
}
Auszug: Die Antwort trägt weitere Felder. Alle Felder stehen in der OpenAPI-Datei.
PUT /v1/nav-layout/preset
Stellt das Hauptmenü der Firma auf eine der Vorlagen von LiteLog. null kehrt zur Vorlage der Branche zurück.
Berechtigung (Scope): nav_layout:write
Felder im Rumpf (JSON)
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
preset |
string oder null | ja | Werte: standard, attendance, time, tasks, security, null. |
Beispielaufruf
curl -X PUT "https://api.litelog.de/api/v1/nav-layout/preset" \
-H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
-d '{
"preset": "tasks"
}'
Beispielantwort (200)
{
"data": {
"preset": "tasks",
"preset_choice": "tasks"
}
}
