Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nexus 3 REST API to download artifacts

Nexus 2.x had a REST API to download artifacts like below but no longer works for Nexus 3.x

wget "http://local:8081/service/local/artifact/maven/redirect?g=com.mycompany&a=my-app&v=LATEST" --content-disposition

Has the API changed to something else for on Nexus 3.0.0-03?

like image 633
DarVar Avatar asked Sep 14 '16 11:09

DarVar


People also ask

Does Nexus have an API?

Nexus Repository leverages Open API to document the REST API. To make it easier to consume, we ship Nexus Repository with Swagger UI - a simple, interactive user interface, where parameters can be filled out and REST calls made directly through the UI to see the results in the browser.


1 Answers

Currently this does not exist in Nexus 3. It is on our Roadmap.

Edit: Since Nexus 3.3 API functionality has been added. See https://help.sonatype.com/repomanager3/rest-and-integration-api for more information.

like image 148
DarthHater Avatar answered Sep 24 '22 21:09

DarthHater