Sonatype Nexus OSS REST API

/artifact/maven/redirect

The following operations are supported on this resource:

GET

Emits HTTP redirects (or Not found if not found) to the location of the requested artifact. This resource never returns any content, only 301 Moved permanently or 404 Not found status codes. The HTTP client accessing this resource has to follow the redirection to get to the content of the artifact.

Parameters

name description type default
g Group id of the artifact (Required). query
a Artifact id of the artifact (Required). query
v Version of the artifact (Required) Supports resolving of "LATEST", "RELEASE" and snapshot versions ("1.0-SNAPSHOT") too. query
r Repository that the artifact is contained in (Required). query
p Packaging type of the artifact (Optional). query
c Classifier of the artifact (Optional). query
e Extension of the artifact (Optional). query

Output Payload

element produceable content type(s)
(custom)
  • */*
  • application/xml
description
(no documentation provided)

/artifact/maven/redirect

Home

REST Endpoints

XML Data Elements

XML Data Types