Module organizations

Source
Expand description

Controllers for requests starting with /api/v0/main-frontend/organizations.

Functionsยง

_add_routes
Add a route for each controller in this module.
create_exam ๐Ÿ”’
POST /api/v0/main-frontend/organizations/{organization_id}/exams - Creates new exam for the organization.
get_all_organizations ๐Ÿ”’
GET /api/v0/main-frontend/organizations - Returns a list of all organizations.
get_course_exams ๐Ÿ”’
GET /api/v0/main-frontend/organizations/{organization_id}/course_exams - Returns an organizations exams in CourseExam form.
get_org_exam_with_exam_id
GET `/api/v0/main-frontend/organizations/{exam_id}/fetch_org_exam
get_org_exams ๐Ÿ”’
GET /api/v0/main-frontend/organizations/{organization_id}/exams - Returns an organizations exams in Exam form.
get_organization ๐Ÿ”’
GET /api/v0/main-frontend/organizations/{organization_id} - Returns an organizations with id.
get_organization_active_courses ๐Ÿ”’
get_organization_active_courses_count ๐Ÿ”’
get_organization_course_count ๐Ÿ”’
get_organization_courses ๐Ÿ”’
GET /api/v0/main-frontend/organizations/{organization_id}/courses" - Returns a list of all courses in a organization.
get_organization_duplicatable_courses ๐Ÿ”’
GET /api/v0/main-frontend/organizations/{organization_id}/courses/duplicatable" - Returns a list of all courses in a organization that the current user has permission to duplicate.
remove_organization_image ๐Ÿ”’
DELETE /api/v0/main-frontend/organizations/:organizations_id/image - Removes the organizations image.
set_organization_image ๐Ÿ”’
PUT /api/v0/main-frontend/organizations/:organizations_id/image - Sets or updates the chapter image.