headless_lms_server::controllers::main_frontend::teacher_grading_decisions

Function create_teacher_grading_decision

Source
async fn create_teacher_grading_decision(
    payload: Json<NewTeacherGradingDecision>,
    pool: Data<PgPool>,
    user: AuthUser,
) -> ControllerResult<Json<UserExerciseState>>
Expand description

POST /api/v0/main-frontend/teacher-grading-decisions - Creates a new teacher grading decision, overriding the points a user has received from an exercise.