Returns a student submission.

gc_courses_course_work_student_submissions_get(courseId, courseWorkId, id)

Arguments

courseId

Identifier of the course

courseWorkId

Identifier of the course work

id

Identifier of the student submission

Details

This method returns the following error codes:

  • PERMISSION_DENIED if the requesting user is not permitted to access therequested course, course work, or student submission or foraccess errors.

  • INVALID_ARGUMENT if the request is malformed.

  • NOT_FOUND if the requested course, course work, or student submissiondoes not exist.

Authentication scopes used by this function are:

  • https://www.googleapis.com/auth/classroom.coursework.me

  • https://www.googleapis.com/auth/classroom.coursework.me.readonly

  • https://www.googleapis.com/auth/classroom.coursework.students

  • https://www.googleapis.com/auth/classroom.coursework.students.readonly

  • https://www.googleapis.com/auth/classroom.student-submissions.me.readonly

  • https://www.googleapis.com/auth/classroom.student-submissions.students.readonly

Set options(googleAuthR.scopes.selected = c("https://www.googleapis.com/auth/classroom.coursework.me", "https://www.googleapis.com/auth/classroom.coursework.me.readonly", "https://www.googleapis.com/auth/classroom.coursework.students", "https://www.googleapis.com/auth/classroom.coursework.students.readonly", "https://www.googleapis.com/auth/classroom.student-submissions.me.readonly", "https://www.googleapis.com/auth/classroom.student-submissions.students.readonly") Then run googleAuthR::gar_auth() to authenticate. See gar_auth for details.

See also