Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns a student submission. * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course, course work, or 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.
See: Google Classroom API Reference for classroom.courses.courseWork.studentSubmissions.get
.
Synopsis
- type CoursesCourseWorkStudentSubmissionsGetResource = "v1" :> ("courses" :> (Capture "courseId" Text :> ("courseWork" :> (Capture "courseWorkId" Text :> ("studentSubmissions" :> (Capture "id" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] StudentSubmission))))))))))))
- coursesCourseWorkStudentSubmissionsGet :: Text -> Text -> Text -> CoursesCourseWorkStudentSubmissionsGet
- data CoursesCourseWorkStudentSubmissionsGet
- ccwssgXgafv :: Lens' CoursesCourseWorkStudentSubmissionsGet (Maybe Xgafv)
- ccwssgUploadProtocol :: Lens' CoursesCourseWorkStudentSubmissionsGet (Maybe Text)
- ccwssgCourseId :: Lens' CoursesCourseWorkStudentSubmissionsGet Text
- ccwssgAccessToken :: Lens' CoursesCourseWorkStudentSubmissionsGet (Maybe Text)
- ccwssgUploadType :: Lens' CoursesCourseWorkStudentSubmissionsGet (Maybe Text)
- ccwssgId :: Lens' CoursesCourseWorkStudentSubmissionsGet Text
- ccwssgCallback :: Lens' CoursesCourseWorkStudentSubmissionsGet (Maybe Text)
- ccwssgCourseWorkId :: Lens' CoursesCourseWorkStudentSubmissionsGet Text
REST Resource
type CoursesCourseWorkStudentSubmissionsGetResource = "v1" :> ("courses" :> (Capture "courseId" Text :> ("courseWork" :> (Capture "courseWorkId" Text :> ("studentSubmissions" :> (Capture "id" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] StudentSubmission)))))))))))) Source #
A resource alias for classroom.courses.courseWork.studentSubmissions.get
method which the
CoursesCourseWorkStudentSubmissionsGet
request conforms to.
Creating a Request
coursesCourseWorkStudentSubmissionsGet Source #
Creates a value of CoursesCourseWorkStudentSubmissionsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CoursesCourseWorkStudentSubmissionsGet Source #
Returns a student submission. * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course, course work, or 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.
See: coursesCourseWorkStudentSubmissionsGet
smart constructor.
Instances
Request Lenses
ccwssgXgafv :: Lens' CoursesCourseWorkStudentSubmissionsGet (Maybe Xgafv) Source #
V1 error format.
ccwssgUploadProtocol :: Lens' CoursesCourseWorkStudentSubmissionsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ccwssgCourseId :: Lens' CoursesCourseWorkStudentSubmissionsGet Text Source #
Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.
ccwssgAccessToken :: Lens' CoursesCourseWorkStudentSubmissionsGet (Maybe Text) Source #
OAuth access token.
ccwssgUploadType :: Lens' CoursesCourseWorkStudentSubmissionsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ccwssgId :: Lens' CoursesCourseWorkStudentSubmissionsGet Text Source #
Identifier of the student submission.
ccwssgCourseWorkId :: Lens' CoursesCourseWorkStudentSubmissionsGet Text Source #
Identifier of the course work.