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

GET /search (find cards and decks by keyword and flags) #23

Open
Roger-Heathcote opened this issue May 22, 2020 · 0 comments
Open

GET /search (find cards and decks by keyword and flags) #23

Roger-Heathcote opened this issue May 22, 2020 · 0 comments
Labels

Comments

@Roger-Heathcote
Copy link
Contributor

Roger-Heathcote commented May 22, 2020

Handler file /search/collection.js
GET /search?term=STRING&cards=BOOL&decks=BOOL?public=BOOL (auth) (same_user OR public) -> [
{ type: "deck", name: "French Vocabulary" }
{ type: "card", name: "Who was the french ambassador to russia in 1884" }
]
Note: we need to only search decks the user owns, or public decks.

@Roger-Heathcote Roger-Heathcote changed the title GET /search GET /search (find cards and decks by keyword and flags) May 22, 2020
@VatsKan VatsKan added the P4 label May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants