Function headless_lms_server::controllers::main_frontend::organizations::get_all_organizations
source · async fn get_all_organizations(
pool: Data<PgPool>,
file_store: Data<dyn FileStore>,
app_conf: Data<ApplicationConfiguration>
) -> ControllerResult<Json<Vec<Organization>>>
Expand description
GET /api/v0/main-frontend/organizations
- Returns a list of all organizations.