Sonatype Nexus Dependency Report REST 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 dependency-response

Example XML

<?xml version="1.0" encoding="UTF-8"?> <dependency-response> <dependencies> <!--content of type 'dependency'--> <groupId> <!--content of type 'string'--> ... </groupId> <artifactId> <!--content of type 'string'--> ... </artifactId> <version> <!--content of type 'string'--> ... </version> <classifier> <!--content of type 'string'--> ... </classifier> <extension> <!--content of type 'string'--> ... </extension> <dependency> <children> <!--content of type 'dependency'--> <!--(content not shown)--> </children> <children> <!--(another 'dependency' type)--> </children> <!--...more "children" elements...--> </dependency> <scope> <!--content of type 'string'--> ... </scope> <optional> <!--content of type 'boolean'--> ... </optional> <missingDescriptor> <!--content of type 'boolean'--> ... </missingDescriptor> </dependencies> </dependency-response>

Example JSON

{ "dependencies" : { "groupId" : "...", "artifactId" : "...", "version" : "...", "classifier" : "...", "extension" : "...", "dependency" : [ { "..." : ... }, ... ], "scope" : "...", "optional" : false, "missingDescriptor" : false } }

Type dependency

Child Elements

name (type) min/max
occurs
description
groupId (string) 0/1 (no documentation provided)
artifactId (string) 0/1 (no documentation provided)
version (string) 0/1 (no documentation provided)
classifier (string) 0/1 (no documentation provided)
extension (string) 0/1 (no documentation provided)
children (dependency) 0/unbounded (no documentation provided)
scope (string) 0/1 (no documentation provided)
optional (boolean) 1/1 (no documentation provided)
missingDescriptor (boolean) 1/1 (no documentation provided)

Type dependencyResourceResponse

Child Elements

name (type) min/max
occurs
description
dependencies (dependency) 0/1 (no documentation provided)