You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
closes CNVS-17549
closes CNVS-17553
Test plan:
* excuse and unexcuse assignments from the api
* student grades should be correct
Change-Id: Id8e0fa9edb404bdf65bff0bfc4c79c6f33e8a7e4
Reviewed-on: https://gerrit.instructure.com/53409
Tested-by: Jenkins
Reviewed-by: Josh Simpson <jsimpson@instructure.com>
QA-Review: Adrian Foong <afoong@instructure.com>
Product-Review: Cameron Matheson <cameron@instructure.com>
Copy file name to clipboardExpand all lines: app/controllers/submissions_api_controller.rb
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -132,6 +132,11 @@
132
132
# "description": "Whether the assignment is visible to the user who submitted the assignment. Submissions where `assignment_visible` is false no longer count towards the student's grade and the assignment can no longer be accessed by the student. `assignment_visible` becomes false for submissions that do not have a grade and whose assignment is no longer assigned to the student's section.",
133
133
# "example": true,
134
134
# "type": "boolean"
135
+
# },
136
+
# "excused": {
137
+
# "description": "Whether the assignment is excused. Excused assignments have no impact on a user's grade.",
138
+
# "example": true,
139
+
# "type": "boolean"
135
140
# }
136
141
# }
137
142
# }
@@ -536,6 +541,8 @@ def create_file
536
541
# a posted_grade in the "points" or "percentage" format is sent, the grade
537
542
# will only be accepted if the grade equals one of those two values.
538
543
#
544
+
# @argument submission[excuse] [Boolean]
545
+
# Sets the "excused" status of an assignment.
539
546
#
540
547
# @argument rubric_assessment [RubricAssessment]
541
548
# Assign a rubric assessment to this assignment submission. The
0 commit comments