Get all groups with filters
Retrieve a paginated list of groups based on query parameters and user role
query Parameters
schoolIdnumber · min: 1 · requiredSchool id
miniboolean · requiredTask archived?
pagenumberCurrent page
pageSizenumberPage size
keystringFilter by multiples key
cyclestringCycle filter
gradesnumber[]List of grades
levelsstring[]Levels
Responses
dataobject[] · requiredData
pagenumberCurrent page
pageSizenumberPage size
totalnumberTotal
lastPagenumberLast page
nextstringNext page (endpoint)
previousstringPrevious page (endpoint)
Create a new group
Create a new group with the provided data
Request Body
startCyclestring · date-time · requiredStart cycle associated with the group
endCyclestring · date-time · requiredEnd cycle associated with the group
levelstring · requiredLevel of the group
Example: High Schoolgradesstring[] · requiredGrade of the group
Example: 12th Gradenamestring · requiredName of the group
Example: Group Adescriptionstring · requiredDescription of the group
Example: Group A DescriptionslugImgstring · requiredSlug of the group image
Example: /slug-school/1-group.png
Responses
Group created
idnumber · requiredId
createdAtstring · date-time · requiredCreation Date
updatedAtstring · date-time · requiredUpdated Date
startCyclestring · date-time · requiredStart cycle associated with the group
endCyclestring · date-time · requiredEnd cycle associated with the group
levelstring · requiredLevel of the group
Example: High Schoolgradesstring[] · requiredGrade of the group
Example: 12th Gradenamestring · requiredName of the group
Example: Group Adescriptionstring · requiredDescription of the group
Example: Group A DescriptionslugImgstring · requiredSlug of the group image
Example: /slug-school/1-group.png
Get groups for the current user
Retrieve all groups associated with the current user based on their role
query Parameters
schoolIdnumber · min: 1 · requiredSchool id
miniboolean · requiredTask archived?
pagenumberCurrent page
pageSizenumberPage size
keystringFilter by multiples key
cyclestringCycle filter
gradesnumber[]List of grades
levelsstring[]Levels
Responses
dataobject[] · requiredData
pagenumberCurrent page
pageSizenumberPage size
totalnumberTotal
lastPagenumberLast page
nextstringNext page (endpoint)
previousstringPrevious page (endpoint)
Get participants of group
Get participants of group
path Parameters
idnumber · min: 1 · requiredId
query Parameters
schoolIdnumber · min: 1 · requiredSchool id
pagenumberCurrent page
pageSizenumberPage size
keystringFilter by multiples key
rolesstring[]Role list
gradesnumber[]Grade list
levelsstring[]Level list
Responses
schoolIdnumber · min: 1 · requiredSchool id
Example: 1
pagenumberCurrent page
pageSizenumberPage size
keystringFilter by multiples key
rolesstring[]Role list
gradesnumber[]Grade list
levelsstring[]Level list
Get group by ID
Retrieve a specific group by its ID
path Parameters
idnumber · min: 1 · requiredId
Responses
Group detail
idnumber · requiredId
createdAtstring · date-time · requiredCreation Date
updatedAtstring · date-time · requiredUpdated Date
startCyclestring · date-time · requiredStart cycle associated with the group
endCyclestring · date-time · requiredEnd cycle associated with the group
levelstring · requiredLevel of the group
Example: High Schoolgradesstring[] · requiredGrade of the group
Example: 12th Gradenamestring · requiredName of the group
Example: Group Adescriptionstring · requiredDescription of the group
Example: Group A DescriptionslugImgstring · requiredSlug of the group image
Example: /slug-school/1-group.png
Update a group
Update an existing group by its ID
path Parameters
idnumber · min: 1 · requiredId
Request Body
startCyclestring · date-timeStart cycle associated with the group
endCyclestring · date-timeEnd cycle associated with the group
levelstringLevel of the group
Example: High Schoolgradesstring[]Grade of the group
Example: 12th GradenamestringName of the group
Example: Group AdescriptionstringDescription of the group
Example: Group A DescriptionslugImgstringSlug of the group image
Example: /slug-school/1-group.png
Responses
Group updated

