Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • addCourse(req: Request, res: Response): Promise<void>
  • async

    Adds a Course to a Module with the data given in the HTTP-Request
    Corresponding API-Call: POST /module/:moduleId/addCourse

    Parameters

    • req: Request

      Holds the data from the HTTP-Request

    • res: Response

      Used to form the response

    Returns Promise<void>

  • addSubmodule(req: Request, res: Response): Promise<void>
  • async

    Adds a Submodule to a Module with the data given in the HTTP-Request
    Corresponding API-Call: Post /module/:moduleId/addSubmodule

    Parameters

    • req: Request

      Holds the data from the HTTP-Request

    • res: Response

      Used to form the response

    Returns Promise<void>

  • addTeacher(req: Request, res: Response): Promise<void>
  • async

    Adds a Teacher to a Module with the data given in the HTTP-Request
    Corresponding API-Call: POST /module/:moduleId/addTeacher

    Parameters

    • req: Request

      Holds the data from the HTTP-Request

    • res: Response

      Used to form the response

    Returns Promise<void>

  • changeDescription(req: Request, res: Response): Promise<void>
  • changeName(req: Request, res: Response): Promise<void>
  • async

    Changes the name of a Module with the data given in the HTTP-Request
    Corresponding API-Call: POST /module/:moduleId/changeName

    Parameters

    • req: Request

      Holds the data from the HTTP-Request

    • res: Response

      Used to form the response

    Returns Promise<void>

  • deleteCourse(req: Request, res: Response): Promise<void>
  • async

    Deletes a Course from a Module with the data given in the HTTP-Request
    Corresponding API-Call: POST /module/:moduleId/deleteCourse

    Parameters

    • req: Request

      Holds the data from the HTTP-Request

    • res: Response

      Used to form the response

    Returns Promise<void>

  • deleteModule(req: Request, res: Response): Promise<void>
  • deleteSubmodule(req: Request, res: Response): Promise<void>
  • async

    Deletes a Submodule from a Module with the data given in the HTTP-Request
    Corresponding API-Call: POST module/:moduleId/deleteSubmodule

    Parameters

    • req: Request

      Holds the data from the HTTP-Request

    • res: Response

      Used to form the response

    Returns Promise<void>

  • deleteTeacher(req: Request, res: Response): Promise<void>
  • async

    Deletes a Teacher from a Module with the data given in the HTTP-Request
    Corresponding API-Call: POST /module/:moduleId/deleteTeacher

    Parameters

    • req: Request

      Holds the data from the HTTP-Request

    • res: Response

      Used to form the response

    Returns Promise<void>

  • getAllModules(req: Request, res: Response): Promise<void>
  • async

    Returns all modules that exist

    Parameters

    • req: Request
    • res: Response

    Returns Promise<void>

  • getModules(req: Request, res: Response): Promise<void>
  • getStudents(req: Request, res: Response): Promise<void>
  • registerModule(req: Request, res: Response): void
  • Registers a new Module with the data given in the HTTP-Request
    Corresponding API-Call: POST /module/register

    Parameters

    • req: Request

      Holds the data from the HTTP-Request

    • res: Response

      Used to form the response

    Returns void

  • selectModule(req: Request, res: Response): Promise<void>
  • async

    Returns the informations of a module
    Corresponding API-Call: GET /module/:moduleId

    Parameters

    • req: Request

      Holds the data from the HTTP-Request

    • res: Response

      Used to form the response

    Returns Promise<void>

Generated using TypeDoc