generated from JaqiKal/custom-vscode-project-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Statement:
As a user, I can access an endpoint that shows only my own bookmarks so that I can quickly find resources I’ve saved without sifting through everyone’s bookmarks.
Acceptance Criteria:
- [ ]: Endpoint /bookmarks/me/ returns only bookmarks created by the authenticated user.
- [ ]: The endpoint requires authentication and returns 403 if the user is not logged in.
- [ ]: The response is paginated and includes metadata (count, next, previous).
Tasks:
- [ ]: Add a custom route @action(detail=False) in BookmarkViewSet called me.
- [ ]: Filter queryset by request.user and return only their bookmarks.
- [ ]: Restrict access to authenticated users.
- [ ]: Add tests for success and unauthorized access cases.
Belonging to EPIC: Database & Backend
Belonging to Feature: User Dashboard
Belonging to Theme: Core Features
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request