Ajout badge SH pour les logiciels archivés sur Software Heritage
Badge
markdown
[![SWH](https://archive.softwareheritage.org/badge/origin/https://gitlab.adullact.net/Comptoir/Comptoir-srv.git/)](https://archive.softwareheritage.org/browse/origin/https://gitlab.adullact.net/Comptoir/Comptoir-srv.git/)
html
<a href="https://archive.softwareheritage.org/browse/origin/https://gitlab.adullact.net/Comptoir/Comptoir-srv.git/">
<img src="https://archive.softwareheritage.org/badge/origin/https://gitlab.adullact.net/Comptoir/Comptoir-srv.git/">
</a>
Exemples :
- via l'URL
- via la recherche
- via l'API Software Heritage
- https://archive.softwareheritage.org/api/1/origin/https://gitlab.adullact.net/Comptoir/Comptoir-srv.git/visits/
- https://archive.softwareheritage.org/api/1/origin/https://gitlab.adullact.net/Comptoir/puppet-comptoir/visits/
- https://archive.softwareheritage.org/api/1/origin/https://gitlab.adullact.net/Comptoir/puppet-comptoir.git/visits/
ajout du contenu :
- via l'API : https://archive.softwareheritage.org/api/1/origin/save/
- via le formulaire : https://archive.softwareheritage.org/save/
curl -i https://archive.softwareheritage.org/api/1/stat/counters/ | grep ^X-RateLimit
Edited by Fabrice Gangler