Skip to content

Powered by Grav + Helios

Sidebar

Sidebar

GET /sidebar/items
Collect sidebar navigation items registered by plugins. Fires the onApiSidebarItems event, drops items whose `authorize` permission the user lacks, strips `authorize`, translates labels that are translation keys into the user's admin language, and sorts by `priority` (highest first). Each item defines an id, label, icon, route, and optional `badge` or `badgeEndpoint`. Requires `api.access`.
JSON
{"data": [{"id": "license-manager", "plugin": "license-manager", "label": "Licenses", "icon": "fa-key", "route": "/plugin/license-manager", "priority": 10}]}

Response Codes

200 Success
401 Unauthorized
403 Missing `api.access` permission