Sonatype Nexus Archive Browser Plugin API

/repositories/{repositoryId}/archive

The following operations are supported on this resource:

GET

Returns the file listing or content stored inside of a archive denoted by the path.
For example the url: http://host/nexus/service/local/repositories/myrepoId/archive/path/to/file/archive-1.0.zip/!/path/to/file/in/zip/file.html
Will return the contents of file.html found inside the archive 'path/to/file/archive-1.0.zip' which was found in the repository with id 'myrepoId'.

If the url was: http://host/nexus/service/local/repositories/myrepoId/archive/path/to/file/archive-1.0.zip/!/path/to/file/ the directory listing will be returned represented by a archiveBrowserTreeViewResponse object.

NOTE: The content type will be set to match the correct mime type of the returned file.

Parameters

name description type default
repositoryId The Id of the repository path

Output Payload

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