GET /v1/courses/{courseId}/posts/{postId}/addOnAttachments/{attachmentId}/studentSubmissions/{submissionId}
Changed onReturns a student submission for an add-on attachment. This method returns the following error codes: * PERMISSION_DENIED for access errors. * INVALID_ARGUMENT if the request is malformed. * NOT_FOUND if one of the identified resources does not exist.
Request
- Base URLhttps://classroom.googleapis.com
- URLhttps://classroom.googleapis.com/v1/courses/{courseId}/posts/{postId}/addOnAttachments/{attachmentId}/studentSubmissions/{submissionId}
- Auth
- OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/classroom.addons.studentAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/classroom.addons.student
- or OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/classroom.addons.teacherAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/classroom.addons.teacher
- or 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.me.readonlyAuthorization 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.readonly
- 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
- or OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/classroom.coursework.students.readonlyAuthorization 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.readonly
- or OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/classroom.student-submissions.me.readonlyAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/classroom.student-submissions.me.readonly
- or OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/classroom.student-submissions.students.readonlyAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/classroom.student-submissions.students.readonly
Path parameters
Required. Identifier of the course.
Optional. Deprecated, use item_id instead.
Required. Identifier of the attachment.
Required. Identifier of the student’s submission.
Query parameters
Identifier of the Announcement, CourseWork, or CourseWorkMaterial under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id.
Response
Successful response
Changes
- info
the security scope
https://www.googleapis.com/auth/classroom.addons.studentwas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/classroom.addons.studentwas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/classroom.student-submissions.students.readonlywas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/classroom.student-submissions.students.readonlywas removed from the endpoint's security schemeOauth2c
- info
- info
the security scope
https://www.googleapis.com/auth/classroom.addons.studentwas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/classroom.addons.studentwas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/classroom.student-submissions.students.readonlywas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/classroom.student-submissions.students.readonlywas removed from the endpoint's security schemeOauth2c
- info