π Add Grade
The addGrade mutation allows an instructor to assign a grade to a student's activity. Grades can be numeric and optionally include supporting evidence.
Input Parameters
Parameter | Type | Description |
|---|---|---|
| GradeInput! | Grade details, including student ID, activity ID, and score. |
Input Object: GradeInput
Field | Type | Description |
|---|---|---|
| ID | ID of the activity being graded. |
| ID | ID of the associated resource. |
| ID! | ID of the student receiving the grade. |
| ID | ID of the instructor assigning the grade. |
| ID | Weight category assigned to the grade. |
| Float! | Numerical grade assigned to the student. |
| [AssetInput!] | List of uploaded documents supporting the grade. |
| [AssetInput!] | List of evidence assets linked to the grade. |
Response Fields
Field | Type | Description |
|---|---|---|
| ID! | Unique identifier of the graded activity. |
| [AssetUpload!]! | List of uploaded assets linked to the grade. |
| [AssetUpload!]! | List of evidence assets supporting the grade. |