Project

General

Profile

Actions

Feature #20972

open

Bulk trash API

Added by Peter Amstutz 7 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
API
Target version:
Story points:
3.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

Related to Arvados - Feature #21057: Bulk update APINewActions
Related to Arvados - Feature #18621: Ability for admin to purge old versions of a collectionNewActions
Actions #1

Updated by Peter Amstutz 7 months ago

  • Description updated (diff)
Actions #2

Updated by Peter Amstutz 7 months ago

  • Subject changed from Bulk update API to Bulk trash API
Actions #3

Updated by Peter Amstutz 7 months ago

  • Description updated (diff)
Actions #4

Updated by Peter Amstutz 7 months ago

Actions #5

Updated by Peter Amstutz 6 months ago

  • Description updated (diff)
Actions #6

Updated by Peter Amstutz 6 months ago

  • Description updated (diff)
Actions #7

Updated by Peter Amstutz 6 months ago

  • Description updated (diff)
Actions #8

Updated by Peter Amstutz 6 months ago

  • Story points set to 3.0
Actions #9

Updated by Peter Amstutz 6 months ago

  • Target version changed from Future to Development 2023-11-08 sprint
Actions #10

Updated by Peter Amstutz 6 months ago

  • Target version changed from Development 2023-11-08 sprint to Development 2023-11-29 sprint
Actions #11

Updated by Peter Amstutz 6 months ago

  • Target version changed from Development 2023-11-29 sprint to Future
Actions #12

Updated by Peter Amstutz 3 months ago

  • Related to Feature #18621: Ability for admin to purge old versions of a collection added
Actions

Also available in: Atom PDF