Skip to content

Endpoint ​

  • Method: GET
  • Path: /spaces/{spaceSlug}/primary-menu
  • Edition: Core
  • Controller: SpaceController@getPrimaryMenu
  • Route source: fluent-community/app/Http/Routes/api.php:29
  • Controller source: fluent-community/app/Http/Controllers/SpaceController.php

Inferred sample

No recorded sample exists for this endpoint yet, so the payload below is inferred from the controller and model definitions. Field names and types are accurate; values are placeholders.

GET Get Primary Menu​

GET
/spaces/{spaceSlug}/primary-menu

Get Primary Menu for the FluentCommunity Spaces API.

Controller: SpaceController@getPrimaryMenu
Route source: fluent-community/app/Http/Routes/api.php:29

Authorizations​

ApplicationPasswords

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

Type
API Key (header: Authorization)

Parameters​

Path Parameters

spaceSlug*

SpaceSlug extracted from the URL path.

Type
string
Required

Responses​

Successful response

application/json
JSON
{
  
"menu_items": [
  
  
{
  
  
  
"additionalProperties": "string"
  
  
}
  
]
}

Playground​

Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

FluentCommunity developer documentation