Nexus 3 REST API for loading artifacts

Nexus 2.x had a REST API for loading artifacts, as shown 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

Is the API changed for anything else on Nexus 3.0.0-03 ?

+9
source share
3 answers

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

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

+4
source

At this time, the REST API was released as a beta. You can get additional information and give us feedback by clicking on this link: http://blog.sonatype.com/nexus-repository-new-beta-rest-api-for-content

+1
source

just for this case, I created a PHP script that returns an HTTP redirect to the location of the artifact. feel free to use https://github.com/maozza/nexus3-redirector

+1
source

All Articles