Sonatype · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Sonatype Components API

7 actions 7 updates phrasing extends openapi/sonatype-components-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Sonatype's API. It is a proposal applied on top of the contract, not a document Sonatype publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/api/v2/components/details'].post
$.paths['/api/v2/components/remediation/{ownerType}/{ownerId}'].post
$.paths['/api/v2/components/versions'].post
$.paths['/api/v2/components/{componentHash}/labels/{labelName}/{ownerType}s/{internalOwnerId}'].post
$.paths['/api/v2/components/{componentHash}/labels/{labelName}/{ownerType}s/{internalOwnerId}'].delete
$.paths['/api/v2/components/remediation/{ownerType}/{ownerId}/bulk'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Sonatype Components API
  version: 1.0.0
extends: openapi/sonatype-components-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-28'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 6
- target: $.paths['/api/v2/components/details'].post
  update:
    x-apievangelist-phrasing:
      intent: Look up component details
      effect: read
      questions:
      - How do I get detailed info about a component?
      - Can I look up several components at once?
      instructions:
      - text: Get details for these components.
      - text: Look up the component {components}.
        slots:
          components: requestBody.components
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/components/remediation/{ownerType}/{ownerId}'].post
  update:
    x-apievangelist-phrasing:
      intent: Get remediation for one component
      effect: read
      questions:
      - What remediation does IQ suggest for a single component?
      - Can I get remediation for a component based on a third-party scan?
      instructions:
      - text: Get remediation for {component} in {ownerType} {ownerId}.
        slots:
          component: requestBody.componentIdentifier
          ownerType: path.ownerType
          ownerId: path.ownerId
      - text: Suggest a fix for component {component} in {ownerType} {ownerId} from scan {scanId}.
        slots:
          component: requestBody.componentIdentifier
          ownerType: path.ownerType
          ownerId: path.ownerId
          scanId: query.scanId
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/components/versions'].post
  update:
    x-apievangelist-phrasing:
      intent: List known versions of a component
      effect: read
      questions:
      - What versions exist for a component?
      - Can I list component versions by package URL?
      instructions:
      - text: List versions of {coordinates}.
        slots:
          coordinates: requestBody.coordinates
      - text: Show all known versions of package URL {packageUrl}.
        slots:
          packageUrl: requestBody.packageUrl
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/components/{componentHash}/labels/{labelName}/{ownerType}s/{internalOwnerId}'].post
  update:
    x-apievangelist-phrasing:
      intent: Label a component
      effect: write
      questions:
      - How do I tag a component with a label?
      - Can I label a component in an application or organization?
      instructions:
      - text: Label component {componentHash} with {labelName} in {ownerType} {internalOwnerId}.
        slots:
          componentHash: path.componentHash
          labelName: path.labelName
          ownerType: path.ownerType
          internalOwnerId: path.internalOwnerId
      - text: Tag the component with SHA1 {componentHash} as {labelName}.
        slots:
          componentHash: path.componentHash
          labelName: path.labelName
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/components/{componentHash}/labels/{labelName}/{ownerType}s/{internalOwnerId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove a label from a component
      effect: destructive
      questions:
      - Can I unlabel a component?
      - What happens when I remove a label from a component?
      instructions:
      - text: Remove label {labelName} from component {componentHash} in {ownerType} {internalOwnerId}.
        slots:
          labelName: path.labelName
          componentHash: path.componentHash
          ownerType: path.ownerType
          internalOwnerId: path.internalOwnerId
      - text: Unlabel the component with SHA1 {componentHash}.
        slots:
          componentHash: path.componentHash
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/components/remediation/{ownerType}/{ownerId}/bulk'].post
  update:
    x-apievangelist-phrasing:
      intent: Get remediation for many components
      effect: read
      questions:
      - Can I get remediation suggestions for a batch of components at once?
      - What is the limit on bulk component remediation?
      instructions:
      - text: Get remediation for components {components} in {ownerType} {ownerId}.
        slots:
          components: requestBody.components
          ownerType: path.ownerType
          ownerId: path.ownerId
      - text: Bulk-suggest fixes for {components} in {ownerType} {ownerId} at stage {stageId}.
        slots:
          components: requestBody.components
          ownerType: path.ownerType
          ownerId: path.ownerId
          stageId: query.stageId
      method: generated
      generated: '2026-11-28'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/sonatype-components-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.