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 filter which search results contain a specific amount of characters #16

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

Comments

@phongvhd93
Copy link
Owner

phongvhd93 commented Jun 6, 2023

Why

A user can filter which search results have URLs in stored search results with 2 or more / or 1 or more >.

Acceptance Criteria

  • A user can only filter the search results he uploaded, based on the authorization token

  • Use the existing endpoint to filter: GET api/v1/search_results?occurence[number]=2&keyword[query]={keyword}

    • Header: Authorization (bearer token)
    • Request: occurence[number] & keyword[query]
    • Response: List of search results
  • Response: List of search results

  • Write unit & integration tests

  • Handle errors: Unauthorized, ...

@phongvhd93 phongvhd93 self-assigned this Jun 6, 2023
@phongvhd93 phongvhd93 changed the title [Backend] As a user, I can filter which search results contain a specific URL [Backend] As a user, I can filter which search results contain a specific amount of characters Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant