Get resolved navigation for a site/location
GET
/public/nav
const url = 'https://kynectlocal-production.up.railway.app/v1/public/nav?domain=example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://kynectlocal-production.up.railway.app/v1/public/nav?domain=example'Parameters
Section titled β Parameters βQuery Parameters
Section titled βQuery Parameters β domain
required
string
Site domain
locationId
string format: uuid
Location scope
Responses
Section titled β Responses βSuccess
Media type application/json
object
data
required
object
navigation
required
Navigation tree
Array
Example generated
{ "data": { "navigation": [ "example" ] }}Validation error
Media type application/json
object
error
required
Error envelope
object
code
required
Machine-readable error code
string
message
required
Human-readable error description
string
details
Additional context, e.g. validation field errors
Example generated
{ "error": { "code": "example", "message": "example", "details": "example" }}Unauthenticated
Media type application/json
object
error
required
Error envelope
object
code
required
Machine-readable error code
string
message
required
Human-readable error description
string
details
Additional context, e.g. validation field errors
Example generated
{ "error": { "code": "example", "message": "example", "details": "example" }}Forbidden
Media type application/json
object
error
required
Error envelope
object
code
required
Machine-readable error code
string
message
required
Human-readable error description
string
details
Additional context, e.g. validation field errors
Example generated
{ "error": { "code": "example", "message": "example", "details": "example" }}Not found
Media type application/json
object
error
required
Error envelope
object
code
required
Machine-readable error code
string
message
required
Human-readable error description
string
details
Additional context, e.g. validation field errors
Example generated
{ "error": { "code": "example", "message": "example", "details": "example" }}Unprocessable
Media type application/json
object
error
required
Error envelope
object
code
required
Machine-readable error code
string
message
required
Human-readable error description
string
details
Additional context, e.g. validation field errors
Example generated
{ "error": { "code": "example", "message": "example", "details": "example" }}