API Learning Online (Student) | done
Student Role (kecuali login untuk kedua role(admin,student)). note: setiap route kecuali (login dan register), membutuhkan token bearer yang didapat setelah login
https://salmanhack.sanbersy.com/onlinelearning/api/v1/~blablabla
note: patokan main path nya di atas ini ya. mungkin kebawahnya ga kami tulis ulang, yang penting udah tau main path nya
Regitster & Login
Register Student
POST
https://api.cakes.com/api/v1/register
This endpoint allows you to get free cakes.
Request Body
Login
POST
/api/v1/login
Request Body
Playlists
Show all playlists
GET
/api/v1/student/playlists
Headers
Join playlist by id
POST
/api/v1/student/playlists/:id/join
endpoint ini digunakan untuk student agar dapat melihat sections dan menonton video-video di dalam playlist tersebut
Path Parameters
Headers
Sections
Show all sections in playlist
GET
/api/v1/student/playlists/:idplaylist
Path Parameters
Headers
videos
Show all videos in section in playlist
GET
/api/v1/student/playlists/:idplaylist/section/:serialnumberSection
Path Parameters
Show video
GET
/v1/student/playlist/:idplaylist/sections/:numbersection/videos/:numbervideo
Path Parameters
update status video
POST
api/v1/student/playlists/:idplaylist/sections/:numbersection/videos/:numbervideo
Path Parameters
Status of Playlists
Show status of all playlists (status perjalanan kelas)
GET
/api/v1/student/playlists/status
Headers
Show status of a playlist by id
GET
/api/v1/student/playlists/status/:id
Path Parameters
Headers
update status playlist
POST
/api/v1/student/playlists/status/:id
Path Parameters
Headers
Last updated