Code-dig-ger / Backend

This is the Backend open-source API developed to provide data to our Frontend React Website. Codedigger aims at accumulating the data of competitive programming platforms into one platform.
https://api.codedigger.tech
Apache License 2.0
13 stars 16 forks source link

feat: a route to view all problems of a public list #39

Closed ShivamSinghal1 closed 2 years ago

ShivamSinghal1 commented 3 years ago

Route - /lists/:listSlug/problems

With the help of this route, GET all the problems with pagination (similar to admin practice list) of a list whose listSlug = provided listSlug

The provided listSlug must be public if authenticated user != owner

If provided listSlug Owner = authenticated user: i.e. a user is accessing his own list - then private lists are allowed. (User has permission to view).

Use Reference : ​ GET /lists​/userlist​/edit​/{slug}

codedigger.lists.views.EditUserlistView.get

or

codedigger.lists.views.LevelwiseRetrieveView

aaradhyaberi07 commented 3 years ago

/cib

github-actions[bot] commented 3 years ago

Branch feature/aaradhyaberi07/issue-39/feat-a-route-to-view-all-problems-of-a-public-list created!