Destroy all worker results and activities
The endpoint DestroyWorkerResults
should allow a user to delete ALL worker results and activities under a specified element (or corpus).
This means the version_id
parameter becomes optional: when it's set to none, we remove ALL results AND activities.
This would probably require a small update on the frontend to add the option to remove all.
Refs https://gitlab.com/arkindex/requests/-/issues/473#note_753329661