IBM WebSphere · Capability

WebSphere Automation REST API — Compliance

WebSphere Automation REST API — Compliance. 2 operations. Lead operation: List Compliance Reports. Self-contained Naftiko capability covering one Websphere business surface.

Run with Naftiko WebsphereCompliance

What You Can Do

GET
Listcompliancereports — List Compliance Reports
/v1/compliance/reports
GET
Getcompliancereport — Get Compliance Report Details
/v1/compliance/reports/{reportid}

MCP Tools

list-compliance-reports

List Compliance Reports

read-only idempotent
get-compliance-report-details

Get Compliance Report Details

read-only idempotent

Capability Spec

automation-rest-compliance.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: WebSphere Automation REST API — Compliance
  description: 'WebSphere Automation REST API — Compliance. 2 operations. Lead operation: List Compliance Reports. Self-contained
    Naftiko capability covering one Websphere business surface.'
  tags:
  - Websphere
  - Compliance
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WEBSPHERE_API_KEY: WEBSPHERE_API_KEY
capability:
  consumes:
  - type: http
    namespace: automation-rest-compliance
    baseUri: https://automation-api.example.com/v1
    description: WebSphere Automation REST API — Compliance business capability. Self-contained, no shared references.
    resources:
    - name: compliance-reports
      path: /compliance/reports
      operations:
      - name: listcompliancereports
        method: GET
        description: List Compliance Reports
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: compliance-reports-reportId
      path: /compliance/reports/{reportId}
      operations:
      - name: getcompliancereport
        method: GET
        description: Get Compliance Report Details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: reportId
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.WEBSPHERE_API_KEY}}'
  exposes:
  - type: rest
    namespace: automation-rest-compliance-rest
    port: 8080
    description: REST adapter for WebSphere Automation REST API — Compliance. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/compliance/reports
      name: compliance-reports
      description: REST surface for compliance-reports.
      operations:
      - method: GET
        name: listcompliancereports
        description: List Compliance Reports
        call: automation-rest-compliance.listcompliancereports
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/compliance/reports/{reportid}
      name: compliance-reports-reportid
      description: REST surface for compliance-reports-reportId.
      operations:
      - method: GET
        name: getcompliancereport
        description: Get Compliance Report Details
        call: automation-rest-compliance.getcompliancereport
        with:
          reportId: rest.reportId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: automation-rest-compliance-mcp
    port: 9090
    transport: http
    description: MCP adapter for WebSphere Automation REST API — Compliance. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-compliance-reports
      description: List Compliance Reports
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: automation-rest-compliance.listcompliancereports
      outputParameters:
      - type: object
        mapping: $.
    - name: get-compliance-report-details
      description: Get Compliance Report Details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: automation-rest-compliance.getcompliancereport
      with:
        reportId: tools.reportId
      outputParameters:
      - type: object
        mapping: $.