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

[FEATURE] Multiple record delete functionality? #276

Open
kauberry opened this issue Mar 4, 2020 · 2 comments
Open

[FEATURE] Multiple record delete functionality? #276

kauberry opened this issue Mar 4, 2020 · 2 comments

Comments

@kauberry
Copy link
Contributor

kauberry commented Mar 4, 2020

Would it be possible to add in an endpoint to enable batch delete operations?

Hitting the delete endpoint 10000 times to deactivate 10000 records seems unnecessary.

@dmlb2000
Copy link
Member

dmlb2000 commented Mar 5, 2020

So I thought the query select criteria works with the delete method. So something like the following should work curl -X DELETE http://localhost:8121/transsip?project_id=1234 would soft delete all TransSIP objects with the project 1234.

Are you looking for something different?

@kauberry
Copy link
Contributor Author

kauberry commented Mar 5, 2020

The issue I was running across was more to do with removing a large swath of deactivated projects that didn't really share any keys in common, by and large. This was part of the purge of outdated info that needs to be removed from NEXUS after having been deleted in EUS.

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

No branches or pull requests

2 participants