Using sonatype nexus 2.x, how do you get the sha1 or md5 hash of a file in a "site repository" (called "raw repositories" in nexus 3) using curl?
There is a related question on SO, however it only applies to "maven" repositories, which has a different api endpoint.
Take the download link and append
?describe=info
The optional
-H "Accept:application/json"
curl flag returns json instead of xmlThanks to Rich @ sonatype support.