forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiB7122d71Burak Boduroğlu4 months ago419 commits

getStudentAttemptAnswerImage.ts12 lines, 434 bytesHistoryRawDownload
1import { blobClient } from "../client";
2
3/** Grader view of a specific past sitting's answer image (mirrors getStudentAnswerImage, scoped to a seq). */
4export async function getStudentAttemptAnswerImage(
5 examId: string,
6 userId: string,
7 seq: number,
8 questionId: string,
9 signal?: AbortSignal,
10): Promise<Blob> {
11 return blobClient(`/exams/${examId}/students/${userId}/attempts/${seq}/answers/${questionId}/image`, signal);
12}