REST API - lkw657/CITS3200_Team_K GitHub Wiki
Verifies if link is valid and adds form to user.
Requires:
- mailID
- secret
- userID
Lists all users in the database.
Requires:
- IT Permissions (Cookie)
Updates a user in the database.
Requires:
- _id
- fname (first name)
- lname (last name)
- number (student/staff number)
- IT Permissions (Cookie)
Removes a user in the database.
Requires:
- _id
- IT Permissions (Cookie)
Create a new submission.
Requires:
- qset_id
- answers
- submitter
- school
Lists all forms.
Requires:
- Nothing at the moment
Lists form with matching id.
Requires:
- Nothing at the moment
Adds a question set.
Requires:
- questionList
Gets all question sets.
Requires:
- Nothing at the moment
Gets question set with latest version.
Requires:
- Nothing at the moment
Gets question set with matching id.
Requires:
- _id
Get's homepage
Registers a new user.
Requires:
- fname (first name)
- lname (last name)
- number (student/staff number)
- password
Authenticates a login request.
Requires:
- number (student/staff number)
- password