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

DELETE /cards/:card_id (delete a card) #24

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

DELETE /cards/:card_id (delete a card) #24

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

Comments

@Roger-Heathcote
Copy link
Contributor

Roger-Heathcote commented May 22, 2020

Handler: /cards/delete.js
DELETE /cards/:card_id (auth) (same_user) -> { ok }
-- Note this is not as straightforward as it might look to implement
-- If a card is deleted from the deck we would then need to find all
-- the orderings that use that deck and delete the card_id from those
-- too! Stretch goal stuff maybe!
Note: we need to verify the user owns the deck.

@Roger-Heathcote Roger-Heathcote changed the title DELETE /cards/:card_id DELETE /cards/:card_id (delete a card) May 22, 2020
@VatsKan VatsKan added P4 and removed E6 labels 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