Page MenuHomeSoftware Heritage

Add entry point to return list of deposits for the admin interface
Closed, MigratedEdits Locked

Event Timeline

moranegg triaged this task as Normal priority.Aug 28 2018, 11:48 AM
moranegg created this task.

Currently deployed.

Usage sample:

curl -u swhworker:<pass> https://deposit.softwareheritage.org/1/private/deposits/?page_size=10&page=2

Without parameters, this returns the first page (100 results).

Note:
credentials are stored in the password store [1]

pass ls operations/deposit.softwareheritage.org/http-auth/swhworker

[1] https://intranet.softwareheritage.org/wiki/Credential_storage

@anlambert heads up ;)

Cheers,

ardumont claimed this task.