Skip to content

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

Description

@Roger-Heathcote

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions