Courses Controller
controllers.courses.building_by_id(cid)[source]¶controllers.courses.faculties_by_id(cid)[source]¶controllers.courses.list_buildings()[source]¶controllers.courses.list_courses()[source]¶controllers.courses.list_faculties()[source]¶controllers.courses.list_one_course(cid)[source]¶controllers.courses.sync_buildings()[source]¶controllers.students.enroll_course(student, courseid)[source]¶| Parameters: | student – current logged in student from auth decorator. |
|---|
controllers.students.join_study_group(student, studygroupid)[source]¶| Parameters: | student – current logged in student from auth decorator. |
|---|
controllers.students.list_student_courses(student)[source]¶| Parameters: | student – current logged in student from auth decorator. |
|---|
controllers.students.list_student_studygroups(student)[source]¶| Parameters: | student – current logged in student from auth decorator. |
|---|
controllers.students.one_student(student)[source]¶| Parameters: | student – current logged in student from auth decorator. |
|---|
controllers.chatGroup.show_groups(student)[source]¶GET request show all the groups of student.
POST request allows student to form a group. Returns the new list of student’s groups
controllers.chatGroup.students_group(student, cid)[source]¶GET request will show the group to student
PUT request will add student to chatgroup. Returns a JSON object of members of group including the new one.
DELETE request will remove student from chat. Returns a JSON object of members of group excluding the new one.
controllers.homeworks.homework(student)[source]¶GET Request returns a JSON containing the homeworks of student
POST Request adds a new homework to student. Return a JSON containing the homeworks of student including new added
PUT Request alters the homework’s information
DELETE Request removes homework from student
Study Group endpoints.
controllers.studygroups.check_study_group(student, groupid)[source]¶| Parameters: |
|
|---|
Checks if the student owns the study group.
controllers.studygroups.find_studygroups_of_student(student, studentid)[source]¶| Parameters: | student – current logged in student from auth decorator. |
|---|
controllers.studygroups.find_update_studygroup(student, groupid)[source]¶| Parameters: | student – current logged in student from auth decorator. |
|---|
controllers.studygroups.list_studygroup_students(student, groupid)[source]¶| Parameters: | student – current logged in student from auth decorator. |
|---|
controllers.studygroups.list_studygroups(student)[source]¶| Parameters: | student – current logged in student from auth decorator. |
|---|
controllers.studygroups.set_student_studygroup_status(student, groupid, studentid)[source]¶| Parameters: | student – current logged in student from auth decorator. |
|---|
REST API Route bindings.