Feature #20972
openBulk trash API
0%
Description
I want a way to be able to efficiently clean up intermediate results and logs in a project older than a certain date, without having to individually delete tens or hundreds of thousands of collections (which would take a very long time).
This would be an API endpoint where you POST to:
/arvados/v1/collections/trash?filters=[['created_at', '<', '2022-01-01']]
This behaves like a 'list' API call, it returns a list of the objects that were trashed in the response (respecting select
and limit
); it returns items_available
with the count of all items that matched the filter (respecting count=none), the client would call this repeatedly to delete 1000 items at a time until it doesn't get any responses back.
Bulk update is moved to #21057
Related issues
Updated by Peter Amstutz about 2 months ago
- Subject changed from Bulk update API to Bulk trash API
Updated by Peter Amstutz about 2 months ago
- Related to Feature #21057: Bulk update API added
Updated by Peter Amstutz about 2 months ago
- Target version changed from To be groomed to Development 2023-11-08 sprint
Updated by Peter Amstutz about 1 month ago
- Target version changed from Development 2023-11-08 sprint to Development 2023-11-29 sprint
Updated by Peter Amstutz 27 days ago
- Target version changed from Development 2023-11-29 sprint to To be groomed