Skip to content
Woolf Help Center home
Woolf Help Center home

πŸ† 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

grade

GradeInput!

Grade details, including student ID, activity ID, and score.

Input Object: GradeInput

Field

Type

Description

activityId

ID

ID of the activity being graded.

resourceId

ID

ID of the associated resource.

studentId

ID!

ID of the student receiving the grade.

teacherId

ID

ID of the instructor assigning the grade.

weightId

ID

Weight category assigned to the grade.

value

Float!

Numerical grade assigned to the student.

assets

[AssetInput!]

List of uploaded documents supporting the grade.

evidenceAssets

[AssetInput!]

List of evidence assets linked to the grade.

Response Fields

Field

Type

Description

activityId

ID!

Unique identifier of the graded activity.

assets

[AssetUpload!]!

List of uploaded assets linked to the grade.

evidenceAssets

[AssetUpload!]!

List of evidence assets supporting the grade.

πŸš€Β Request (Try It)