HomeSoftware Heritage

browse: Add snapshot endpoints

Description

browse: Add snapshot endpoints

This commit adds endpoints for browsing SWH snapshots. As origin-dependent
browsing and snapshot-dependent browsing are pretty similar, code
factorization has been performed trough the creation of a new
utility module swh.web.browse.views.utils.snapshot_context

Related T926
Closes T974

Details

Provenance
anlambertAuthored on Mar 5 2018, 6:04 PM
anlambertPushed on Mar 7 2018, 5:30 PM
Parents
rDWAPPS588a40039e4f: browse: Cleanup some endpoint docstrings to avoid duplicated documentation
Branches
Unknown
Tags
Unknown
References
tag: v0.0.120
Tasks
T974: browse: add endpoint to show snapshot by id