Returns one space with its settings, topics, the current user membership and the permissions they hold inside it.
Endpoint
Method:
GETPath:
/spaces/{spaceSlug}/by-slugEdition: Core
Controller:
SpaceController@getBySlugRoute source:
fluent-community/app/Http/Routes/api.php:10Controller source:
fluent-community/app/Http/Controllers/SpaceController.phpA secret space the caller is neither a member nor an admin of returns exactly the same 404 as a space that does not exist, so its existence cannot be probed by slug.
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 Space By Slug
Returns one space with its settings, topics, the current user membership and the permissions they hold inside it.
Controller: SpaceController@getBySlug
Route source: fluent-community/app/Http/Routes/api.php:10
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Path Parameters
SpaceSlug extracted from the URL path.
Responses
Successful response