@@ -14,7 +14,7 @@ The system uses authentication to do most of tasks.
14
14
15
15
### Register a user
16
16
17
- POST ` /api/ users `
17
+ POST ` /users `
18
18
19
19
Available to ` Public `
20
20
@@ -54,7 +54,7 @@ Error <font color="yellow"> 500 </font>: For server error
54
54
55
55
### Login a user
56
56
57
- GET ` /api/ users `
57
+ GET ` /users `
58
58
59
59
Available to ` Public `
60
60
@@ -89,7 +89,7 @@ Error <font color="yellow"> 500 </font>: For server error
89
89
90
90
### Logout a user
91
91
92
- GET ` /api/ users/logout `
92
+ GET ` /users/logout `
93
93
94
94
Available to ` Public `
95
95
@@ -137,7 +137,7 @@ Tasks are created to evaluate students performance. Contains task details, total
137
137
138
138
### Creating a task
139
139
140
- POST ` /api/ task `
140
+ POST ` /task `
141
141
142
142
Available to ` Teachers ` , ` Admin `
143
143
@@ -171,7 +171,7 @@ Error <font color="yellow"> 500 </font>: For server error
171
171
172
172
### Getting all tasks
173
173
174
- GET ` /api/ task `
174
+ GET ` /task `
175
175
176
176
Available to ` Students ` , ` Teachers ` , ` Admin `
177
177
@@ -233,7 +233,7 @@ Error <font color="yellow"> 500 </font>: For server error
233
233
234
234
### Getting a particular task
235
235
236
- GET ` /api/ task/{task_id} `
236
+ GET ` /task/{task_id} `
237
237
238
238
Available to ` Students ` , ` Teachers ` , ` Admin `
239
239
@@ -272,7 +272,7 @@ Error <font color="yellow"> 500 </font>: For server error
272
272
273
273
### Deleting a task
274
274
275
- DELETE ` /api/ task/{task_id} `
275
+ DELETE ` /task/{task_id} `
276
276
277
277
Available to ` Teachers ` , ` Admin `
278
278
@@ -337,7 +337,7 @@ Notices can be used by teachers to give updates to students for a given task.
337
337
338
338
### Creating an notice
339
339
340
- POST ` /api/ task/{task_id}/notice `
340
+ POST ` /task/{task_id}/notice `
341
341
342
342
Available to ` Teachers ` , ` Admin `
343
343
@@ -370,7 +370,7 @@ Error <font color="yellow"> 500 </font>: For server error
370
370
371
371
### Getting all notices
372
372
373
- GET ` /api/ task/{task_id}/notice `
373
+ GET ` /task/{task_id}/notice `
374
374
375
375
Available to ` Students ` , ` Teachers ` , ` Admin `
376
376
@@ -415,7 +415,7 @@ Error <font color="yellow"> 500 </font>: For server error
415
415
416
416
### Getting a particular notice
417
417
418
- GET ` /api/ task/{task_id}/notice/{notice_id} `
418
+ GET ` /task/{task_id}/notice/{notice_id} `
419
419
420
420
Available to ` Students ` , ` Teachers ` , ` Admin `
421
421
@@ -450,7 +450,7 @@ Error <font color="yellow"> 500 </font>: For server error
450
450
451
451
### Deleting a notice
452
452
453
- DELETE ` /api/ task/{task_id}/notice/{notice_id} `
453
+ DELETE ` /task/{task_id}/notice/{notice_id} `
454
454
455
455
Available to ` Teachers ` , ` Admin `
456
456
@@ -513,7 +513,7 @@ These endpoints can be used by a teacher to update marks of students.
513
513
514
514
### Updating marks of a student
515
515
516
- POST ` /api/ task/{task_id}/updateMarks `
516
+ POST ` /task/{task_id}/updateMarks `
517
517
518
518
Available to ` Teachers ` , ` Admin `
519
519
@@ -570,7 +570,7 @@ Announcements can be used to give updates to students aside from tasks.
570
570
571
571
### Creating an announcement
572
572
573
- POST ` /api/ announcement `
573
+ POST ` /announcement `
574
574
575
575
Available to ` Teachers ` , ` Admin `
576
576
@@ -599,7 +599,7 @@ Error <font color="yellow"> 500 </font>: For server error
599
599
600
600
### Getting all anouncements
601
601
602
- GET ` /api/ announcement `
602
+ GET ` /announcement `
603
603
604
604
Available to ` Students ` , ` Teachers ` , ` Admin `
605
605
@@ -641,7 +641,7 @@ Error <font color="yellow"> 500 </font>: For server error
641
641
642
642
### Getting particular anouncement
643
643
644
- GET ` /api/ announcement/{announcement_id} `
644
+ GET ` /announcement/{announcement_id} `
645
645
646
646
Available to ` Students ` , ` Teachers ` , ` Admin `
647
647
@@ -676,7 +676,7 @@ Error <font color="yellow"> 500 </font>: For server error
676
676
677
677
### Deleting an announcement
678
678
679
- DELETE ` /api/ announcement/{announcement_id} `
679
+ DELETE ` /announcement/{announcement_id} `
680
680
681
681
Available to ` Teachers ` , ` Admin `
682
682
0 commit comments