Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Allow simple delete #53

Open
afandian opened this issue Nov 6, 2017 · 0 comments
Open

Allow simple delete #53

afandian opened this issue Nov 6, 2017 · 0 comments

Comments

@afandian
Copy link
Contributor

afandian commented Nov 6, 2017

The HTTP PUT functionality currently allows an Event to be updated, including setting the 'updated' flag to 'edited' or 'deleted'. When this happens, the whole Event must be sent again, with modifications, and it is updated in its entirety. This is because when we delete (for example for Twitter compliance reasons) we only need to remove the Twitter-sensitive data and can leave the rest behind.

In some cases a consumer may wish to simply mark an Event as being deleted without modifying it. In this case, all that is required is the updated_reason.

Implement an HTTP DELETE endpoint that is able to accept only an updated_reason field, and will merge the updated, updated_date and updated_reason with the previous Event's data.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant