Sonatype Nexus · Capability

Sonatype Nexus Repository Manager — Formats

Sonatype Nexus Repository Manager — Formats. 2 operations. Lead operation: Get upload field requirements for each supported format. Self-contained Naftiko capability covering one Sonatype Nexus business surface.

Run with Naftiko Sonatype NexusFormats

What You Can Do

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

MCP Tools

get-upload-field-requirements-each

Get upload field requirements for each supported format

read-only idempotent
get-upload-field-requirements-desired

Get upload field requirements for the desired format

read-only idempotent

Capability Spec

repository-formats.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Sonatype Nexus Repository Manager — Formats
  description: 'Sonatype Nexus Repository Manager — Formats. 2 operations. Lead operation: Get upload field requirements for
    each supported format. Self-contained Naftiko capability covering one Sonatype Nexus business surface.'
  tags:
  - Sonatype Nexus
  - Formats
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SONATYPE_NEXUS_API_KEY: SONATYPE_NEXUS_API_KEY
capability:
  consumes:
  - type: http
    namespace: repository-formats
    baseUri: ''
    description: Sonatype Nexus Repository Manager — Formats business capability. Self-contained, no shared references.
    resources:
    - name: v1-formats-upload-specs
      path: /v1/formats/upload-specs
      operations:
      - name: get1
        method: GET
        description: Get upload field requirements for each supported format
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-formats-format-upload-specs
      path: /v1/formats/{format}/upload-specs
      operations:
      - name: get
        method: GET
        description: Get upload field requirements for the desired format
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: format
          in: path
          type: string
          description: The desired repository format
          required: true
    authentication:
      type: basic
      username: '{{env.SONATYPE_NEXUS_USER}}'
      password: '{{env.SONATYPE_NEXUS_PASS}}'
  exposes:
  - type: rest
    namespace: repository-formats-rest
    port: 8080
    description: REST adapter for Sonatype Nexus Repository Manager — Formats. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/v1/formats/upload-specs
      name: v1-formats-upload-specs
      description: REST surface for v1-formats-upload-specs.
      operations:
      - method: GET
        name: get1
        description: Get upload field requirements for each supported format
        call: repository-formats.get1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/formats/{format}/upload-specs
      name: v1-formats-format-upload-specs
      description: REST surface for v1-formats-format-upload-specs.
      operations:
      - method: GET
        name: get
        description: Get upload field requirements for the desired format
        call: repository-formats.get
        with:
          format: rest.format
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: repository-formats-mcp
    port: 9090
    transport: http
    description: MCP adapter for Sonatype Nexus Repository Manager — Formats. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-upload-field-requirements-each
      description: Get upload field requirements for each supported format
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repository-formats.get1
      outputParameters:
      - type: object
        mapping: $.
    - name: get-upload-field-requirements-desired
      description: Get upload field requirements for the desired format
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repository-formats.get
      with:
        format: tools.format
      outputParameters:
      - type: object
        mapping: $.