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

Homework

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

FlexibleTask

Represents a homework assignment.

Extends Assignment

Properties

.marking_scheme_id (Number) The ID of the marking scheme used.

.duration (Number) How long the task takes to complete.

.duration_units (Number) The units used for .duration.

.submission_type (String) The type of submission used.

.bookstore_content_ids (Array<Number>) An array of bookstore ids. (???)

Methods

.getOwnSubmission()

Get your own submission to the assignment. Returns Promise<HomeworkSubmission>

.getSubmissions([...ids])

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

Get a list of submissions to the assignment. Returns Promise<Array<HomeworkSubmission>>

Clone this wiki locally