Function headless_lms_server::controllers::main_frontend::roles::fetch
source ยท pub async fn fetch(
pool: Data<PgPool>,
query: Query<RoleQuery>,
user: AuthUser,
) -> ControllerResult<Json<Vec<RoleUser>>>
Expand description
- GET /api/v0/main-frontend/roles - Get all roles for the given domain.