Gradebook Backend API Documentation - v0.0.1
    Preparing search index...

    Service responsible for tracking and retrieving the history of grade changes. Maintains an audit trail of all grade-related actions for academic integrity.

    Index

    Constructors

    Methods

    • Records the modification of an existing grade in the history.

      Parameters

      • grade: StudentCourseGrade

        The grade entity that was modified

      • action: Action

        The action performed (Update)

      • oldValue: number

        The previous value of the grade

      • newValue: number

        The new value of the grade

      Returns Promise<void>

    • Retrieves the complete grade history for a specific student.

      Parameters

      • studentEmail: string

        The email of the student

      Returns Promise<GradeHistory[]>

      An array of grade history entries for the student

      Error if the student is not found

    • Retrieves the complete grade history for all students taught by a specific teacher.

      Parameters

      • teacherEmail: string

        The email of the teacher

      Returns Promise<GradeHistory[]>

      An array of grade history entries for all students taught by the teacher

      Error if the teacher is not found