Sonatype Nexus website screenshot

Sonatype Nexus

Sonatype Nexus Repository Manager provides a comprehensive REST API for managing software artifacts, repositories, and components across the software development lifecycle. It supports popular formats including Maven, npm, Docker, PyPI, NuGet, RubyGems, Go, Helm, APT, Yum, Cargo, Terraform, R, Swift, and more. The API covers repository configuration, component and asset management, security, blob stores, search, tasks, cleanup policies, staging, and system administration.

1 APIs 0 Features
Artifact ManagementDevOpsPackage ManagementRepositoryMavennpmDockerSoftware Supply Chain

APIs

Nexus Repository API

REST API for Sonatype Nexus Repository Manager (v3.91.0) providing 238 endpoints for managing repositories across many formats (Maven, npm, Docker, PyPI, NuGet, RubyGems, Go, Ca...

Collections

Pricing Plans

Rate Limits

Sonatype Nexus Rate Limits

5 limits

RATE LIMITS

FinOps

Semantic Vocabularies

Sonatype Nexus Context

3 classes · 17 properties

JSON-LD

API Governance Rules

Sonatype Nexus API Rules

9 rules · 2 errors 7 warnings

SPECTRAL

JSON Structure

Sonatype Nexus Component Structure

0 properties

JSON STRUCTURE

Example Payloads

Resources

🔗
LinkedIn
LinkedIn
🌐
Portal
Portal
🔗
Documentation
Documentation
🔗
Website
Website
👥
GitHub
GitHub
📰
Blog
Blog
📄
ChangeLog
ChangeLog
💬
Support
Support
💰
Pricing
Pricing

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Sonatype Nexus Repository Manager
  version: 3.91.0-07
request:
  auth:
    type: basic
    username: '{{username}}'
    password: '{{password}}'
items:
- info:
    name: Data Store
    type: folder
  items:
  - info:
      name: Get the data store
      type: http
    http:
      method: GET
      url: /service/rest/beta/data-store
    docs: Get the data store
  - info:
      name: Update the data store
      type: http
    http:
      method: PUT
      url: /service/rest/beta/data-store
      body:
        type: json
        data: '{}'
    docs: Update the data store
- info:
    name: Status
    type: folder
  items:
  - info:
      name: Health check endpoint that returns the results of the system status checks
      type: http
    http:
      method: GET
      url: /service/rest/beta/status/check/cluster
    docs: Health check endpoint that returns the results of the system status checks
  - info:
      name: Health check endpoint that returns the results of the system status checks of specified Node
      type: http
    http:
      method: GET
      url: /service/rest/beta/status/check/:nodeId
      params:
      - name: nodeId
        value: ''
        type: path
        description: Node Id
    docs: Health check endpoint that returns the results of the system status checks of specified Node
  - info:
      name: Health check endpoint that validates server can respond to read requests
      type: http
    http:
      method: GET
      url: /service/rest/v1/status
    docs: Health check endpoint that validates server can respond to read requests
  - info:
      name: Health check endpoint that returns the results of the system status checks
      type: http
    http:
      method: GET
      url: /service/rest/v1/status/check
    docs: Health check endpoint that returns the results of the system status checks
  - info:
      name: Health check endpoint that validates server can respond to read and write requests
      type: http
    http:
      method: GET
      url: /service/rest/v1/status/writable
    docs: Health check endpoint that validates server can respond to read and write requests
- info:
    name: 'System: Nodes'
    type: folder
  items:
  - info:
      name: Get information about all nodes
      type: http
    http:
      method: GET
      url: /service/rest/beta/system/information
    docs: Get information about all nodes
  - info:
      name: Get information about this node
      type: http
    http:
      method: GET
      url: /service/rest/v1/system/node
    docs: Get information about this node
  - info:
      name: Reset the ID for this node. Takes effect after restart and should only be used when cloning an instance
      type: http
    http:
      method: DELETE
      url: /service/rest/v1/system/node
    docs: Reset the ID for this node. Takes effect after restart and should only be used when cloning an instance
- info:
    name: 'Security management: api keys principals encryption'
    type: folder
  items:
  - info:
      name: Re-encrypt api keys principals using the specified configuration
      type: http
    http:
      method: PUT
      url: /service/rest/v1/apikeys/encryption/re-encrypt
      body:
        type: json
        data: '{}'
    docs: Ensure all nodes have access to the key, and they use the same key
- info:
    name: assets
    type: folder
  items:
  - info:
      name: List assets
      type: http
    http:
      method: GET
      url: /service/rest/v1/assets
      params:
      - name: continuationToken
        value: ''
        type: query
        description: A token returned by a prior request. If present, the next page of results are returned
      - name: repository
        value: ''
        type: query
        description: Repository from which you would like to retrieve assets.
    docs: List assets
  - info:
      name: Get a single asset
      type: http
    http:
      method: GET
      url: /service/rest/v1/assets/:id
      params:
      - name: id
        value: ''
        type: path
        description: Id of the asset to get
    docs: Get a single asset
  - info:
      name: Delete a single asset
      type: http
    http:
      method: DELETE
      url: /service/rest/v1/assets/:id
      params:
      - name: id
        value: ''
        type: path
        description: Id of the asset to delete
    docs: Delete a single asset
- info:
    name: Azure blob store
    type: folder
  items:
  - info:
      name: Verify connection using supplied Azure Blob Store settings
      type: http
    http:
      method: POST
      url: /service/rest/v1/azureblobstore/test-connection
      body:
        type: json
        data: '{}'
    docs: Verify connection using supplied Azure Blob Store settings
- info:
    name: Blob store
    type: folder
  items:
  - info:
      name: List the blob stores
      type: http
    http:
      method: GET
      url: /service/rest/v1/blobstores
    docs: List the blob stores
  - info:
      name: Create an Azure blob store
      type: http
    http:
      method: POST
      url: /service/rest/v1/blobstores/azure
      body:
        type: json
        data: '{}'
    docs: Create an Azure blob store
  - info:
      name: Get an Azure blob store configuration by name
      type: http
    http:
      method: GET
      url: /service/rest/v1/blobstores/azure/:name
      params:
      - name: name
        value: ''
        type: path
        description: Name of the blob store configuration to fetch
    docs: Get an Azure blob store configuration by name
  - info:
      name: Update an Azure blob store configuration by name
      type: http
    http:
      method: PUT
      url: /service/rest/v1/blobstores/azure/:name
      params:
      - name: name
        value: ''
        type: path
        description: Name of the blob store to update
      body:
        type: json
        data: '{}'
    docs: Update an Azure blob store configuration by name
  - info:
      name: Create a file blob store
      type: http
    http:
      method: POST
      url: /service/rest/v1/blobstores/file
      body:
        type: json
        data: '{}'
    docs: Create a file blob store
  - info:
      name: Get a file blob store configuration by name
      type: http
    http:
      method: GET
      url: /service/rest/v1/blobstores/file/:name
      params:
      - name: name
        value: default
        type: path
        description: The name of the file blob store to read
    docs: Get a file blob store configuration by name
  - info:
      name: Update a file blob store configuration by name
      type: http
    http:
      method: PUT
      url: /service/rest/v1/blobstores/file/:name
      params:
      - name: name
        value: ''
        type: path
        description: The name of the file blob store to update
      body:
        type: json
        data: '{}'
    docs: Update a file blob store configuration by name
  - info:
      name: Create a Google Cloud blob store
      type: http
    http:
      method: POST
      url: /service/rest/v1/blobstores/google
      body:
        type: json
        data: '{}'
    docs: Create a Google Cloud blob store
  - info:
      name: Get the project regions by project's id
      type: http
    http:
      method: GET
      url: /service/rest/v1/blobstores/google/regions/:projectId
      params:
      - name: projectId
        value: ''
        type: path
        description: projectId
    docs: Get the project regions by project's id
  - info:
      name: Get the configuration for a Google Cloud blob store
      type: http
    http:
      method: GET
      url: /service/rest/v1/blobstores/google/:name
      params:
      - name: name
        value: ''
        type: path
        description: the name of the blob store
    docs: Get the configuration for a Google Cloud blob store
  - info:
      name: Update a Google Cloud blob store
      type: http
    http:
      method: PUT
      url: /service/rest/v1/blobstores/google/:name
      params:
      - name: name
        value: ''
        type: path
        description: the name of the blobstore
      body:
        type: json
        data: '{}'
    docs: Update a Google Cloud blob store
  - info:
      name: Create a group blob store
      type: http
    http:
      method: POST
      url: /service/rest/v1/blobstores/group
      body:
        type: json
        data: '{}'
    docs: Create a group blob store
  - info:
      name: Convert a blob store to a group blob store
      type: http
    http:
      method: POST
      url: /service/rest/v1/blobstores/group/convert/:name/:newNameForOriginal
      params:
      - name: name
        value: ''
        type: path
        description: The name of the group blob store
      - name: newNameForOriginal
        value: ''
        type: path
        description: A new name to the original blob store
    docs: Convert a blob store to a group blob store
  - info:
      name: Get a group blob store configuration by name
      type: http
    http:
      method: GET
      url: /service/rest/v1/blobstores/group/:name
      params:
      - name: name
        value: ''
        type: path
        description: The name of the group blob store
    docs: Get a group blob store configuration by name
  - info:
      name: Update a group blob store configuration by name
      type: http
    http:
      method: PUT
      url: /service/rest/v1/blobstores/group/:name
      params:
      - name: name
        value: ''
        type: path
        description: The name of the blob store to update
      body:
        type: json
        data: '{}'
    docs: Update a group blob store configuration by name
  - info:
      name: Create an S3 blob store
      type: http
    http:
      method: POST
      url: /service/rest/v1/blobstores/s3
      body:
        type: json
        data: '{}'
    docs: Create an S3 blob store
  - info:
      name: Get a S3 blob store configuration by name
      type: http
    http:
      method: GET
      url: /service/rest/v1/blobstores/s3/:name
      params:
      - name: name
        value: ''
        type: path
        description: Name of the blob store configuration to fetch
    docs: Get a S3 blob store configuration by name
  - info:
      name: Update an S3 blob store configuration by name
      type: http
    http:
      method: PUT
      url: /service/rest/v1/blobstores/s3/:name
      params:
      - name: name
        value: ''
        type: path
        description: Name of the blob store to update
      body:
        type: json
        data: '{}'
    docs: Update an S3 blob store configuration by name
  - info:
      name: Delete a blob store by name
      type: http
    http:
      method: DELETE
      url: /service/rest/v1/blobstores/:name
      params:
      - name: name
        value: ''
        type: path
        description: The name of the blob store to delete
    docs: Delete a blob store by name
  - info:
      name: Get quota status for a given blob store
      type: http
    http:
      method: GET
      url: /service/rest/v1/blobstores/:name/quota-status
      params:
      - name: name
        value: ''
        type: path
    docs: Get quota status for a given blob store
- info:
    name: Capabilities
    type: folder
  items:
  - info:
      name: List the active capabilities
      type: http
    http:
      method: GET
      url: /service/rest/v1/capabilities
    docs: List the active capabilities
  - info:
      name: Create a capability
      type: http
    http:
      method: POST
      url: /service/rest/v1/capabilities
      body:
        type: json
        data: '{}'
    docs: Create a capability
  - info:
      name: List all capability types available and exposed in the system
      type: http
    http:
      method: GET
      url: /service/rest/v1/capabilities/types
    docs: List all capability types available and exposed in the system
  - info:
      name: Update a capability
      type: http
    http:
      method: PUT
      url: /service/rest/v1/capabilities/:capabilityId
      params:
      - name: capabilityId
        value: ''
        type: path
        description: capabilityId
      body:
        type: json
        data: '{}'
    docs: Update a capability
  - info:
      name: Delete a capability
      type: http
    http:
      method: DELETE
      url: /service/rest/v1/capabilities/:capabilityId
      params:
      - name: capabilityId
        value: ''
        type: path
        description: capabilityId
    docs: Delete a capability
- info:
    name: Cleanup policies
    type: folder
  items:
  - info:
      name: Get a list of existing policies
      type: http
    http:
      method: GET
      url: /service/rest/v1/cleanup-policies
    docs: Get a list of existing policies
  - info:
      name: Create a new policy
      type: http
    http:
      method: POST
      url: /service/rest/v1/cleanup-policies
      body:
        type: json
        data: '{}'
    docs: Create a new policy
  - info:
      name: Get a policy by name
      type: http
    http:
      method: GET
      url: /service/rest/v1/cleanup-policies/:name
      params:
      - name: name
        value: ''
        type: path
    docs: Get a policy by name
  - info:
      name: Delete cleanup policy
      type: http
    http:
      method: DELETE
      url: /service/rest/v1/cleanup-policies/:name
      params:
      - name: name
        value: ''
        type: path
    docs: Delete cleanup policy
  - info:
      name: Update existing policy
      type: http
    http:
      method: PUT
      url: /service/rest/v1/cleanup-policies/:policyName
      params:
      - name: policyName
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Update existing policy
- info:
    name: Database Upgrade
    type: folder
  items:
  - info:
      name: Check the progress of a database schema upgrade
      type: http
    http:
      method: GET
      url: /service/rest/v1/clustered/upgrade-database-schema
    docs: Check the progress of a database schema upgrade
  - info:
      name: Begins a database schema upgrade
      type: http
    http:
      method: POST
      url: /service/rest/v1/clustered/upgrade-database-schema
    docs: Begins a database schema upgrade
  - info:
      name: Clears a stored database schema upgrade success or a recoverable error
      type: http
    http:
      method: DELETE
      url: /service/rest/v1/clustered/upgrade-database-schema
    docs: Clears a stored database schema upgrade success or a recoverable error
- info:
    name: components
    type: folder
  items:
  - info:
      name: List components
      type: http
    http:
      method: GET
      url: /service/rest/v1/components
      params:
      - name: continuationToken
        value: ''
        type: query
        description: A token returned by a prior request. If present, the next page of results are returned
      - name: repository
        value: ''
        type: query
        description: Repository from which you would like to retrieve components
    docs: List components
  - info:
      name: Upload a single component
      type: http
    http:
      method: POST
      url: /service/rest/v1/components
      params:
      - name: repository
        value: ''
        type: query
        description: Name of the repository to which you would like to upload the component
      body:
        type: multipart-form
        data:
        - name: apt.asset
          type: text
          value: ''
        - name: apt.tag
          type: text
          value: ''
        - name: helm.asset
          type: text
          value: ''
        - name: helm.tag
          type: text
          value: ''
        - name: maven2.artifactId
          type: text
          value: ''
        - name: maven2.asset1
          type: text
          value: ''
        - name: maven2.asset1.classifier
          type: text
          value: ''
        - name: maven2.asset1.extension
          type: text
          value: ''
        - name: maven2.asset2
          type: text
          value: ''
        - name: maven2.asset2.classifier
          type: text
          value: ''
        - name: maven2.asset2.extension
          type: text
          value: ''
        - name: maven2.asset3
          type: text
          value: ''
        - name: maven2.asset3.classifier
          type: text
          value: ''
        - name: maven2.asset3.extension
          type: text
          value: ''
        - name: maven2.generate-pom
          type: text
          value: ''
        - name: maven2.groupId
          type: text
          value: ''
        - name: maven2.packaging
          type: text
          value: ''
        - name: maven2.tag
          type: text
          value: ''
        - name: maven2.version
          type: text
          value: ''
        - name: npm.asset
          type: text
          value: ''
        - name: npm.tag
          type: text
          value: ''
        - name: nuget.asset
          type: text
          value: ''
        - name: nuget.tag
          type: text
          value: ''
        - name: pypi.asset
          type: text
          value: ''
        - name: pypi.tag
          type: text
          value: ''
        - name: r.asset
          type: text
          value: ''
        - name: r.asset.pathId
          type: text
          value: ''
        - name: r.tag
          type: text
          value: ''
        - name: raw.asset1
          type: text
          value: ''
        - name: raw.asset1.filename
          type: text
          value: ''
        - name: raw.asset2
          type: text
          value: ''
        - name: raw.asset2.filename
          type: text
          value: ''
        - name: raw.asset3
          type: text
          value: ''
        - name: raw.asset3.filename
          type: text
          value: ''
        - name: raw.directory
          type: text
          value: ''
        - name: raw.tag
          type: text
          value: ''
        - name: rubygems.asset
          type: text
          value: ''
        - name: rubygems.tag
          type: text
          value: ''
        - name: swift.asset
          type: text
          value: ''
        - name: swift.name
          type: text
          value: ''
        - name: swift.scope
          type: text
          value: ''
        - name: swift.tag
          type: text
          value: ''
        - name: swift.version
          type: text
          value: ''
        - name: terraform.architecture
          type: text
          value: ''
        - name: terraform.asset
          type: text
          value: ''
        - name: terraform.name
          type: text
          value: ''
        - name: terraform.namespace
          type: text
          value: ''
        - name: terraform.os
          type: text
          value: ''
        - name: terraform.provider
          type: text
          value: ''
        - name: terraform.tag
          type: text
          value: ''
        - name: terraform.type
          type: text
          value: ''
        - name: terraform.uploadType
          type: text
          value: ''
        - name: terraform.version
          type: text
          value: ''
        - name: yum.asset
          type: text
          value: ''
        - name: yum.asset.filename
          type: text
          value: ''
        - name: yum.directory
          type: text
          value: ''
        - name: yum.tag
          type: text
          value: ''
    docs: Upload a single component
  - info:
      name: Get a single component
      type: http
    http:
      method: GET
      url: /service/rest/v1/components/:id
      params:
      - name: id
        value: ''
        type: path
        description: ID of the component to retrieve
    docs: Get a single component
  - info:
      name: Delete a single component
      type: http
    http:
      method: DELETE
      url: /service/rest/v1/components/:id
      params:
      - name: id
        value: ''
        type: path
        description: ID of the component to delete
    docs: Delete a single component
- info:
    name: Instance configuration
    type: folder
  items:
  - info:
      name: Export instance configuration
      type: http
    http:
      method: GET
      url: /service/rest/v1/configuration
      headers:
      - name: X-Nexus-Migration-Protocol-Version
        value: ''
    docs: Export instance configuration
  - info:
      name: Apply instance configuration
      type: http
    http:
      method: PUT
      url: /service/rest/v1/configuration
      headers:
      - name: X-Nexus-Migration-Protocol-Version
        value: ''
      body:
        type: json
        data: '{}'
    docs: Apply instance configuration
  - info:
      name: List assets
      type: http
    http:
      method: GET
      url: /service/rest/v1/configuration/assets
      headers:
      - name: X-Nexus-Migration-Protocol-Version
        value: ''
      params:
      - name: continuationToken
        value: ''
        type: query
        description: A token returned by a prior request. If present, the next page of results are returned
      - name: repository
        value: ''
        type: query
        description: Repository from which you would like to retrieve assets.
      - name: newerThan
        value: ''
        type: query
        description: Unix timestamp (milliseconds since epoch). Return assets last updated after this timestamp
      - name: olderThan
        value: ''
        type: query
        description: Unix timestamp (milliseconds since epoch). Return assets last updated before this timestamp
    docs: List assets
  - info:
      name: Import assets to repository
      type: http
    http:
      method: POST
      url: /service/rest/v1/configuration/assets/:repositoryName/import
      headers:
      - name: X-Nexus-Migration-Protocol-Version
        value: ''
      params:
      - name: repositoryName
        value: ''
        type: path
        description: Repository name to import assets to
    docs: Import assets to repository
  - info:
      name: Set migration cipher password for decrypting imported secrets
      type: http
    http:
      method: POST
      url: /service/rest/v1/configuration/cipher
      headers:
      - name: X-Nexus-Migration-Protocol-Version
        value: ''
    docs: Set migration cipher password for decrypting imported secrets
  - info:
      name: Clear migration cipher password
      type: http
    http:
      method: DELETE
      url: /service/rest/v1/configuration/cipher
      headers:
      - name: X-Nexus-Migration-Protocol-Version
        value: ''
    docs: Clear migration cipher password
  - info:
      name: Receive transfer complete notification from migrator
      type: http
    http:
      method: POST
      url: /service/rest/v1/configuration/transfer-complete
      headers:
      - name: X-Nexus-Migration-Protocol-Version
        value: ''
      body:
        type: json
        data: '{}'
    docs: Receive transfer complete notification from migrator
- info:
    name: Email
    type: folder
  items:
  - info:
      name: Retrieve the current email configuration
      type: http
    http:
      method: GET
      url: /service/rest/v1/email
    docs: Retrieve the current email configuration
  - info:
      name: Set the current email configuration
      type: http
    http:
      method: PUT
      url: /service/rest/v1/email
    docs: Set the current email configuration
  - info:
      name: Disable and clear the email configuration
      type: http
    http:
      method: DELETE
      url: /service/rest/v1/email
    docs: Disable and clear the email configuration
  - info:
      name: Send a test email to the email address provided in the request body
      type: http
    http:
      method: POST
      url: /service/rest/v1/email/verify
    docs: Send a test email to the email address provided in the request body
- info:
    name: Formats
    type: folder
  items:
  - info:
      name: Get upload field requirements for each supported format
      type: http
    http:
      method: GET
      url: /service/rest/v1/formats/upload-specs
    docs: Get upload field requirements for each supported format
  - info:
      name: Get upload field requirements for the desired format
      type: http
    http:
      method: GET
      url: /service/rest/v1/formats/:format/upload-specs
      params:
      - name: format
        value: ''
        type: path
        description: The desired repository format
    docs: Get upload field requirements for the desired format
- info:
    name: Manage Sonatype HTTP System Settings
    type: folder
  items:
  - info:
      name: Get HTTP system settings
      type: http
    http:
      method: GET
      url: /service/rest/v1/http
    docs: Get HTTP system settings
  - info:
      name: Update HTTP system settings
      type: http
    http:
      method: PUT
      url: /service/rest/v1/http
      body:
        type: json
        data: '{}'
    docs: Update HTTP system settings
  - info:
      name: Reset HTTP System Settings
      type: http
    http:
      method: DELETE
      url: /service/rest/v1/http
    docs: Reset HTTP System Settings
- info:
    name: Manage Sonatype Repository Firewall configuration
    type: folder
  items:
  - info:
      name: Get Sonatype Repository Firewall configuration
      type: http
    http:
      method: GET
      url: /service/rest/v1/iq
    docs: Get Sonatype Repository Firewall configuration
  - info:
      name: Update Sonatype Repository Firewall configuration
      type: http
    http:
      method: PUT
      url: /service/rest/v1/iq
      body:
        type: json
        data: '{}'
    docs: Update Sonatype Repository Firewall configuration
  - info:
      name: List repositories audit statuses.
      type: http
    http:
      method: GET
      url: /service/rest/v1/iq/audit
    docs: List repositories audit statuses.
  - info:
      name: Manage audit
      type: http
    http:
      method: PUT
      url: /service/rest/v1/iq/audit
      body:
        type: json
        data: '{}'
    docs: Manage audit
  - info:
      name: Get audit status for the repository
      type: http
    http:
      method: GET
      url: /service/rest/v1/iq/audit/:repositoryName
      params:
      - name: repositoryName
        value: ''
        type: path
    docs: Get audit status for the repository
  - info:
      name: Disable Sonatype Repository Firewall
      type: http
    http:
      method: POST
      url: /service/rest/v1/iq/disable
    docs: Disable Sonatype Repository Firewall
  - info:
      name: Enable Sonatype Repository Firewall
      type: http
    http:
      method: POST
      url: /service/rest/v1/iq/enable
    docs: Enable Sonatype Repository Firewall
  - info:
      name: Verify Sonatype Repository Firewall connection
      type: http
    http:
      method: POST
      url: /service/rest/v1/iq/verify-connection
    docs: Verify Sonatype Repository Firewall connection
- info:
    name: Lifecycle
    type: folder
  items:
  - info:
      name: Bounce lifecycle phase
      type: http
    http:
      method: PUT
      url: /service/rest/v1/lifecycle/bounce
    docs: Re-runs all phases from the given phase to the current phase
  - info:
      name: Get current lifecycle phase
      type: http
    http:
      method: GET
      url: /service/rest/v1/lifecycle/phase
    docs: Get current lifecycle phase
  - info:
      name: Move to new lifecycle phase
      type: http
    http:
      method: PUT
      url: /service/rest/v1/lifecycle/phase
    docs: Move to new lifecycle phase
- info:
    name: Malicious Risk On Disk
    type: folder
  items:
  - info:
      name: Get RHC Enabled registries for malicious risk scanning.
      type: http
    http:
      method: GET
      url: /service/rest/v1/malicious-risk/enabledRegistries
    docs: Get RHC Enabled registries for malicious risk scanning.
  - info:
      name: Get Malicious Risk On Disk Count
      type: http
    http:
      method: GET
      url: /service/rest/v1/malicious-risk/risk-on-disk
    docs: Get Malicious Risk On Disk Count
- info:
    name: Monthly Metrics
    type: folder
  items:
  - info:
      name: Get the last 12 months of metrics.
      type: http
    http:
      method: GET
      url: /service/rest/v1/monthly-metrics
    docs: Get the last 12 months of metrics.
- info:
    name: Reconcile Plan
    type: folder
  items:
  - info:
      name: Get list of currently available plans
      type: http
    http:
      method: GET
      url: /service/rest/v1/plan
      params:
      - name: continuationToken
        value: ''
        type: query
        description: A token returned by a prior request. If present, the next page of results are returned
    docs: Get list of currently available plans
  - info:
      name: Create reconciliation plans with selected parameters
      type: http
    http:
      method: POST
      url: /service/rest/v1/plan
      params:
      - name: repositories
        value: ''
        type: query
        description: repository(ies) which should be processed with high priority
      - name: blobStores
        value: ''
        type: query
      - name: startDate
        value: ''
        type: query
      - name: endDate
        value: ''
        type: query
      - name: sinceDays
        value: ''
        type: query
      - name: sinceHours
        value: ''
        type: query
      - name: sinceMinutes
        value: ''
        type: query
    docs: Create reconciliation plans with selected parameters
  - info:
      name: Execute all non executed reconciliation plans
      type: http
    http:
      method: PUT
      url: /service/rest/v1/plan
    docs: Execute all non executed reconciliation plans
  - info:
      name: Delete all non executed reconciliation plans
      type: http
    http:
      method: DELETE
      url: /service/rest/v1/plan
    docs: Delete all non executed reconciliation plans
  - info:
      name: Get reconciliation plan details
      type: http
    http:
      method: GET
      url: /service/rest/v1/plan/details
      params:
      - name: planId
        value: ''
        type: query
        description: Id of the plan
      - name: state
        value: ''
        type: query
      - name: repository
        value: ''
        type: query
      - name: continuationToken
        value: ''
        type: query
        description: A token returned by a prior request. If present, the next page of results are returned
    docs: Get reconciliation plan details
  - info:
      name: Get single reconciliation plan with details
      type: http
    http:
      method: GET
      url: /service/rest/v1/plan/:planId
      params:
      - name: planId
        value: ''
        type: path
        description: Id of the plan
      - name: repository
        value: ''
        type: query
      - name: continuationToken
        value: ''
        type: query
        description: A token returned by a prior request. If present, the next page of results are returned
    docs: Get single reconciliation plan with details
  - info:
      name: Execute a reconciliation plan based on its Id
      type: http
    http:
      method: PUT
      url: /service/rest/v1/plan/:planId
      params:
      - name: planId
        value: ''
        type: path
        description: Id of the plan to execute
    docs: Execute a reconciliation plan based on its Id
  - info:
      name: Delete a reconciliation plan based on its Id
      type: http
    http:
      method: DELETE
      url: /service/rest/v1/plan/:planId
      params:
      - name: planId
        value: ''
        type: path
        description: Id of the plan to delete
    docs: Delete a reconciliation plan based on its Id
- info:
    name: Recovery Mode
    type: folder
  items:
  - info:
      name: Enables recovery mode and cancels conflicting tasks if running
      type: http
    http:
      method: POST
      url: /service/rest/v1/recovery-mode
    docs: Enables recovery mode and cancels conflicting tasks if running
  - info:
      name: Disables recovery mode
      type: http
    http:
      method: DELETE
      url: /service/rest/v1/recovery-mode
    docs: Disables recovery mode
- info:
    name: Repository Management
    type: folder
  items:
  - info:
      name: List repositories
      type: http
    http:
      method: GET
      url: /service/rest/v1/repositories
    docs: List repositories
  - info:
      name: Create APT hosted repository
      type: http
    http:
      method: POST
      url: /service/rest/v1/repositories/apt/hosted
      body:
        type: json
  

# --- truncated at 32 KB (164 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/sonatype-nexus/refs/heads/main/apis.yml