headless_lms_server/controllers/tmc_server/mod.rs
1/*!
2Handlers for HTTP requests to `/api/v0/tmc-server`.
3
4These endpoints are used by the TMC server so that it can integrate with this system.
5*/
6
7pub mod users_by_upstream_id;
8
9use crate::prelude::*;
10
11/// Add controllers from all the submodules.
12pub fn _add_routes(cfg: &mut ServiceConfig) {
13 cfg.service(web::scope("/users-by-upstream-id").configure(users_by_upstream_id::_add_routes));
14}