exercise_slide_submissions

PUT `/api/v0/main-frontend/exercise-slide-submissions/add_teacher_grading"` - Adds a new teacher grading decision, without updating user exercise state

Changed on
put/api/v0/main-frontend/exercise-slide-submissions/add-teacher-grading-for-exam-submission

Request

  • The document declares no server URL.
  • Auth: none declared

Request body

action'FullPoints' | 'ZeroPoints' | 'CustomPoints' | 'SuspectedPlagiarism' | 'RejectAndReset' | 'UnauthorizedAiUse' | 'BadAnswer' | 'Other' required
exercise_idstring uuid required
hiddenboolean required
justificationstring nullable
manual_pointsnumber float nullable
reset_exerciseboolean required

Resets the student's progress on the exercise so they can answer it again. Independent of action, so a decision can record why the answer was rejected and still reopen it. Requires the exercise to belong to a course.

user_exercise_state_idstring uuid required

Response

Created teacher grading decision

created_atstring date-time required
deleted_atstring date-time nullable
hiddenboolean nullable
idstring uuid required
justificationstring nullable
score_givennumber float required
teacher_decision'FullPoints' | 'ZeroPoints' | 'CustomPoints' | 'SuspectedPlagiarism' | 'RejectAndReset' | 'UnauthorizedAiUse' | 'BadAnswer' | 'Other' required
updated_atstring date-time required
user_exercise_state_idstring uuid required
user_idstring uuid nullable

Changes

    • ▲

      added the new required request property

    • ●

      added the new BadAnswer enum value to the response property for the response status

    • ●

      added the new Other enum value to the response property for the response status

    • ●

      added the new UnauthorizedAiUse enum value to the response property for the response status

    • ○

      added the new BadAnswer enum value to the request property

    • ○

      added the new Other enum value to the request property

    • ○

      added the new UnauthorizedAiUse enum value to the request property

    • ○

      added the optional property to the response with the status