Sonatype Nexus Archive Browser Plugin API

Data

  • Default Namespace
  • XML Schema File: ns0.xsd

The data in this namespace is divided into elements and types. Types define the structure of the data. Elements define specific instances of the types, and are therefore more relevant to REST endpoints, which generally consume and/or produce elements.

The following elements are members of this namespace:

The following types are members of this namespace:

Element archiveBrowserTreeNodeDTO

A tree node item that gives all information necessary to browse into an archive. Including child nodes of the node (note that child nodes only go 1 level deep).

Example XML

<?xml version="1.0" encoding="UTF-8"?> <archiveBrowserTreeNodeDTO> <leaf> <!--content of type 'boolean'--> ... </leaf> <nodeName> <!--content of type 'string'--> ... </nodeName> <path> <!--content of type 'string'--> ... </path> <children> <!--content of type 'archiveBrowserTreeNodeDTO'--> <!--(content not shown)--> </children> <children> <!--(another 'archiveBrowserTreeNodeDTO' type)--> </children> <!--...more "children" elements...--> </archiveBrowserTreeNodeDTO>

Example JSON

{ "leaf" : false, "nodeName" : "...", "path" : "...", "children" : [ { "..." : ... }, ... ] }

Element archiveBrowserTreeViewResponse

The archive browser tree view resposne which contains the standard 'data' element, which is the tree node details.

Example XML

<?xml version="1.0" encoding="UTF-8"?> <archiveBrowserTreeViewResponse> <data> <!--content of type 'archiveBrowserTreeNodeDTO'--> <leaf> <!--content of type 'boolean'--> ... </leaf> <nodeName> <!--content of type 'string'--> ... </nodeName> <path> <!--content of type 'string'--> ... </path> <children> <!--content of type 'archiveBrowserTreeNodeDTO'--> <!--(content not shown)--> </children> <children> <!--(another 'archiveBrowserTreeNodeDTO' type)--> </children> <!--...more "children" elements...--> </data> </archiveBrowserTreeViewResponse>

Example JSON

{ "data" : { "leaf" : false, "nodeName" : "...", "path" : "...", "children" : [ { "..." : ... }, ... ] } }

Element archiveTypeListResponse

The List response which contains the standard 'data' element, which is simply a list of archive types that we support to browser

Example XML

<?xml version="1.0" encoding="UTF-8"?> <archiveTypeListResponse> <data> <data> <!--content of type 'string'--> ... </data> <data> <!--(another 'string' type)--> </data> <!--...more "data" elements...--> </data> </archiveTypeListResponse>

Example JSON

{ "data" : [ "...", ... ] }

Type archiveBrowserTreeNodeDTO

A tree node item that gives all information necessary to browse into an archive. Including child nodes of the node (note that child nodes only go 1 level deep).

Child Elements

name (type) min/max
occurs
description
leaf (boolean) 1/1 Get the flag that states if this node has children.
nodeName (string) 0/1 Get the name of this node.
path (string) 0/1 Get the path of this node.
children (archiveBrowserTreeNodeDTO) 0/unbounded Get the list of children of this node.

Type archiveBrowserTreeViewResponseDTO

The archive browser tree view resposne which contains the standard 'data' element, which is the tree node details.

Child Elements

name (type) min/max
occurs
description
data (archiveBrowserTreeNodeDTO) 0/1 Get the archive browser node details.

Type archiveTypeListResponse

The List response which contains the standard 'data' element, which is simply a list of archive types that we support to browser

Child Elements

name (type) min/max
occurs
description
data (string) 0/unbounded Get the list of archive types supported.