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

Add an endpoint for deleting all objects related to an entity #76

Open
2 tasks
joelvdavies opened this issue Dec 9, 2024 · 0 comments
Open
2 tasks
Labels
enhancement New feature or request

Comments

@joelvdavies
Copy link
Collaborator

joelvdavies commented Dec 9, 2024

Dependent on #28 and #38. This endpoint should be a DELETE at /entity/<entity_id> that:

  • Deletes all attachments related to the entity
  • Deletes all images related to the entity

Will need consideration on how to deal with errors mid way, I expect they can be mitigated by deleting the database documents after successful deletion from the object store like we already do for the others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Up Next
Development

No branches or pull requests

1 participant