As those collection name are not functionaly required.
This is a requisite step for the new deposit loader [1].
The other functionaly equivalent existing "private" endpoints (which expose the collection name for no good reason) will be dropped soon.
Note:
- tests: Explicit private tests in their names
- deposit.signals: Scheduler 'load-deposit' task with those new endpoints (<-
this is what needs the new endpoints [1]).
[1] https://forge.softwareheritage.org/source/swh-loader-core/browse/package-loader/swh/loader/package/deposit.py$24
Related T2024