Sonatype Nexus Repository Assets API

The Assets API from Sonatype Nexus Repository — 2 operation(s) for assets.

GitHub OpenAPI

Operations 3

GET /v1/assets/{id} Get a single asset #
DELETE /v1/assets/{id} Delete a single asset #
GET /v1/assets List assets #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/nexus:nexus-assets-api"
All apis
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.

Get an API 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 Specification

nexus-assets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nexus Repository Manager REST Assets API
  version: 3.97.2-02
servers:
- url: /service/rest
tags:
- name: Assets
paths:
  /v1/assets/{id}:
    get:
      tags:
      - Assets
      summary: Get a single asset
      operationId: getAssets
      parameters:
      - name: id
        in: path
        description: Id of the asset to get
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Asset returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssetXO'
        '403':
          description: Insufficient permissions to get asset
        '404':
          description: Asset not found
        '422':
          description: Malformed ID
    delete:
      tags:
      - Assets
      summary: Delete a single asset
      operationId: deleteAssets
      parameters:
      - name: id
        in: path
        description: Id of the asset to delete
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Asset was successfully deleted
        '403':
          description: Insufficient permissions to delete asset
        '404':
          description: Asset not found
        '422':
          description: Malformed ID
  /v1/assets:
    get:
      tags:
      - Assets
      summary: List assets
      operationId: listAssets
      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 assets.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Assets returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Page'
        '403':
          description: Insufficient permissions to list assets
        '422':
          description: Parameter 'repository' is required
components:
  schemas:
    Page:
      type: object
      properties:
        items:
          type: array
          items:
            type: object
        continuationToken:
          type: string
        total:
          type: integer
          format: int64
    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