wip: collection api: Open filtering deposit per user and origin_url
This would allow opening a cli to filter on origin_url and find the latest swhid.
Note: I'm not sold on this approach but I don't see how to actually implement the need in the end.
todo:
- escape input to avoid injection
- allow inverting order result (typically, following through, the order on id should be inverted and even filtered on status done)
Related to #3192 (closed)
Test Plan
tox (should be happy)
Migrated from D6210 (view on Phabricator)