Skip to content

QuizIdsResponse

Defined in: v1/schemas.ts:539

The response from the /courses/:id/lectures/:id/quizzes endpoint. Returns an array of quiz IDs associated with the lecture. Use these IDs with CoursesAPI.getQuiz to fetch full quiz details or with CoursesAPI.getQuizResponses to fetch student responses.

A lecture may have zero or more quizzes. An empty quiz_ids array indicates the lecture has no quizzes attached.

  • output<typeof QuizIdsResponseSchema>

quiz_ids: number[]

Defined in: v1/schemas.ts:526

z.infer.quiz_ids