Sonatype · Capability

Sonatype Lifecycle Public REST API — Policy Waiver Reasons

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

Run with Naftiko SonatypePolicy Waiver Reasons

What You Can Do

GET
Getpolicywaiverreasons — Use this method to retrieve all policy waiver reasons.
/v1/api/v2/policywaiverreasons

MCP Tools

use-this-method-retrieve-all

Use this method to retrieve all policy waiver reasons.

read-only idempotent

Capability Spec

lifecycle-policy-waiver-reasons.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Sonatype Lifecycle Public REST API — Policy Waiver Reasons
  description: 'Sonatype Lifecycle Public REST API — Policy Waiver Reasons. 1 operations. Lead operation: Policy Waiver Reasons.
    Self-contained Naftiko capability covering one Sonatype business surface.'
  tags:
  - Sonatype
  - Policy Waiver Reasons
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SONATYPE_API_KEY: SONATYPE_API_KEY
capability:
  consumes:
  - type: http
    namespace: lifecycle-policy-waiver-reasons
    baseUri: ''
    description: Sonatype Lifecycle Public REST API — Policy Waiver Reasons business capability. Self-contained, no shared
      references.
    resources:
    - name: api-v2-policyWaiverReasons
      path: /api/v2/policyWaiverReasons
      operations:
      - name: getpolicywaiverreasons
        method: GET
        description: Use this method to retrieve all policy waiver reasons.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.SONATYPE_API_KEY}}'
  exposes:
  - type: rest
    namespace: lifecycle-policy-waiver-reasons-rest
    port: 8080
    description: REST adapter for Sonatype Lifecycle Public REST API — Policy Waiver Reasons. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/api/v2/policywaiverreasons
      name: api-v2-policywaiverreasons
      description: REST surface for api-v2-policyWaiverReasons.
      operations:
      - method: GET
        name: getpolicywaiverreasons
        description: Use this method to retrieve all policy waiver reasons.
        call: lifecycle-policy-waiver-reasons.getpolicywaiverreasons
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: lifecycle-policy-waiver-reasons-mcp
    port: 9090
    transport: http
    description: MCP adapter for Sonatype Lifecycle Public REST API — Policy Waiver Reasons. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: use-this-method-retrieve-all
      description: Use this method to retrieve all policy waiver reasons.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: lifecycle-policy-waiver-reasons.getpolicywaiverreasons
      outputParameters:
      - type: object
        mapping: $.