Sonatype Nexus Monthly Metrics API

The Monthly Metrics API from Sonatype Nexus — 1 operation(s) for monthly metrics.

OpenAPI Specification

sonatype-nexus-monthly-metrics-api-openapi.yml Raw ↑
openapi: 3.0.1
info:
  contact:
    name: Sonatype Community Maintainers
    url: https://github.com/sonatype-nexus-community
  description: This documents the available APIs into [Sonatype Nexus Repository Manager](https://www.sonatype.com/products/sonatype-nexus-repository) as of version 3.91.0-07.
  license:
    name: Apache-2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  title: Sonatype Nexus Repository Manager assets Monthly Metrics API
  version: 3.91.0-07
servers:
- url: /service/rest/
security:
- BasicAuth: []
tags:
- name: Monthly Metrics
paths:
  /v1/monthly-metrics:
    get:
      operationId: getLast12MonthsMetrics
      responses:
        '200':
          content:
            application/json:
              example:
              - componentCount: 0
                metricDate: '2025-03-01T00:00:00Z'
                percentageChangeComponent: N/A
                percentageChangeRequest: N/A
                requestCount: 0
          description: Successful response
      summary: Get the last 12 months of metrics.
      tags:
      - Monthly Metrics
components:
  securitySchemes:
    BasicAuth:
      scheme: basic
      type: http
x-original-swagger-version: '2.0'