Expand description
Controllers for requests starting with /api/v0/main-frontend/organizations.
Structsยง
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. - create_
organization ๐ - POST
/api/v0/main-frontend/organizationsCreates a new organization with the given name, slug, and visibility status. - 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. - soft_
delete_ ๐organization - update_
organization ๐ - PUT
/api/v0/main-frontend/organizations/{organization_id}