Page MenuHomeSoftware Heritage

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

Event Timeline

moranegg triaged this task as Normal priority.Aug 28 2018, 11:48 AM
moranegg created this task.
ardumont added a subscriber: anlambert.EditedSep 12 2018, 3:06 PM

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 closed this task as Resolved.Sep 12 2018, 3:07 PM
ardumont claimed this task.