I'm trying to use the /rest/beta/search/assets/download to download a jar file:
To do this, I used:
But this always fails with a 400 response. The logs show that the reason for this is multiple files are found. Using the/rest/beta/search/assets endpoit I find that the reason is there is also a jar with a classifier:
I can find no way to create a search that does not match the classifier. So I always get two results, and I cannot download this file directly by REST API.
This is either a bug in the API, or a bug in the documentation. If the latter, the REST API documentation should show how to search for an empty classifier.