/repositories/{repositoryId}/archive
Mount Point: /service/local/repositories/{repositoryId}/archive
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 |
Response Body
element: | (custom) |
media types: | */* application/xml application/json |
(no documentation provided)