Sonatype Nexus Repository Components API
The Components API from Sonatype Nexus Repository — 2 operation(s) for components.
The Components API from Sonatype Nexus Repository — 2 operation(s) for components.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/nexus:nexus-components-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Nexus Repository Manager REST Components API
version: 3.97.2-02
servers:
- url: /service/rest
tags:
- name: Components
paths:
/v1/components/{id}:
get:
tags:
- Components
summary: Get a single component
operationId: getComponents
parameters:
- name: id
in: path
description: ID of the component to retrieve
required: true
schema:
type: string
responses:
'200':
description: Component returned
content:
application/json:
schema:
$ref: '#/components/schemas/ComponentXO'
'403':
description: Insufficient permissions to get component
'404':
description: Component not found
'422':
description: Malformed ID
delete:
tags:
- Components
summary: Delete a single component
operationId: deleteComponents
parameters:
- name: id
in: path
description: ID of the component to delete
required: true
schema:
type: string
responses:
'204':
description: Component was successfully deleted
'403':
description: Insufficient permissions to delete component
'404':
description: Component not found
'422':
description: Malformed ID
/v1/components:
get:
tags:
- Components
summary: List components
operationId: listComponents
parameters:
- name: continuationToken
in: query
description: A token returned by a prior request. If present, the next page of results are returned
schema:
type: string
- name: repository
in: query
description: Repository from which you would like to retrieve components
required: true
schema:
type: string
responses:
'200':
description: Components returned
content:
application/json:
schema:
$ref: '#/components/schemas/Page'
'403':
description: Insufficient permissions to list components
'422':
description: Parameter 'repository' is required
post:
tags:
- Components
summary: Upload a single component
operationId: createComponents
parameters:
- name: repository
in: query
description: Name of the repository to which you would like to upload the component
required: true
schema:
type: string
requestBody:
content:
multipart/form-data:
schema:
type: object
properties:
apt.tag:
type: string
description: apt Tag
apt.asset:
type: string
description: apt Asset
format: binary
maven2.groupId:
type: string
description: maven2 Group ID
maven2.artifactId:
type: string
description: maven2 Artifact ID
maven2.version:
type: string
description: maven2 Version
maven2.generate-pom:
type: boolean
description: maven2 Generate a POM file with these coordinates
maven2.packaging:
type: string
description: maven2 Packaging
maven2.tag:
type: string
description: maven2 Tag
maven2.asset1:
type: string
description: maven2 Asset 1
format: binary
maven2.asset1.classifier:
type: string
description: maven2 Asset 1 Classifier
maven2.asset1.extension:
type: string
description: maven2 Asset 1 Extension
maven2.asset2:
type: string
description: maven2 Asset 2
format: binary
maven2.asset2.classifier:
type: string
description: maven2 Asset 2 Classifier
maven2.asset2.extension:
type: string
description: maven2 Asset 2 Extension
maven2.asset3:
type: string
description: maven2 Asset 3
format: binary
maven2.asset3.classifier:
type: string
description: maven2 Asset 3 Classifier
maven2.asset3.extension:
type: string
description: maven2 Asset 3 Extension
raw.directory:
type: string
description: raw Directory
raw.tag:
type: string
description: raw Tag
raw.asset1:
type: string
description: raw Asset 1
format: binary
raw.asset1.filename:
type: string
description: raw Asset 1 Filename
raw.asset2:
type: string
description: raw Asset 2
format: binary
raw.asset2.filename:
type: string
description: raw Asset 2 Filename
raw.asset3:
type: string
description: raw Asset 3
format: binary
raw.asset3.filename:
type: string
description: raw Asset 3 Filename
alpine.version:
type: string
description: alpine Alpine Version
alpine.repository:
type: string
description: alpine Repository
alpine.tag:
type: string
description: alpine Tag
alpine.asset:
type: string
description: alpine Asset
format: binary
ansiblegalaxy.namespace:
type: string
description: ansiblegalaxy Namespace
ansiblegalaxy.name:
type: string
description: ansiblegalaxy Name
ansiblegalaxy.version:
type: string
description: ansiblegalaxy Version
ansiblegalaxy.tag:
type: string
description: ansiblegalaxy Tag
ansiblegalaxy.asset:
type: string
description: ansiblegalaxy Asset
format: binary
composer.version:
type: string
description: composer Version
composer.tag:
type: string
description: composer Tag
composer.asset:
type: string
description: composer Asset
format: binary
conda.filename:
type: string
description: conda Filename
conda.version:
type: string
description: conda Version
conda.build:
type: string
description: conda Build String
conda.arch:
type: string
description: conda Architecture
conda.tag:
type: string
description: conda Tag
conda.asset:
type: string
description: conda Asset
format: binary
go.version:
type: string
description: go Version
go.tag:
type: string
description: go Tag
go.asset:
type: string
description: go Asset
format: binary
helm.tag:
type: string
description: helm Tag
helm.asset:
type: string
description: helm Asset
format: binary
npm.tag:
type: string
description: npm Tag
npm.asset:
type: string
description: npm Asset
format: binary
nuget.tag:
type: string
description: nuget Tag
nuget.asset:
type: string
description: nuget Asset
format: binary
pypi.tag:
type: string
description: pypi Tag
pypi.asset:
type: string
description: pypi Asset
format: binary
pub.name:
type: string
description: pub Package Name
pub.version:
type: string
description: pub Version
pub.tag:
type: string
description: pub Tag
pub.asset:
type: string
description: pub Asset
format: binary
r.tag:
type: string
description: r Tag
r.asset:
type: string
description: r Asset
format: binary
r.asset.pathId:
type: string
description: r Asset Package Path
rubygems.tag:
type: string
description: rubygems Tag
rubygems.asset:
type: string
description: rubygems Asset
format: binary
swift.scope:
type: string
description: swift Scope
swift.name:
type: string
description: swift Name
swift.version:
type: string
description: swift Version
swift.tag:
type: string
description: swift Tag
swift.asset:
type: string
description: swift Asset
format: binary
terraform.uploadType:
type: string
description: terraform Upload Type
terraform.namespace:
type: string
description: terraform Namespace
terraform.version:
type: string
description: terraform Version
terraform.name:
type: string
description: terraform Module Name
terraform.provider:
type: string
description: terraform Provider
terraform.type:
type: string
description: terraform Provider Type
terraform.os:
type: string
description: terraform Operating System
terraform.architecture:
type: string
description: terraform Architecture
terraform.tag:
type: string
description: terraform Tag
terraform.asset:
type: string
description: terraform Asset
format: binary
yum.directory:
type: string
description: yum Directory
yum.tag:
type: string
description: yum Tag
yum.asset:
type: string
description: yum Asset
format: binary
yum.asset.filename:
type: string
description: yum Asset Filename
responses:
'403':
description: Insufficient permissions to upload a component
'422':
description: Parameter 'repository' is required
components:
schemas:
ComponentXO:
type: object
properties:
id:
type: string
repository:
type: string
format:
type: string
group:
type: string
name:
type: string
version:
type: string
assets:
type: array
items:
$ref: '#/components/schemas/AssetXO'
extraJsonAttributes:
type: object
additionalProperties:
type: object
tags:
type: array
description: Tags associated with the component
items:
type: string
AssetXO:
type: object
properties:
downloadUrl:
type: string
path:
type: string
id:
type: string
repository:
type: string
format:
type: string
checksum:
type: object
additionalProperties:
type: string
contentType:
type: string
lastModified:
type: string
format: date-time
lastDownloaded:
type: string
format: date-time
uploader:
type: string
uploaderIp:
type: string
fileSize:
type: integer
format: int64
blobCreated:
type: string
format: date-time
blobStoreName:
type: string
blobUpdated:
type: string
format: date-time
blobRef:
type: string
lastVerified:
type: string
format: date-time
registryUrl:
type: string
Page:
type: object
properties:
items:
type: array
items:
type: object
continuationToken:
type: string
total:
type: integer
format: int64