Page MenuHomeSoftware Heritage

Open api endpoint /api/1/provenance/ to read a content's provenance information
Closed, MigratedEdits Locked

Description

This must answer the question, where did you see the content identified by a given hash (hash being sha1, sha1_git, sha256.
The expected answer is of the form: "content <foo> appeared in revision <bar> which we have seen in visit <X> of origin <quux> with path <xxuq>"

This replaces the old route /api/1/browse/algo_hash:content_hash.
(deactivated in c2a466e61e6408addb135b922246fb87fcfbff30).

Event Timeline

/browse/<>/ should probably be replaced by a more significant/useful route as well.

@jbertran Indeed, for the moment locally, it's more /api/1/provenance/

ardumont renamed this task from Open api endpoint to read content provenance information to Open api endpoint /api/1/provenance/ to read a content's provenance information.Sep 2 2016, 3:44 PM
ardumont updated the task description. (Show Details)