Skip to content

Web API endpoint for truncating collection #11

@lunyx

Description

@lunyx

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions