Code-dig-ger/Backend

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

Closed this issue · 2 comments

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