Applies a new sidebar order to the space groups.
Send indexes as a map of group id to zero-based position; each group serial is stored as the position plus one. An id that does not resolve to a group aborts the call.
Endpoint
Method:
PATCHPath:
/spaces/space_groups/re-indexEdition: Core
Controller:
SpaceController@updateSpaceGroupIndexesRoute source:
fluent-community/app/Http/Routes/api.php:36Controller source:
fluent-community/app/Http/Controllers/SpaceController.phpRequires community-admin or course-admin access, or the admin role in the space named by
space_id.
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.
PATCH Reindex Space Groups
Applies a new sidebar order to the space groups.
Controller: SpaceController@updateSpaceGroupIndexes
Route source: fluent-community/app/Http/Routes/api.php:36
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Request Body
Responses
Successful response