Navigation & Outlines
Get Navigation Outline
Retrieve the navigation structure that defines the portal menu, routes, and page layout.
GET
Get Navigation Outline
Documentation Index
Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt
Use this file to discover all available pages before exploring further.
Get Navigation Outline
Returns the navigation outline that defines the portal’s top-level menu structure, sidebar navigation, and page hierarchy. Operators customise this outline in the Nexudus dashboard. The portal renders its navigation tree directly from this response, making it the single source of truth for what menu items and pages are visible.Authentication
Requires a valid customer bearer token.Response
Returns an object with a singleJson property containing the navigation structure as a serialised JSON string. Consumers must JSON.parse() the value to get the navigation tree.
Serialised JSON string containing the navigation tree structure. Parse this to get the navigation items, routes, and page hierarchy.
Example Response
TypeScript Integration
Usage in Portal
| Context | Source file |
|---|---|
| Portal sidebar / top navigation | src/layouts/DefaultLayout.tsx |
| Route generation | src/routes/ |
Error Responses
The bearer token is missing, expired, or invalid.
Related Endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | /api/public/outlines/all | Get all system outlines |
GET | /api/public/outlines/custom | Get custom outlines created by the operator |
GET | /api/public/outlines/custom/published | Get published custom outlines |
GET | /api/public/configuration | Get portal feature configuration |
Get Navigation Outline