submission_response | R Documentation |
comment_submission(
course_id,
assignment_id,
user_id,
comm,
to_group = TRUE,
visible = TRUE
)
grade_submission(course_id, assignment_id, user_id, grade)
course_id |
A valid canvas course id |
assignment_id |
A valid assignment id |
user_id |
A valid user id |
comm |
What comment to give |
to_group |
Whether the comment should be sent to all members of the group |
visible |
Whether the comment should be visible to student or not |
grade |
grade to give |
This plays nicely with purrr::map2
, so it's easy to assign comments or grades
en masse to students.
Invisibly performs the PUT call
## Not run: comment_submission(1350207, 5681164, 4928217, "test")
## Not run: grade_submission(1350207, 5681164, 4928217, 80)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.