-
Notifications
You must be signed in to change notification settings - Fork 0
API Docs
Peter edited this page Jan 19, 2026
·
3 revisions
/api/core
PUT /upload Takes in a supported file type in a supported format, then parses and saves questions from it
multipart/form-data
name type data type description course.code required String The code of the course to upload the questions to (CHEM 1AA3, COMPSCI 2C03, etc.) course.year required Integer The year the course is offered in course.semester required String The semester the course is offered in: WINTER, SPRING, SUMMER, FALL, MULTI-TERM create_requried not required Boolean Whether or not to insert units and subtopics for questions if they do not already exist.
http code content-type response 201text/plain;charset=UTF-8{"message": "File uploaded successfully"}400application/json...
POST /adaptive-test/next-question Returns a question for the student based on the adaptive test algorithm
multipart/form-data
name type data type description course.code not required String The course the unit belongs to course.year not required Integer The course the unit belongs to course.semester not required String The course the unit belongs to unit_name not required String The unit the subtopic belongs to subtopic_name not required String The subtopic the question belongs to resume not required Boolean If true, will return a question from the last subtopic the user requested a question from
http code content-type response 201application/json{"message": "File uploaded successfully"}400application/json...