Sonatype · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Sonatype Component Labels API

7 actions 7 updates phrasing extends openapi/sonatype-component-labels-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/labels/{ownerType}/{ownerId}'].get
$.paths['/api/v2/labels/{ownerType}/{ownerId}'].put
$.paths['/api/v2/labels/{ownerType}/{ownerId}'].post
$.paths['/api/v2/labels/{ownerType}/{ownerId}/applicable'].get
$.paths['/api/v2/labels/{ownerType}/{ownerId}/applicable/context/{labelId}'].get
$.paths['/api/v2/labels/{ownerType}/{ownerId}/{labelId}'].delete

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 Component Labels API
  version: 1.0.0
extends: openapi/sonatype-component-labels-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/labels/{ownerType}/{ownerId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get component labels on an owner
      effect: read
      questions:
      - What component labels are assigned to an application or repository?
      - Can I include inherited component labels when listing them?
      instructions:
      - text: Get component labels for {ownerType} {ownerId}.
        slots:
          ownerType: path.ownerType
          ownerId: path.ownerId
      - text: Show {ownerType} {ownerId} component labels including inherited ones.
        slots:
          ownerType: path.ownerType
          ownerId: path.ownerId
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/labels/{ownerType}/{ownerId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a component label
      effect: write
      questions:
      - How do I change the color or description of an existing component label?
      - Can I rename a component label on an application?
      instructions:
      - text: Update component label {labelId} on {ownerType} {ownerId} to color {color}.
        slots:
          labelId: requestBody.id
          ownerType: path.ownerType
          ownerId: path.ownerId
          color: requestBody.color
      - text: Rename component label {labelId} on {ownerType} {ownerId} to {label}.
        slots:
          labelId: requestBody.id
          ownerType: path.ownerType
          ownerId: path.ownerId
          label: requestBody.label
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/labels/{ownerType}/{ownerId}'].post
  update:
    x-apievangelist-phrasing:
      intent: Create and assign a component label
      effect: write
      questions:
      - How do I add a new component label to an application?
      - Can I assign a label to a repository with a description?
      instructions:
      - text: Add component label {label} to {ownerType} {ownerId}.
        slots:
          label: requestBody.label
          ownerType: path.ownerType
          ownerId: path.ownerId
      - text: Create label {label} on {ownerType} {ownerId} described as {description}.
        slots:
          label: requestBody.label
          ownerType: path.ownerType
          ownerId: path.ownerId
          description: requestBody.description
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/labels/{ownerType}/{ownerId}/applicable'].get
  update:
    x-apievangelist-phrasing:
      intent: List labels applicable to an owner
      effect: read
      questions:
      - Which component labels can I assign to this application?
      - What labels are applicable to a repository?
      instructions:
      - text: List applicable component labels for {ownerType} {ownerId}.
        slots:
          ownerType: path.ownerType
          ownerId: path.ownerId
      - text: Show every label I could apply to {ownerType} {ownerId}.
        slots:
          ownerType: path.ownerType
          ownerId: path.ownerId
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/labels/{ownerType}/{ownerId}/applicable/context/{labelId}'].get
  update:
    x-apievangelist-phrasing:
      intent: See where a label can be applied
      effect: read
      questions:
      - In which applications, organizations and repositories can a given label be applied?
      - What hierarchy of owners accept a particular component label?
      instructions:
      - text: Show where label {labelId} on {ownerType} {ownerId} can be applied.
        slots:
          labelId: path.labelId
          ownerType: path.ownerType
          ownerId: path.ownerId
      - text: List the owner hierarchy for component label {labelId}.
        slots:
          labelId: path.labelId
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/labels/{ownerType}/{ownerId}/{labelId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a component label
      effect: destructive
      questions:
      - How do I remove a component label from an application?
      - Can I delete a label I no longer use?
      instructions:
      - text: Delete component label {labelId} from {ownerType} {ownerId}.
        slots:
          labelId: path.labelId
          ownerType: path.ownerType
          ownerId: path.ownerId
      - text: Remove label {labelId} on {ownerType} {ownerId}.
        slots:
          labelId: path.labelId
          ownerType: path.ownerType
          ownerId: path.ownerId
      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-component-labels-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.