Skip to main content

grading_request_files

Function grading_request_files 

Source
fn grading_request_files(
    files: Option<&[AnswerFile]>,
    base_url: &str,
    jwt_key: &JwtKey,
) -> Result<Vec<GradingRequestFile>, Error>
Expand description

The grading request’s file list for a submission’s answer: its files in answer order, empty for an answer that has none.

Mints a single-file download claim per file, so the service fetches a URL the host chose rather than one a student supplied.