Skip to main content

download_exercise_answer_files

Function download_exercise_answer_files 

Source
async fn download_exercise_answer_files(
    pool: Data<PgPool>,
    exercise_id: Path<Uuid>,
    user: AuthUser,
    file_store: Data<dyn FileStore>,
) -> ControllerResult<HttpResponse>
Expand description

GET /api/v0/main-frontend/exercises/:exercise_id/download-answer-files - Streams every file-typed answer to the exercise as a zip archive.