Skip to main content

get_shared_submission_info

Function get_shared_submission_info 

Source
async fn get_shared_submission_info(
    token: Path<Uuid>,
    pool: Data<PgPool>,
    _user: AuthUser,
    file_store: Data<dyn FileStore>,
    app_conf: Data<ApplicationConfiguration>,
) -> ControllerResult<Json<ExerciseSlideSubmissionInfo>>
Expand description

GET /api/v0/main-frontend/shared-submissions/{token} - Returns the data needed to render a shared submission.

The token is the unguessable share id minted by the client share endpoint. Login is required, but holding the token is the only capability needed to view the submission — no teacher or course role.