Sonatype · Capability

Sonatype Lifecycle Public REST API — Solutions

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

Run with Naftiko SonatypeSolutions

What You Can Do

GET
Getlicensedsolutions — Retrieves a list of licensed solutions. The base URL must be set to get results unless relative URLs are allowed.
/v1/api/v2/solutions/licensed

MCP Tools

retrieves-list-licensed-solutions-base

Retrieves a list of licensed solutions. The base URL must be set to get results unless relative URLs are allowed.

read-only idempotent

Capability Spec

lifecycle-solutions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Sonatype Lifecycle Public REST API — Solutions
  description: 'Sonatype Lifecycle Public REST API — Solutions. 1 operations. Lead operation: Solutions. Self-contained Naftiko
    capability covering one Sonatype business surface.'
  tags:
  - Sonatype
  - Solutions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SONATYPE_API_KEY: SONATYPE_API_KEY
capability:
  consumes:
  - type: http
    namespace: lifecycle-solutions
    baseUri: ''
    description: Sonatype Lifecycle Public REST API — Solutions business capability. Self-contained, no shared references.
    resources:
    - name: api-v2-solutions-licensed
      path: /api/v2/solutions/licensed
      operations:
      - name: getlicensedsolutions
        method: GET
        description: Retrieves a list of licensed solutions. The base URL must be set to get results unless relative URLs
          are allowed.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: allowRelativeUrls
          in: query
          type: boolean
          description: Whether or not relative URLs should be allowed.
    authentication:
      type: bearer
      token: '{{env.SONATYPE_API_KEY}}'
  exposes:
  - type: rest
    namespace: lifecycle-solutions-rest
    port: 8080
    description: REST adapter for Sonatype Lifecycle Public REST API — Solutions. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/api/v2/solutions/licensed
      name: api-v2-solutions-licensed
      description: REST surface for api-v2-solutions-licensed.
      operations:
      - method: GET
        name: getlicensedsolutions
        description: Retrieves a list of licensed solutions. The base URL must be set to get results unless relative URLs
          are allowed.
        call: lifecycle-solutions.getlicensedsolutions
        with:
          allowRelativeUrls: rest.allowRelativeUrls
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: lifecycle-solutions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Sonatype Lifecycle Public REST API — Solutions. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: retrieves-list-licensed-solutions-base
      description: Retrieves a list of licensed solutions. The base URL must be set to get results unless relative URLs are
        allowed.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: lifecycle-solutions.getlicensedsolutions
      with:
        allowRelativeUrls: tools.allowRelativeUrls
      outputParameters:
      - type: object
        mapping: $.