The parameters are query parameters, usage example:
http://localhost:6969/subjects?branchId=1&scheme=2018&semester=1
GET /qp-search [now replaced by /search-papers, see below]
q
(required): The search query.
This endpoint allows you to search for files by their names using a case-insensitive search.
GET /search-papers
paperId
: The ID of the paper.mCode
: The M code.subjectCode
: The code of the subject.
This endpoint allows you to search for exam papers based on the paper ID, M code, or subject code. You may pass all of them at once
GET /qp-branches
This endpoint retrieves a list of branches along with their IDs.
GET /subjects
branchId
(required): The ID of the branch.scheme
(required): The scheme.semester
(required): The semester.
This endpoint retrieves a list of subjects based on the provided branch ID, scheme, and semester.