Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ShivamSinghal1 opened this issue Oct 5, 2021 · 2 comments · Fixed by #62
Closed

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

ShivamSinghal1 opened this issue Oct 5, 2021 · 2 comments · Fixed by #62
Assignees
Labels
enhancement New feature or request

Comments

@ShivamSinghal1
Copy link
Member

ShivamSinghal1 commented Oct 5, 2021

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

@ShivamSinghal1 ShivamSinghal1 added the enhancement New feature or request label Oct 5, 2021
@aaradhyaberi07 aaradhyaberi07 self-assigned this Oct 8, 2021
@aaradhyaberi07
Copy link
Member

/cib

@github-actions
Copy link

github-actions bot commented Oct 8, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
3 participants