Hello Samuel Thelaus
Welcome to Microsoft Q&A Platform, thanks for posting your query here.
I just tried by passing the repository name and I am able to get the Digest SHA value that is shown under the essentials of ACR image on Azure portal https://learn.microsoft.com/en-us/rest/api/containerregistry/tag/get-attributes?view=rest-containerregistry-2019-08-15&tabs=HTTP
GET {url}/acr/v1/{name}/_tags/{reference}
Hope this helps.