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

Web API endpoint for truncating collection #11

Open
lunyx opened this issue Feb 4, 2020 · 0 comments
Open

Web API endpoint for truncating collection #11

lunyx opened this issue Feb 4, 2020 · 0 comments

Comments

@lunyx
Copy link

lunyx commented Feb 4, 2020

Is your feature request related to a problem? Please describe.
There's currently a Web API endpoint for deleting from a collection, but it requires a list of ids.

Describe the solution you'd like
Either expose a new endpoint for truncating the collection, or make the list of ids optional and truncate if not provided.

Describe alternatives you've considered
Querying the entire list of ids through the query endpoint, then form a new request with all the ids and pass it to the delete collection endpoint.

Additional context
For collections where we just want to reupload all the entire data set, this would be helpful.

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

1 participant