Sonatype Nexus Repository Formats API

The Formats API from Sonatype Nexus Repository — 2 operation(s) for formats.

Operations 2

GET /v1/formats/upload-specs Get upload field requirements for each supported format #
GET /v1/formats/{format}/upload-specs Get upload field requirements for the desired format #

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-formats-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-formats-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nexus Repository Manager REST Formats API
  version: 3.97.2-02
servers:
- url: /service/rest
tags:
- name: Formats
paths:
  /v1/formats/upload-specs:
    get:
      tags:
      - Formats
      summary: Get upload field requirements for each supported format
      operationId: listFormatsUploadSpecs
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UploadDefinitionXO'
  /v1/formats/{format}/upload-specs:
    get:
      tags:
      - Formats
      summary: Get upload field requirements for the desired format
      operationId: getFormatsUploadSpecs
      parameters:
      - name: format
        in: path
        description: The desired repository format
        required: true
        schema:
          type: string
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UploadDefinitionXO'
components:
  schemas:
    UploadFieldDefinitionXO:
      type: object
      properties:
        name:
          type: string
        type:
          type: string
        description:
          type: string
        optional:
          type: boolean
        group:
          type: string
        groupHelpText:
          type: string
        options:
          type: object
          additionalProperties:
            type: string
    UploadDefinitionXO:
      type: object
      properties:
        format:
          type: string
        multipleUpload:
          type: boolean
        componentFields:
          type: array
          items:
            $ref: '#/components/schemas/UploadFieldDefinitionXO'
        assetFields:
          type: array
          items:
            $ref: '#/components/schemas/UploadFieldDefinitionXO'