Sonatype Nexus Repository Reconcile Plan API

The Reconcile Plan API from Sonatype Nexus Repository — 4 operation(s) for reconcile plan.

Operations 9

GET /v1/plan Get list of currently available plans #
PUT /v1/plan Execute all non executed reconciliation plans #
POST /v1/plan Create reconciliation plans with selected parameters #
DELETE /v1/plan Delete all non executed reconciliation plans #
GET /v1/plan/{planId} Get single reconciliation plan with details #
PUT /v1/plan/{planId} Execute a reconciliation plan based on its Id #
DELETE /v1/plan/{planId} Delete a reconciliation plan based on its Id #
GET /v1/plan/summary Get aggregate summary of available reconciliation plans #
GET /v1/plan/details Get reconciliation plan details #

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-reconcile-plan-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-reconcile-plan-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nexus Repository Manager REST Reconcile Plan API
  version: 3.97.2-02
servers:
- url: /service/rest
tags:
- name: Reconcile Plan
paths:
  /v1/plan:
    get:
      tags:
      - Reconcile Plan
      summary: Get list of currently available plans
      operationId: listPlan
      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
      responses:
        '200':
          description: List of plans found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Page'
        '401':
          description: Authentication required
        '403':
          description: Insufficient permissions
    put:
      tags:
      - Reconcile Plan
      summary: Execute all non executed reconciliation plans
      operationId: updatePlan
      responses:
        '204':
          description: Reconciliation plans executed
        '401':
          description: Authentication required
        '403':
          description: Insufficient permissions
        '404':
          description: Reconciliation plan not found
    post:
      tags:
      - Reconcile Plan
      summary: Create reconciliation plans with selected parameters
      operationId: createPlan
      parameters:
      - name: repositories
        in: query
        description: repository(ies) which should be processed with high priority
        allowEmptyValue: true
        schema:
          type: array
          items:
            type: string
      - name: blobStores
        in: query
        allowEmptyValue: true
        schema:
          type: array
          items:
            type: string
      - name: startDate
        in: query
        schema:
          type: string
      - name: endDate
        in: query
        schema:
          type: string
      - name: sinceDays
        in: query
        schema:
          type: integer
          format: int32
      - name: sinceHours
        in: query
        schema:
          type: integer
          format: int32
      - name: sinceMinutes
        in: query
        schema:
          type: integer
          format: int32
          default: 30
      responses:
        '204':
          description: Reconciliation plans created and executed
        '401':
          description: Authentication required
        '403':
          description: Insufficient permissions
        '404':
          description: Reconciliation plan not found
    delete:
      tags:
      - Reconcile Plan
      summary: Delete all non executed reconciliation plans
      operationId: deletePlan
      responses:
        '204':
          description: Reconciliation plans deleted
        '401':
          description: Authentication required
        '403':
          description: Insufficient permissions
        '404':
          description: Plan not found
  /v1/plan/{planId}:
    get:
      tags:
      - Reconcile Plan
      summary: Get single reconciliation plan with details
      operationId: getPlan
      parameters:
      - name: planId
        in: path
        description: Id of the plan
        required: true
        schema:
          type: integer
          format: int32
      - name: repository
        in: query
        schema:
          type: string
      - name: continuationToken
        in: query
        description: A token returned by a prior request. If present, the next page of results are returned
        schema:
          type: string
      responses:
        '200':
          description: Reconciliation plan found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReconcilePlanWithDetailsXO'
        '401':
          description: Authentication required
        '403':
          description: Insufficient permissions
    put:
      tags:
      - Reconcile Plan
      summary: Execute a reconciliation plan based on its Id
      operationId: putV1PlanByPlanId
      parameters:
      - name: planId
        in: path
        description: Id of the plan to execute
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '204':
          description: Reconciliation plans executed
        '401':
          description: Authentication required
        '403':
          description: Insufficient permissions
        '404':
          description: Reconciliation plan not found
      x-operation-id-source: normalized
      x-operation-id-original: updatePlan
    delete:
      tags:
      - Reconcile Plan
      summary: Delete a reconciliation plan based on its Id
      operationId: deleteV1PlanByPlanId
      parameters:
      - name: planId
        in: path
        description: Id of the plan to delete
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '204':
          description: Reconciliation plan deleted
        '401':
          description: Authentication required
        '403':
          description: Insufficient permissions
        '404':
          description: Plan not found
      x-operation-id-source: normalized
      x-operation-id-original: deletePlan
  /v1/plan/summary:
    get:
      tags:
      - Reconcile Plan
      summary: Get aggregate summary of available reconciliation plans
      operationId: listPlanSummary
      responses:
        '200':
          description: Aggregate plan summary returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReconcilePlanSummaryXO'
        '401':
          description: Authentication required
        '403':
          description: Insufficient permissions
  /v1/plan/details:
    get:
      tags:
      - Reconcile Plan
      summary: Get reconciliation plan details
      operationId: listPlanDetails
      parameters:
      - name: planId
        in: query
        description: Id of the plan
        schema:
          type: integer
          format: int32
      - name: state
        in: query
        schema:
          type: string
      - name: repository
        in: query
        schema:
          type: string
      - name: continuationToken
        in: query
        description: A token returned by a prior request. If present, the next page of results are returned
        schema:
          type: string
      responses:
        '200':
          description: Reconciliation plan details found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Page'
        '401':
          description: Authentication required
        '403':
          description: Insufficient permissions
components:
  schemas:
    ReconcilePlanSummaryXO:
      type: object
      properties:
        planCount:
          type: integer
          format: int32
        blobStoreCount:
          type: integer
          format: int32
        repositoryCount:
          type: integer
          format: int32
        minStartDate:
          type: string
          format: date-time
        maxEndDate:
          type: string
          format: date-time
    ReconcilePlanWithDetailsXO:
      type: object
      properties:
        id:
          type: integer
          format: int32
        repository:
          type: string
        state:
          type: string
        created:
          type: string
          format: date-time
        configuration:
          type: object
          additionalProperties:
            type: string
        details:
          type: array
          items:
            $ref: '#/components/schemas/ReconcilePlanDetailsXO'
        continuationToken:
          type: string
    Page:
      type: object
      properties:
        items:
          type: array
          items:
            type: object
        continuationToken:
          type: string
        total:
          type: integer
          format: int64
    ReconcilePlanDetailsXO:
      type: object
      properties:
        id:
          type: integer
          format: int32
        planId:
          type: integer
          format: int32
        blobId:
          type: string
        repository:
          type: string
        datePathRef:
          type: string
        path:
          type: string
        action:
          type: string
        state:
          type: string
        reason:
          type: string
        assetName:
          type: string