Sonatype · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Sonatype Source Control API

16 actions 16 updates phrasing extends openapi/sonatype-source-control-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 16

$.info
$.paths['/api/v2/sourceControl/automaticRoleAssignment/userMappings/{organizationId}'].post
$.paths['/api/v2/sourceControl/automaticRoleAssignment/userMappings/{organizationId}'].delete
$.paths['/api/v2/sourceControl/automaticRoleAssignment/userMappings/{ownerType}/{internalOwnerId}'].get
$.paths['/api/v2/sourceControl/automaticRoleAssignment/{publicId}'].post
$.paths['/api/v2/sourceControl/{ownerType}/{internalOwnerId}'].get
$.paths['/api/v2/sourceControl/{ownerType}/{internalOwnerId}'].put
$.paths['/api/v2/sourceControl/{ownerType}/{internalOwnerId}'].post
$.paths['/api/v2/sourceControl/{ownerType}/{internalOwnerId}'].delete
$.paths['/api/v2/sourceControl/relay/deregister'].post
$.paths['/api/v2/sourceControl/githubAppWebhookUrl'].get
$.paths['/api/v2/sourceControl/relayWebhookSecret'].get
$.paths['/api/v2/sourceControl/relayWebhookUrl'].get
$.paths['/api/v2/sourceControl/relay/register'].post
$.paths['/api/v2/sourceControl/relay/rotate-key'].post
$.paths['/api/v2/sourceControl/relay/rotate-webhook-secret'].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 Source Control API
  version: 1.0.0
