REST API: App views and main menu
This page belongs to the REST API reference, which covers the address, authentication, scopes, pagination and errors. Every path is appended to https://api.litelog.de/api. In the examples $KEY stands for your API key; the example values are made up.
An app view defines which tiles and quick actions the LiteLog app shows. The company has a default view; further views can be assigned to roles, people or devices. /v1/app-dashboard-layout reads and sets the default view directly. The main menu (/v1/nav-layout) is the menu of the portal.
Overview
| Call | Purpose | Scope |
|---|---|---|
GET /v1/app-views |
List app views | app_dashboard:read |
POST /v1/app-views |
Create an app view | app_dashboard:write |
GET /v1/app-views/assignments |
List app view assignments | app_dashboard:read |
PUT /v1/app-views/assignments |
Assign an app view to roles, people or devices | app_dashboard:write |
GET /v1/app-views/effective |
Effective app view of a person or device | app_dashboard:read |
GET /v1/app-views/{id} |
Get an app view | app_dashboard:read |
PATCH /v1/app-views/{id} |
Change an app view | app_dashboard:write |
DELETE /v1/app-views/{id} |
Delete an app view | app_dashboard:write |
PUT /v1/app-views/{id}/default |
Make an app view the default view | app_dashboard:write |
GET /v1/app-dashboard-layout |
Get the tenant-wide app dashboard layout | app_dashboard:read |
PUT /v1/app-dashboard-layout |
Replace the tenant-wide app dashboard layout | app_dashboard:write |
DELETE /v1/app-dashboard-layout |
Reset the app dashboard layout to the app default | app_dashboard:write |
GET /v1/nav-layout |
Get the company main menu of the portal | nav_layout:read |
PUT /v1/nav-layout |
Replace the company main menu of the portal | nav_layout:write |
DELETE /v1/nav-layout |
Reset the company main menu to the LiteLog default | nav_layout:write |
PUT /v1/nav-layout/preset |
Choose the main menu template of the company | nav_layout:write |
Notes
The layout is pure presentation: rights and plan still decide what someone sees. It therefore needs neither a change reason nor a change approval; every change is recorded in the configuration history (type "Menu layout") with the account of the key, and saving the same layout again changes nothing. Customer accounts get 403. More about the menu: Customize menu.
GET /v1/app-views
List app views.
Scope: app_dashboard:read
Example call
curl "https://api.litelog.de/api/v1/app-views" \
-H "X-Api-Key: $KEY"
Example response (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"
]
}
}
Excerpt: the response carries more fields. The OpenAPI file lists them all.
POST /v1/app-views
Create an app view.
Scope: app_dashboard:write
Body fields (JSON)
| Field | Type | Required | Description |
|---|---|---|---|
name |
string | yes | At most 100 characters. |
layout |
object (AppViewLayout) |
yes | Array order = display order; a catalogue key left out stays enabled. |
is_default |
boolean | no | — |
sort_order |
integer | no | — |
change_reason |
string | no | At most 500 characters. |
Example call
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
}'
Example response (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
List app view assignments.
Scope: app_dashboard:read
Example call
curl "https://api.litelog.de/api/v1/app-views/assignments" \
-H "X-Api-Key: $KEY"
Example response (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
Assign an app view to roles, people or devices.
Scope: app_dashboard:write
Body fields (JSON)
| Field | Type | Required | Description |
|---|---|---|---|
target |
string | yes | Values: role, account, device. |
ids |
array (integer) | yes | At most 50 items. |
app_view_id |
integer or null | yes | At least 1. |
change_reason |
string | no | At most 500 characters. |
Example call
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"
}'
Example response (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
Effective app view of a person or device.
Scope: app_dashboard:read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
account_id |
query | integer | no | At least 1. |
device_id |
query | integer | no | At least 1. |
Example call
curl "https://api.litelog.de/api/v1/app-views/effective?account_id=41" \
-H "X-Api-Key: $KEY"
Example response (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}
Get an app view.
Scope: app_dashboard:read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | integer | yes | At least 1. |
Example call
curl "https://api.litelog.de/api/v1/app-views/7" \
-H "X-Api-Key: $KEY"
Example response (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"
]
}
}
Excerpt: the response carries more fields. The OpenAPI file lists them all.
PATCH /v1/app-views/{id}
Change an app view.
Scope: app_dashboard:write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | integer | yes | At least 1. |
Body fields (JSON)
| Field | Type | Required | Description |
|---|---|---|---|
name |
string | no | At most 100 characters. |
layout |
object (AppViewLayout) |
no | Array order = display order; a catalogue key left out stays enabled. |
sort_order |
integer | no | — |
change_reason |
string | no | At most 500 characters. |
Example call
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"
}'
Example response (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}
Delete an app view.
Scope: app_dashboard:write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | integer | yes | At least 1. |
Example call
curl -X DELETE "https://api.litelog.de/api/v1/app-views/9" \
-H "X-Api-Key: $KEY"
Example response: 204, no body.
PUT /v1/app-views/{id}/default
Make an app view the default view.
Scope: app_dashboard:write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | integer | yes | At least 1. |
Body fields (JSON)
The example shows the structure of the body.
Example call
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"
}'
Example response (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
Get the tenant-wide app dashboard layout.
Scope: app_dashboard:read
Example call
curl "https://api.litelog.de/api/v1/app-dashboard-layout" \
-H "X-Api-Key: $KEY"
Example response (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
Replace the tenant-wide app dashboard layout.
Scope: app_dashboard:write
Body fields (JSON)
| Field | Type | Required | Description |
|---|---|---|---|
version |
integer | yes | Values: 1. |
widgets |
array (object) | yes | At most 5 items. |
quick_actions |
array (object) | no | At most 6 items. |
workspace_scope |
string | no | Scope of the workspace widget. all (default when omitted) = every task and route; spontaneous = only tasks without an active schedule and priority HIGH or MEDIUM. Values: all, spontaneous. |
Example call
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"
}'
Example response (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
Reset the app dashboard layout to the app default.
Scope: app_dashboard:write
Example call
curl -X DELETE "https://api.litelog.de/api/v1/app-dashboard-layout" \
-H "X-Api-Key: $KEY"
Example response: 204, no body.
GET /v1/nav-layout
Company default of the portal menu (layout; null = LiteLog default) and catalog: valid views (keys), panels, rail items, icons, colors, limits and the LiteLog default as a template (default_layout).
Scope: nav_layout:read
Example call
curl "https://api.litelog.de/api/v1/nav-layout" \
-H "X-Api-Key: $KEY"
Example response (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"
}
]
}
]
}
}
}
}
}
}
}
Excerpt: the response carries more fields. The OpenAPI file lists them all.
PUT /v1/nav-layout
Save a whole layout (rail order, hidden main items, sections and views per panel, own names/icons/colors); panels left out keep the LiteLog default. Unknown values, a hidden dashboard or exceeded limits → 422.
Scope: nav_layout:write
Body fields (JSON)
Schema: NavLayout
| Field | Type | Required | Description |
|---|---|---|---|
version |
integer | yes | Values: 1. |
rail |
object | no | Main items on the far left. |
dashboard |
object (NavLayoutPanel) |
yes | Sections of one panel, top to bottom. At most 12 sections and 60 entries in all per panel; section ids unique per panel. |
panels |
object | no | — |
company_updated_at |
string (date-time) or null | no | Set by the server on every saving change; ignored on input. |
Example call
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"
}
]
}
]
}
}
}'
Example response (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"
}
]
}
]
}
}
}
}
}
}
}
Excerpt: the response carries more fields. The OpenAPI file lists them all.
DELETE /v1/nav-layout
Back to the LiteLog default; answer layout: null with the catalogue. Personal versions of individual people stay.
Scope: nav_layout:write
Example call
curl -X DELETE "https://api.litelog.de/api/v1/nav-layout" \
-H "X-Api-Key: $KEY"
Example response (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"
}
]
}
]
}
}
}
}
}
}
}
Excerpt: the response carries more fields. The OpenAPI file lists them all.
PUT /v1/nav-layout/preset
Switches the company main menu to one of the LiteLog presets. null returns to the preset of the industry.
Scope: nav_layout:write
Body fields (JSON)
| Field | Type | Required | Description |
|---|---|---|---|
preset |
string or null | yes | Values: standard, attendance, time, tasks, security, null. |
Example call
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"
}'
Example response (200)
{
"data": {
"preset": "tasks",
"preset_choice": "tasks"
}
}
