HomeSoftware Heritage

misc: Add new endpoints to generate swh badges

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

misc: Add new endpoints to generate swh badges

Add endpoints /badge/(object_type)/(object_id)/ and /badge/(object_pid)/
to generate Github style like SVG badges for linking to the archive in
a README file.

Those new endpoints add CORS header to the HTTP responses in order to be
used from a different domain than *.softwareheritage.org ones.

Closes T2090

Details

Provenance
anlambertAuthored on Nov 14 2019, 1:36 PM
anlambertPushed on Dec 2 2019, 4:29 PM
Differential Revision
D2310: Add new endpoints to generate swh badges
Tasks
Restricted Maniphest Task
Build Status
Buildable 9473
Build 13922: Cypress tests for swh-web commitsJenkins
Build 13921: test-and-buildJenkins

Commit No Longer Exists

This commit no longer exists in the repository.