Submissons API
This page documents the Submissons API of Canvas, see https://canvas.instructure.com/doc/api/submissions for details.
Canvas.submissions
— FunctionCanvas.submissions(c::Union{Course,Section}, a::Assignment; kwargs...) -> Vector{Submission}, page_data
Return a paginated list of all existing submissions for an assignment. Return a vector of Submission
and a dictionary with page data.
Canvas API documentation: List assignment submissions (GET /api/v1/courses/:course_id/assignments/:assignment_id/submissions
, GET /api/v1/sections/:section_id/assignments/:assignment_id/submissions
)
Canvas.grade_submission
— FunctionCanvas.grade_submission(c::Union{Course,Section}, a::Assignment, user::User; kwargs...) -> Dict
Comment on and/or update the grading for a student's assignment submissions.
Canvas API documentation: Grade or comment on a submission (PUT /api/v1/courses/:course_id/assignments/:assignment_id/submissions/:user_id
, PUT /api/v1/sections/:section_id/assignments/:assignment_id/submissions/:user_id
)