REST Resource: courses.courseWork.addOnAttachments.studentSubmissions

Resource: AddOnAttachmentStudentSubmission

Payload for grade update requests.

JSON representation
{
  "pointsEarned": number,
  "postSubmissionState": enum (SubmissionState),
  "userId": string
}
Fields
pointsEarned

number

Student grade on this attachment. If unset, no grade was set.

postSubmissionState

enum (SubmissionState)

Submission state of add-on attachment's parent post (i.e. assignment).

userId

string

Identifier for the student that owns this submission.

This field is part of an experimental API change and is populated only if sufficient scopes are granted.

Methods

get

Returns a student submission for an add-on attachment.

patch

Updates data associated with an add-on attachment submission.