story: pertugasan dan input nilai
Story/Task
SP3-29 - [BE] Pertugasan (POV Dosen Kelas)
SP3-45 - [BE] Input Nilai
(gw satuin karna banyak nambahin relation yg sama2 dipake daripada konflik2an)
Details
pertugasan. fokusnya buat pov dosen, tapi gw udh nambahin bbrp get yang sekiranya dipake mahasiswa juga
Important Checks
Ceklis kalo kalian mengubah/menambahkan:
-
Menambahkan env
baru -
Mengubah skema basis data
Endpoints
Isi dengan method (GET/POST/PUT/...), endpoint, dan keterangannya juga (misal: untuk menambah ... baru).
Method | Endpoint | Keterangan |
---|---|---|
GET | /kelas/{id} |
Get kelas general information by kelas id |
GET | /kelas/{id}/detail |
Get kelas mahasiswa and pengajar list by kelas id |
POST | /submisi-tugas |
Create submisi tugas (bare minimum, bukan task gw tp biar tesnya gampang aja) |
GET | /submisi-tugas |
Get list of submisi tugas summary by tugas id |
GET | /submisi-tugas/{id} |
Get submisi tugas by submisi tugas id |
POST | /tugas |
Create new tugas |
PUT | /tugas |
Update tugas |
GET | /tugas |
Get tugas by kelas id |
GET | /tugas/{id} |
Get tugas by tugas id |
GET | /nilai |
Get nilai mahasiswa kelas |
PATCH | /nilai |
Batch or one time update nilai by mahasiswa kelas id |
Proof
Method | Endpoint | Proof |
---|---|---|
GET | /kelas/{id} |
|
GET | /kelas/{id}/detail |
|
GET | /submisi-tugas |
|
GET | /submisi-tugas/{id} |
|
POST | /tugas |
|
PUT | /tugas |
|
GET | /tugas |
|
GET | /tugas/{id} |
|
GET | /nilai |
|
PATCH | /nilai |
Dump
Akun
password | keterangan | |
---|---|---|
mhs4@gmail.com | mhs4 | akun mahasiswa terdaftar di kelas |
doskel2@gmail.com | doskel2 | akun doskel yg udh punya kelas |
dosbim1@gmail.com | string | akun tim tesis |
Edited by Chiquita Ahsanunnisa