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

Submission

Edward Smale edited this page Apr 6, 2020 · 8 revisions

Submission

Represents a submission to an assignment.

Properties

.client (Client) The client that initiated the object .status (String) The status of the submission. .student_id (Number) The ID of the student who submitted the submission. .student_name (String) The name of the student who submitted the submission. .student_avatar (String) The avatar URL of the student who submitted the submission. .created_timestamp(Number) The timestamp when the submission was created. .updated_timestamp(Number) The timestamp when the submission was last updated. .grade (String) The grade that the submission recieved. .event_ids (Array<Number>) An array of all event IDs for the submission. .comment_ids (Array<Number>) An array of all comment IDs for the submission.

Methods

.getComments([...ids])

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

Get a list of comments made to the submission. Returns Promise<SubmissionComment>

Clone this wiki locally