edubase_patch_quiz_grading_preset
Update custom grading presets by replacing thresholds, grades, title, and language. Global presets cannot be modified, so this applies only to custom ones.
Instructions
Update an existing custom grading preset. Global presets cannot be modified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | type of the grading preset, cannot be changed anymore once the preset is used by a Quiz set or an exam | |
| title | No | title of the grading preset | |
| grades | No | thresholds and grades of the preset, in ascending order, the complete list is replaced | |
| preset | Yes | grading preset identification string | |
| language | No | language of the grading preset |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| own | Yes | the preset is a custom preset owned by the user | |
| type | Yes | type of the grading preset | |
| used | Yes | the preset is already used by a Quiz set or an exam of the user | |
| title | Yes | title of the grading preset | |
| grades | Yes | ||
| preset | Yes | grading preset identification string | |
| language | Yes | language of the grading preset, null if the preset is available in every language | |
| configurable | Yes | the threshold of the preset can be configured on the Quiz set or the exam |