/students

Collection of all registered students.

post

Create a new student.

get

Get information about a student.

put

Update a student's information.

delete

Delete a student account.

A list of all the responses the student has ever made.

get

Get the paginated list of responses made by the student. If ordering by "correct" or "wrong", responses matching the criteria will be placed at the top. Then, they will be sorted by type of response in one batch. Within each batch, they will be sorted by recency.

A list of active classes in which the student is currently registered.

get

Get the paginated list of classes in which the student is currently registered. The classes are sorted descending by date joined.

A list of inactive classes in which the student was previously registered.

get

Get the paginated list of classes in which the student was previously registered. The classes are sorted descending by date joined.

/instructors

Collection of all registered instructors.

post

Create a new instructor.

get

Get information about an instructor.

put

Update an instructor's information.

delete

Delete an instructor account.

A list of all questions the instructor has ever asked.

get

Get the paginated and searchable list of questions asked by the instructor.

A list of all active classes currently owned by the instructor.

get

Get the paginated list of classes currently active. The classes are sorted descending by date joined.

A list of all inactive classes previously owned by the instructor.

get

Get the paginated list of classes previously owned by the instructor. The classes are sorted descending by date joined.

/classes

Collection of all classes, active and inactive.

get

Get the pageable and searchable list of all classes, ordered by date.

post

Create a new class.

get

Get information about a class.

put

Update a class's information.

delete

Delete a class.

get

Get whether the class is currently active.

put

Set a class as active or inactive. Setting as inactive will move the class to "past classes" in all lists of current and past classes, and will disable creating questions or responses. Setting as active will set it back.

get

Get all instructors for a class, ordered alphabetically.

put

Add a new instructor to this class.

delete

Remove an instructor from the class. Will respond with 403 Forbidden if this is the last remaining instructor.

get

Get a pageable list of all students in the class, ordered alphabetically by name.

put

Add a student to the class.

delete

Delete a student from a class

get

Get a student's performance in the class.

A list of all responses to questions in the class.

get

Get all the responses for a class

The collection of all questions in the class.

get

Get a pageable and searchable list of all questions in the class.

post

Create a question for a class.

get

Get information about a question for a class.

put

Modify a question's information.

delete
get

Get whether a question is viewable by students.

put

Set whether a question is viewable by students.

A list of all responses to this question.

get

Get the list of all responses to a question.

The response by a specific student to this question.

get

Get the response made by a student to this question.

put

Create or change a student's response to this question

delete

Delete a student's reponse to this question.