vsite-hr / mentor

Online learning platform.
MIT License
3 stars 2 forks source link

Course lectures REST endpoint(s) #16

Closed gkresic closed 7 years ago

gkresic commented 7 years ago

Implement /lectures and /lectures/count services under CourseResource. First one should return list of lectures associated with this course (all of them, without paging and in proper order) and second one should return just number of them.

Course's lectures can be already fetched via /lectures/list and filtering by course, but these two endpoints should provide more "RESTful" experience.

Genato commented 7 years ago

Methods for retrieving lectures and number of lectures for given Course are implemented in LectureManager{} as .list(Course) and .count(Course)