Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

Prototype

Pranav Kanade edited this page Apr 3, 2019 · 6 revisions

PROTOTYPE

API Endpoint Listing

User

Sr No. Description API Endpoint Method
1 User Sign Up /api/user/signup/ POST
2 User Log In /api/user/login/ POST
3 Get logged in user's details /api/user/me/ GET
4 List all the courses user is enrolled in api/user/enrolledin/ GET
5 List all users /api/user/all/ GET

Course

Sr No. Description API Endpoint Method
1 List all the courses in the catalog /api/courses/ GET
2 Create new course /api/course/ POST
3 List all the lessons /api/course/lsn/ GET
4 Create new lesson /api/course/lsn/ POST
5 List all the Assignments/Exercise /api/course/ex/ GET
6 Create new Assignment /api/course/ex/ POST
7 Let logged in user to enroll in a course /api/couser/<int:pk>/enroll/ POST
Clone this wiki locally