Last active
February 21, 2018 10:45
-
-
Save atomotic/c271159eabc7ec4516c23cbde9b37f48 to your computer and use it in GitHub Desktop.
check if Software Heritage archive contains your code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function swh-check() { curl -s --data "q=$(sha1sum $* | cut -d " " -f 1)" https://archive.softwareheritage.org/api/1/content/known/search/ | jq . } |
Author
atomotic
commented
Sep 20, 2016
Hello, jsyk, that endpoint has been migrated to /api/1/content/known/.
Cheers,
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment