Google Classroom add-ons are now generally available to developers! Please see the
add-ons documentation for more information.
REST Resource: courses.posts.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 |
|
Returns a student submission for an add-on attachment. |
|
Updates data associated with an add-on attachment submission. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-27 UTC.
[null,null,["Last updated 2025-02-27 UTC."],[[["The `AddOnAttachmentStudentSubmission` resource is a payload used for updating grades on student submissions for add-on attachments in Google Classroom."],["It includes fields for points earned, submission state, and the student's user ID."],["Developers can use the `get` and `patch` methods to retrieve and update student submission data."],["The `userId` field is experimental and requires sufficient scopes for population."]]],[]]