Skip to content
This repository was archived by the owner on Jul 24, 2025. It is now read-only.

QuizSubmission

Edward Smale edited this page Apr 7, 2020 · 2 revisions

QuizSubmission

Represents a submission to a quiz assignment.

Extends Submission

Properties

.quiz_id (Number) The ID of the homework task.

.question_ids (Array<Number>) An array of submitted quiz question IDs.

Methods

.getSubmissionQuestions([...ids])

  • [...ids] (Number) A list of all question IDs to retrieve. Leave out to retrieve all.

Get a list of submitted quiz questions. Returns Promise<Array<QuizSubmissionQuestion>>

.postComment(<content>)

  • content (String) The content of the comment to post.

Post a comment to the submission. Returns Promise<SubmissionComment>

Clone this wiki locally