Searches community spaces by title, returning id and title pairs for the analytics space picker.
Only search is read. Space groups, courses and sidebar links are excluded, and unpublished spaces are not filtered out.
Endpoint
Method:
GETPath:
/analytics/spaces/searchEdition: PRO
Controller:
SpacesReportsController@searchSpaceRoute source:
fluent-community-pro/app/Http/Routes/api.php:88Controller source:
fluent-community-pro/app/Http/Controllers/SpacesReportsController.phpRequires the FluentCommunity community-admin permission (or a WordPress super admin).
Requires FluentCommunity Pro.
There is no result limit, so an empty
searchreturns every community space on the site in one response.
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 Search Report Spaces
Searches community spaces by title, returning id and title pairs for the analytics space picker.
Controller: SpacesReportsController@searchSpace
Route source: fluent-community-pro/app/Http/Routes/api.php:88
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Query Parameters
Search read via $request->getSafe() in searchSpace().
Responses
Successful response