feat: Document video progress tracking APIs and update the main API endpoint list.
This commit is contained in:
parent
4b8f524eac
commit
abac1c2d8c
5 changed files with 230 additions and 3 deletions
|
|
@ -70,6 +70,8 @@ Authorization: Bearer <token>
|
|||
| GET | `/students/courses/:courseId/learn` | 👨🎓 Student | Get course learning page (with lock status) |
|
||||
| GET | `/students/courses/:courseId/lessons/:lessonId` | 👨🎓 Student | Get lesson content (checks prerequisites) |
|
||||
| GET | `/students/courses/:courseId/lessons/:lessonId/access-check` | 👨🎓 Student | Check lesson access without loading content |
|
||||
| POST | `/students/lessons/:lessonId/progress` | 👨🎓 Student | Save video progress |
|
||||
| GET | `/students/lessons/:lessonId/progress` | 👨🎓 Student | Get video progress |
|
||||
| POST | `/students/courses/:courseId/lessons/:lessonId/complete` | 👨🎓 Student | Mark lesson as complete |
|
||||
|
||||
### Instructor Endpoints
|
||||
|
|
@ -303,13 +305,13 @@ Authorization: Bearer <token>
|
|||
|
||||
---
|
||||
|
||||
## Total Endpoints: **93+**
|
||||
## Total Endpoints: **95+**
|
||||
|
||||
- Authentication: 6
|
||||
- User Management: 4
|
||||
- Categories: 5
|
||||
- Courses: 12
|
||||
- Chapters & Lessons: 16 (-1)
|
||||
- Courses: 14 (+2)
|
||||
- Chapters & Lessons: 16
|
||||
- Quizzes: 10
|
||||
- Announcements: 6
|
||||
- Reports: 11
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue