Page MenuHomeSoftware Heritage

Add origin persistent identifiers resolving
Closed, MigratedEdits Locked

Description

swh-web currently misses the resolving of persistent identifiers for origins in the browse application and in the [[ https://archive.softwareheritage.org/api/1/resolve/ | /api/1/resolve ]] endpoint.

Now that it is possible to lookup an origin by its sha1 id in swh-storage API (T2045), we can implement these features.

Event Timeline

anlambert triaged this task as Normal priority.Jan 14 2020, 2:32 PM
anlambert created this task.
zack claimed this task.
zack added a subscriber: zack.

For the time being we do not want to leak origin PIDs to the world, as they're not intrinsically computable on the origin itself (but only on the URLs, which is not the artifact itself, which is not digital, but just a locator for it). Let's consider ori PIDs only an internal shorthand useful in places where having fixed-length shorthands for full URLs is needed (e.g., swh-graph).