Skip to content
Alexander Van Oyen edited this page Feb 20, 2024 · 27 revisions

We will probably be using swagger/openAPI for our API implementation.

API requests

(Work in progress)

Admin

Method Endpoint Description
DELETE /user/{userid} remove this user
POST /user create a new user
PUT /user/{userid} update user data

Teacher

Method Endpoint Description
POST /subject create a new subject
DELETE /subject/{subject_id} delete subject with given id
PUT /subject/{subject_id} update subject data

Student

Method Endpoint Description
DELETE /user/{userid} remove this user
POST /user create a new user
PUT /user/{userid} update user data
Clone this wiki locally