Sonatype · Capability

Sonatype Lifecycle Public REST API — Feature Configuration

Sonatype Lifecycle Public REST API — Feature Configuration. 2 operations. Lead operation: Feature Configuration. Self-contained Naftiko capability covering one Sonatype business surface.

Run with Naftiko SonatypeFeature Configuration

What You Can Do

DELETE
Disablefeature — Use this method to disable an IQ Server feature.
/v1/api/v2/config/features/{feature}
POST
Enabledfeature — Use this method to enable an IQ Server feature.
/v1/api/v2/config/features/{feature}

MCP Tools

use-this-method-disable-iq

Use this method to disable an IQ Server feature.

idempotent
use-this-method-enable-iq

Use this method to enable an IQ Server feature.

Capability Spec

lifecycle-feature-configuration.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Sonatype Lifecycle Public REST API — Feature Configuration
  description: 'Sonatype Lifecycle Public REST API — Feature Configuration. 2 operations. Lead operation: Feature Configuration.
    Self-contained Naftiko capability covering one Sonatype business surface.'
  tags:
  - Sonatype
  - Feature Configuration
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SONATYPE_API_KEY: SONATYPE_API_KEY
capability:
  consumes:
  - type: http
    namespace: lifecycle-feature-configuration
    baseUri: ''
    description: Sonatype Lifecycle Public REST API — Feature Configuration business capability. Self-contained, no shared
      references.
    resources:
    - name: api-v2-config-features-feature
      path: /api/v2/config/features/{feature}
      operations:
      - name: disablefeature
        method: DELETE
        description: Use this method to disable an IQ Server feature.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: feature
          in: path
          type: string
          description: Enter the name of the IQ Server feature to be disabled.
          required: true
      - name: enabledfeature
        method: POST
        description: Use this method to enable an IQ Server feature.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: feature
          in: path
          type: string
          description: Enter the name of the feature to be enabled.
          required: true
    authentication:
      type: bearer
      token: '{{env.SONATYPE_API_KEY}}'
  exposes:
  - type: rest
    namespace: lifecycle-feature-configuration-rest
    port: 8080
    description: REST adapter for Sonatype Lifecycle Public REST API — Feature Configuration. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/api/v2/config/features/{feature}
      name: api-v2-config-features-feature
      description: REST surface for api-v2-config-features-feature.
      operations:
      - method: DELETE
        name: disablefeature
        description: Use this method to disable an IQ Server feature.
        call: lifecycle-feature-configuration.disablefeature
        with:
          feature: rest.feature
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: enabledfeature
        description: Use this method to enable an IQ Server feature.
        call: lifecycle-feature-configuration.enabledfeature
        with:
          feature: rest.feature
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: lifecycle-feature-configuration-mcp
    port: 9090
    transport: http
    description: MCP adapter for Sonatype Lifecycle Public REST API — Feature Configuration. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: use-this-method-disable-iq
      description: Use this method to disable an IQ Server feature.
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: lifecycle-feature-configuration.disablefeature
      with:
        feature: tools.feature
      outputParameters:
      - type: object
        mapping: $.
    - name: use-this-method-enable-iq
      description: Use this method to enable an IQ Server feature.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: lifecycle-feature-configuration.enabledfeature
      with:
        feature: tools.feature
      outputParameters:
      - type: object
        mapping: $.