Skip to content

Returns the sidebar menu groups on their own, for refreshing navigation without refetching the full bootstrap payload.

Endpoint

  • Method: GET
  • Path: /options/menu-items
  • Edition: Core
  • Controller: OptionController@getMenuItems
  • Route source: fluent-community/app/Http/Routes/api.php:150
  • Controller source: fluent-community/app/Http/Controllers/OptionController.php

Live sample

The request and response below were recorded against a running FluentCommunity install and then anonymised — member names, emails, avatars and post content are fictional, and long collections are trimmed to a few entries.

GET Get Menu Items

GET
/options/menu-items

Returns the sidebar menu groups on their own, for refreshing navigation without refetching the full bootstrap payload.

Controller: OptionController@getMenuItems
Route source: fluent-community/app/Http/Routes/api.php:150

Authorizations

ApplicationPasswords

WordPress Application Passwords — use Basic auth with username:application_password.

Type
API Key (header: Authorization)

Responses

Successful response

application/json
JSON
{
  
"bottomLinkGroups": [
  
  
{
  
  
  
"additionalProperties": "string"
  
  
}
  
],
  
"context": "string",
  
"has_color_scheme": true,
  
"is_admin": true,
  
"primaryItems": {
  
  
"all_courses": {
  
  
  
"enabled": "string",
  
  
  
"is_locked": "string",
  
  
  
"is_system": "string",
  
  
  
"is_unavailable": "string",
  
  
  
"link_classes": "string",
  
  
  
"permalink": "string",
  
  
  
"shape_svg": "string",
  
  
  
"slug": "string",
  
  
  
"title": "string"
  
  
},
  
  
"all_feeds": {
  
  
  
"enabled": "string",
  
  
  
"is_locked": "string",
  
  
  
"is_system": "string",
  
  
  
"link_classes": "string",
  
  
  
"permalink": "string",
  
  
  
"shape_svg": "string",
  
  
  
"slug": "string",
  
  
  
"title": "string"
  
  
},
  
  
"all_members": {
  
  
  
"enabled": "string",
  
  
  
"is_locked": "string",
  
  
  
"is_system": "string",
  
  
  
"is_unavailable": "string",
  
  
  
"link_classes": "string",
  
  
  
"permalink": "string",
  
  
  
"shape_svg": "string",
  
  
  
"slug": "string",
  
  
  
"title": "string"
  
  
},
  
  
"leaderboard": {
  
  
  
"enabled": "string",
  
  
  
"is_locked": "string",
  
  
  
"is_system": "string",
  
  
  
"is_unavailable": "string",
  
  
  
"link_classes": "string",
  
  
  
"permalink": "string",
  
  
  
"shape_svg": "string",
  
  
  
"slug": "string",
  
  
  
"title": "string"
  
  
},
  
  
"spaces": {
  
  
  
"enabled": "string",
  
  
  
"is_locked": "string",
  
  
  
"is_system": "string",
  
  
  
"link_classes": "string",
  
  
  
"permalink": "string",
  
  
  
"shape_svg": "string",
  
  
  
"slug": "string",
  
  
  
"title": "string"
  
  
}
  
},
  
"settingsItems": [
  
  
{
  
  
  
"additionalProperties": "string"
  
  
}
  
],
  
"spaceGroups": [
  
  
{
  
  
  
"children": [
  
  
  
  
{
  
  
  
  
  
"emoji": "string",
  
  
  
  
  
"icon_image": "string",
  
  
  
  
  
"is_custom": "string",
  
  
  
  
  
"link_classes": "string",
  
  
  
  
  
"new_tab": "string",
  
  
  
  
  
"permalink": "string",
  
  
  
  
  
"shape_svg": "string",
  
  
  
  
  
"title": "string",
  
  
  
  
  
"unread_badge": "string"
  
  
  
  
}
  
  
  
],
  
  
  
"id": 0,
  
  
  
"logo": "string",
  
  
  
"slug": "string",
  
  
  
"title": "string"
  
  
}
  
],
  
"topInlineLinks": [
  
  
{
  
  
  
"additionalProperties": "string"
  
  
}
  
]
}

Playground

Authorization

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation