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

[Backend] As a user, I can see the list of my uploaded keywords #13

Open
phongvhd93 opened this issue Jun 1, 2023 · 0 comments
Open
Assignees

Comments

@phongvhd93
Copy link
Owner

phongvhd93 commented Jun 1, 2023

Why

Allow an authorized user to retrieve the list of their uploaded keywords.

Acceptance Criteria

  • Users can only see the search results they uploaded, based on the authorization token.
  • Create new endpoint: `GET: api/v1/keywords?page[number]=1&page[size]=10
    • Header: Authorization (bearer token)
    • Request URL: page[number], page[size]
    • Response: List of search result
      {
        "data": [ list of keywords ]
      }
      

Resource

Pagination Gem: Pagy

@phongvhd93 phongvhd93 self-assigned this Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant