Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Nexus Repository Manager Components API

The Components API from Nexus Repository Manager — 2 operation(s) for components.

Nexus Repository Manager Components API is one of 9 APIs that Nexus Repository Manager publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Components. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 4 operations across 2 paths. It is described by OpenAPI 3.1.0, at version v1.

Requests are made against a single base URL, {nexus_url}/service/rest.

4 operations 2 paths 0 schemas 1 DELETE2 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
v1
Base URL
https://your-nexus-instance.example.com/service/rest
Authentication
HTTP Basic, HTTP Bearer
Resource Areas
1

Authentication & Security 2

Nexus Repository Manager Components API declares 2 security schemes for authenticating requests. It accepts HTTP basic authentication (basicAuth). It accepts HTTP bearer tokens (userToken). By default, every request must be authenticated.

  • basicAuth — HTTP Basic authentication with a Nexus user account.
  • userToken — Nexus user token authentication. Tokens can be generated per user when User Tokens are enabled on the instance.

Paths & Operations 4

Across 2 paths, the API surfaces 4 operations — 1 DELETE, 2 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Components 4
GET
/v1/components
List components in a repository
listComponents 2 params → 200
POST
/v1/components
Upload a component
uploadComponent 1 param → 204
GET
/v1/components/{id}
Get a component by ID
getComponent 1 param → 200
DELETE
/v1/components/{id}
Delete a component by ID
deleteComponent 1 param → 204

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

nexus-components-api-openapi.yml Raw ↑

Other APIs Nexus Repository Manager publishes across the network.

Nexus Repository Manager REST API
Nexus Repository Manager Assets API
Nexus Repository Manager BlobStores API
Nexus Repository Manager Repositories API
Nexus Repository Manager Search API
Nexus Repository Manager Security API
Nexus Repository Manager Status API
Nexus Repository Manager Tasks API