Creates a space group to hold spaces in the sidebar.
title and slug are both required and must be unique across all space records, groups and spaces alike. The group is appended to the end of the sidebar order.
Endpoint
Method:
POSTPath:
/spaces/space_groupsEdition: Core
Controller:
SpaceController@createSpaceGroupRoute source:
fluent-community/app/Http/Routes/api.php:33Controller 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.
POST Create Space Group
Creates a space group to hold spaces in the sidebar.
Controller: SpaceController@createSpaceGroup
Route source: fluent-community/app/Http/Routes/api.php:33
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Request Body
Responses
Successful response