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
Regitster & Login
Register Student
Request Body
Name
Type
Description
{
"message": "Register Successfully",
"user": {
"email": "student@gmail.com",
"role": "student",
"created_at": "2021-02-06T23:07:10.645+07:00",
"updated_at": "2021-02-06T23:07:10.645+07:00",
"id": 2
}
}Login
Request Body
Name
Type
Description
Playlists
Show all playlists
Headers
Name
Type
Description
Join playlist by id
Path Parameters
Name
Type
Description
Headers
Name
Type
Description
Sections
Show all sections in playlist
Path Parameters
Name
Type
Description
Headers
Name
Type
Description
videos
Show all videos in section in playlist
Path Parameters
Name
Type
Description
Show video
Path Parameters
Name
Type
Description
update status video
Path Parameters
Name
Type
Description
Status of Playlists
Show status of all playlists (status perjalanan kelas)
Headers
Name
Type
Description
Show status of a playlist by id
Path Parameters
Name
Type
Description
Headers
Name
Type
Description
update status playlist
Path Parameters
Name
Type
Description
Headers
Name
Type
Description
Last updated
Was this helpful?