Returns the paginated list of spaces with each one formatted for display, including the current user permissions and membership within it.
Community moderators receive every space; everyone else sees public and private spaces plus any secret space they actively belong to. Heavier than the discovery endpoint because every space is run through the full formatter.
Endpoint
- Method:
GET - Path:
/spaces/all-spaces - Edition: Core
- Controller:
SpaceController@getAllSpaces - Route source:
fluent-community/app/Http/Routes/api.php:31 - Controller source:
fluent-community/app/Http/Controllers/SpaceController.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 List All Spaces
Returns the paginated list of spaces with each one formatted for display, including the current user permissions and membership within it.
Controller: SpaceController@getAllSpaces
Route source: fluent-community/app/Http/Routes/api.php:31
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Responses
Successful response