PATCH /v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}
Changed onUpdates one or more fields of a student submission. See google.classroom.v1.StudentSubmission for details of which fields may be updated and who may change them. This request must be made by the Developer Console project of the OAuth client ID used to create the corresponding course work item or an add-on attachment with Grade Sync enabled on the corresponding course work item. This method returns the following error codes: * PERMISSION_DENIED if the requesting developer project did not create the corresponding course work or an add-on attachment on the corresponding course work with Grade Sync enabled, if the user is not permitted to make the requested modification to the student submission, or for access errors. * INVALID_ARGUMENT if the request is malformed. * NOT_FOUND if the requested course, course work, or student submission does not exist.
Request
- Base URLhttps://classroom.googleapis.com
- URLhttps://classroom.googleapis.com/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}
- Auth
- OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/classroom.coursework.meAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/classroom.coursework.me
- or OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/classroom.coursework.studentsAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/classroom.coursework.students
Path parameters
Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.
Identifier of the course work.
Identifier of the student submission.
Query parameters
Mask that identifies which fields on the student submission to update. This field is required to do an update. The update fails if invalid fields are specified. The following fields may be specified by teachers: * draft_grade * assigned_grade
Request body
Response
Successful response
Changes
- info
the security scope
https://www.googleapis.com/auth/classroom.coursework.mewas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/classroom.coursework.mewas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/classroom.coursework.studentswas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/classroom.coursework.studentswas removed from the endpoint's security schemeOauth2c
- info
- info
the security scope
https://www.googleapis.com/auth/classroom.coursework.mewas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/classroom.coursework.mewas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/classroom.coursework.studentswas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/classroom.coursework.studentswas removed from the endpoint's security schemeOauth2c
- info