Group Categories
A GroupCategory object looks like:
{
// The ID of the group category.
"id": 17,
// The display name of the group category.
"name": "Math Groups",
// Certain types of group categories have special role designations. Currently,
// these include: 'communities', 'student_organized', and 'imported'. Regular
// course/account group categories have a role of null.
"role": "communities",
// If the group category allows users to join a group themselves, thought they
// may only be a member of one group per group category at a time. Values
// include 'restricted', 'enabled', and null 'enabled' allows students to assign
// themselves to a group 'restricted' restricts them to only joining a group in
// their section null disallows students from joining groups
"self_signup": null,
// Gives instructors the ability to automatically have group leaders assigned.
// Values include 'random', 'first', and null; 'random' picks a student from the
// group at random as the leader, 'first' sets the first student to be assigned
// to the group as the leader
"auto_leader": null,
// The course or account that the category group belongs to. The pattern here is
// that whatever the context_type is, there will be an _id field named after
// that type. So if instead context_type was 'Course', the course_id field would
// be replaced by an course_id field.
"context_type": "Account",
"account_id": 3,
// If self-signup is enabled, group_limit can be set to cap the number of users
// in each group. If null, there is no limit.
"group_limit": null,
// The SIS identifier for the group category. This field is only included if the
// user has permission to manage or view SIS information.
"sis_group_category_id": null,
// The unique identifier for the SIS import. This field is only included if the
// user has permission to manage SIS information.
"sis_import_id": null,
// If the group category has not yet finished a randomly student assignment
// request, a progress object will be attached, which will contain information
// related to the progress of the assignment request. Refer to the Progress API
// for more information
"progress": null,
// Indicates whether this group category is non-collaborative. A value of true
// means these group categories rely on the manage_tags permissions and do not
// have collaborative features
"non_collaborative": null
}GET /api/v1/accounts/:account_id/group_categories
GET /api/v1/accounts/:account_id/group_categoriesGET /api/v1/courses/:course_id/group_categories
GET /api/v1/courses/:course_id/group_categoriesRequest Parameters:
Parameter
Type
Description
Example Request:
GET /api/v1/group_categories/:group_category_id
GET /api/v1/group_categories/:group_category_idExample Request:
POST /api/v1/accounts/:account_id/group_categories
POST /api/v1/accounts/:account_id/group_categoriesPOST /api/v1/courses/:course_id/group_categories
POST /api/v1/courses/:course_id/group_categoriesRequest Parameters:
Parameter
Type
Description
Example Request:
POST /api/v1/courses/:course_id/group_categories/bulk_manage_differentiation_tag
POST /api/v1/courses/:course_id/group_categories/bulk_manage_differentiation_tagRequest Parameters:
Parameter
Type
Description
Example Request:
POST /api/v1/courses/:course_id/group_categories/import_tags
POST /api/v1/courses/:course_id/group_categories/import_tagsRequest Parameters:
Parameter
Type
Description
Example Response:
POST /api/v1/group_categories/:group_category_id/import
POST /api/v1/group_categories/:group_category_id/importRequest Parameters:
Parameter
Type
Description
Example Response:
PUT /api/v1/group_categories/:group_category_id
PUT /api/v1/group_categories/:group_category_idRequest Parameters:
Parameter
Type
Description
Example Request:
DELETE /api/v1/group_categories/:group_category_id
DELETE /api/v1/group_categories/:group_category_idExample Request:
GET /api/v1/group_categories/:group_category_id/groups
GET /api/v1/group_categories/:group_category_id/groupsExample Request:
GET /api/v1/group_categories/:group_category_id/export
GET /api/v1/group_categories/:group_category_id/exportExample Request:
GET /api/v1/courses/:course_id/group_categories/export_tags
GET /api/v1/courses/:course_id/group_categories/export_tagsExample Request:
GET /api/v1/group_categories/:group_category_id/users
GET /api/v1/group_categories/:group_category_id/usersRequest Parameters:
Parameter
Type
Description
Example Request:
POST /api/v1/group_categories/:group_category_id/assign_unassigned_members
POST /api/v1/group_categories/:group_category_id/assign_unassigned_membersRequest Parameters:
Parameter
Type
Description
Example Request:
Example Response:
Last updated
Was this helpful?