extends: openapi/sonatype-source-control-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: 15
- target: $.paths['/api/v2/sourceControl/automaticRoleAssignment/userMappings/{organizationId}'].post
  update:
    x-apievangelist-phrasing:
      intent: Apply GitHub user mappings to Lifecycle
      effect: write
      questions:
      - How do I map GitHub users to IQ roles automatically?
      - Will new user mappings replace existing ones in child apps?
      instructions:
      - text: Apply user mappings {mappings} to organization {organizationId}.
        slots:
          mappings: requestBody.mappings
          organizationId: path.organizationId
      - text: Map GitHub users to role {role} for organization {organizationId}.
        slots:
          role: requestBody.role
          organizationId: path.organizationId
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/sourceControl/automaticRoleAssignment/userMappings/{organizationId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete user mappings for an organization
      effect: destructive
      questions:
      - Can I remove the GitHub user mappings from an organization?
      - What happens to child apps when I delete user mappings?
      instructions:
      - text: Delete user mappings for organization {organizationId}.
        slots:
          organizationId: path.organizationId
      - text: Remove the GitHub user mappings from {organizationId}.
        slots:
          organizationId: path.organizationId
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/sourceControl/automaticRoleAssignment/userMappings/{ownerType}/{internalOwnerId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get user mappings for an owner
      effect: read
      questions:
      - Which GitHub users are mapped to IQ roles for an application?
      - Can I see the user mappings for an organization owner?
      instructions:
      - text: Get user mappings for {ownerType} {internalOwnerId}.
        slots:
          ownerType: path.ownerType
          internalOwnerId: path.internalOwnerId
      - text: Show the GitHub user mappings on {ownerType} {internalOwnerId}.
        slots:
          ownerType: path.ownerType
          internalOwnerId: path.internalOwnerId
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/sourceControl/automaticRoleAssignment/{publicId}'].post
  update:
    x-apievangelist-phrasing:
      intent: Auto-grant a role to a repository's contributors
      effect: write
      questions:
      - Can IQ automatically give a role to everyone who contributes to a repository?
      - What prerequisites are needed for automatic role assignment?
      instructions:
      - text: Auto-grant role {role} to contributors of application {publicId}.
        slots:
          role: requestBody.role
          publicId: path.publicId
      - text: Apply user mappings {mappings} to {publicId} so contributors get {role}.
        slots:
          mappings: requestBody.mappings
          publicId: path.publicId
          role: requestBody.role
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/sourceControl/{ownerType}/{internalOwnerId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an owner's source control settings
      effect: read
      questions:
      - What source control settings are configured for an organization or application?
      - Can I view the SCM settings for an application owner?
      instructions:
      - text: Get source control settings for {ownerType} {internalOwnerId}.
        slots:
          ownerType: path.ownerType
          internalOwnerId: path.internalOwnerId
      - text: Show the SCM configuration of {ownerType} {internalOwnerId}.
        slots:
          ownerType: path.ownerType
          internalOwnerId: path.internalOwnerId
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/sourceControl/{ownerType}/{internalOwnerId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update an owner's source control settings
      effect: write
      questions:
      - How do I change the base branch or close pull requests after a number of days?
      - Can I enable status checks on an application's source control?
      instructions:
      - text: Set the base branch of {ownerType} {internalOwnerId} to {baseBranch}.
        slots:
          ownerType: path.ownerType
          internalOwnerId: path.internalOwnerId
          baseBranch: requestBody.baseBranch
      - text: Close pull requests on {ownerType} {internalOwnerId} after {closePrAfterDays} days.
        slots:
          ownerType: path.ownerType
          internalOwnerId: path.internalOwnerId
          closePrAfterDays: requestBody.closePrAfterDays
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/sourceControl/{ownerType}/{internalOwnerId}'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a source control configuration
      effect: write
      questions:
      - How do I connect IQ to a GitHub repository for an organization?
      - What authentication types can I use when adding source control?
      instructions:
      - text: Add source control {provider} for {ownerType} {internalOwnerId} with token {token}.
        slots:
          provider: requestBody.provider
          ownerType: path.ownerType
          internalOwnerId: path.internalOwnerId
          token: requestBody.token
      - text: Create an SCM configuration for {ownerType} {internalOwnerId} using {authenticationType}.
        slots:
          ownerType: path.ownerType
          internalOwnerId: path.internalOwnerId
          authenticationType: requestBody.authenticationType
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/sourceControl/{ownerType}/{internalOwnerId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an owner's source control settings
      effect: destructive
      questions:
      - Can I disconnect IQ from a repository by deleting its source control settings?
      - What removes the SCM configuration from an application owner?
      instructions:
      - text: Delete source control settings for {ownerType} {internalOwnerId}.
        slots:
          ownerType: path.ownerType
          internalOwnerId: path.internalOwnerId
      - text: Remove the SCM configuration from {ownerType} {internalOwnerId}.
        slots:
          ownerType: path.ownerType
          internalOwnerId: path.internalOwnerId
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/sourceControl/relay/deregister'].post
  update:
    x-apievangelist-phrasing:
      intent: Deregister the IQ Server from the SCM relay
      effect: destructive
      questions:
      - How do I deregister my IQ Server from the SCM webhook relay?
      - What must I do before switching from PAT to GitHub App auth?
      instructions:
      - text: Deregister this IQ Server from the SCM relay.
      - text: Drop the local relay configuration and ask the relay to delete the customer record.
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/sourceControl/githubAppWebhookUrl'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the App-level webhook URL for GitHub App
      effect: read
      questions:
      - Where do I paste the App-level webhook URL in my GitHub App?
      - Is the GitHub App webhook URL the same for every customer?
      instructions:
      - text: Get the GitHub App webhook URL.
      - text: Show the App-level webhook URL for the GitHub App.
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/sourceControl/relayWebhookSecret'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the PAT webhook signing secret
      effect: read
      questions:
      - Where do I find the per-customer HMAC signing secret for PAT-mode relay?
      - Can I read the relay webhook secret when using a GitHub App?
      instructions:
      - text: Get the relay webhook secret for this customer.
      - text: Show the PAT webhook signing secret for the SCM provider.
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/sourceControl/relayWebhookUrl'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the IQ Server's SCM webhook URL
      effect: read
      questions:
      - Which webhook URL is my IQ Server registered against?
      - Can I see the SCM webhook URL when the relay is enabled?
      instructions:
      - text: Get the relay webhook URL.
      - text: Show the SCM webhook URL the IQ Server is registered against.
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/sourceControl/relay/register'].post
  update:
    x-apievangelist-phrasing:
      intent: Register the IQ Server with the SCM relay
      effect: write
      questions:
      - How do I register my IQ Server with the SCM webhook relay?
      - Can I register the relay using a GitHub App installation ID?
      instructions:
      - text: Register this IQ Server with the SCM relay.
      - text: Register the relay with installation {installationId} and webhook secret {webhookSecret}.
        slots:
          installationId: requestBody.installationId
          webhookSecret: requestBody.webhookSecret
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/sourceControl/relay/rotate-key'].post
  update:
    x-apievangelist-phrasing:
      intent: Rotate the IQ→relay API key
      effect: write
      questions:
      - How do I rotate the IQ Server's API key for the SCM relay?
      - How long is the old relay API key valid after rotation?
      instructions:
      - text: Rotate the IQ→relay API key.
      - text: Generate a fresh relay API key and return the new plaintext.
      method: generated
      generated: '2026-11-28'
- target: $.paths['/api/v2/sourceControl/relay/rotate-webhook-secret'].post
  update:
    x-apievangelist-phrasing:
      intent: Rotate the PAT webhook signing secret
      effect: write
      questions:
      - How do I rotate the per-customer PAT webhook signing secret?
      - Does the relay accept old and new signatures during rotation?
      instructions:
      - text: Rotate the PAT webhook signing secret.
      - text: Rotate the per-customer webhook secret and return the new plaintext.
      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-source-control-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.