Please enable JavaScript.
Coggle requires JavaScript to display documents.
MIETHack API - Coggle Diagram
MIETHack API
api/v1/students/
-
-
register/
POST({"user": {"username": ..., "email": ..., "password": ...}, StudentInfo})
move/
POST({"studentId": ..., "buildingNumber": ..., "roomNumber": ...})
-
api/v1/staff/
-
-
register/
POST({"user": {"username": ..., "email": ..., "password": ...}, StuffInfo})
api/auth/token/
POST({"username": ..., "password": ...})
{"access": ..., "refresh": ...}
-
api/v1/get-permissions/
GET()
{"perm": "rw" or "r", "buildings": array}
-