Spot by NetApp · Capability

Spot by NetApp API — Notification Subscription Service

Spot by NetApp API — Notification Subscription Service. 1 operations. Lead operation: List Events. Self-contained Naftiko capability covering one Spot By Netapp business surface.

Run with Naftiko Spot By NetappNotification Subscription Service

What You Can Do

GET
Listevents — List Events
/v1/events

MCP Tools

list-events

List Events

read-only idempotent

Capability Spec

spot-by-netapp-notification-subscription-service.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Spot by NetApp API — Notification Subscription Service
  description: 'Spot by NetApp API — Notification Subscription Service. 1 operations. Lead operation: List Events. Self-contained
    Naftiko capability covering one Spot By Netapp business surface.'
  tags:
  - Spot By Netapp
  - Notification Subscription Service
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SPOT_BY_NETAPP_API_KEY: SPOT_BY_NETAPP_API_KEY
capability:
  consumes:
  - type: http
    namespace: spot-by-netapp-notification-subscription-service
    baseUri: https://api.spotinst.io
    description: Spot by NetApp API — Notification Subscription Service business capability. Self-contained, no shared references.
    resources:
    - name: events
      path: /events
      operations:
      - name: listevents
        method: GET
        description: List Events
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accountId
          in: query
          type: string
        - name: resourceId
          in: query
          type: string
        - name: fromDate
          in: query
          type: string
    authentication:
      type: bearer
      token: '{{env.SPOT_BY_NETAPP_API_KEY}}'
  exposes:
  - type: rest
    namespace: spot-by-netapp-notification-subscription-service-rest
    port: 8080
    description: REST adapter for Spot by NetApp API — Notification Subscription Service. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/events
      name: events
      description: REST surface for events.
      operations:
      - method: GET
        name: listevents
        description: List Events
        call: spot-by-netapp-notification-subscription-service.listevents
        with:
          accountId: rest.accountId
          resourceId: rest.resourceId
          fromDate: rest.fromDate
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: spot-by-netapp-notification-subscription-service-mcp
    port: 9090
    transport: http
    description: MCP adapter for Spot by NetApp API — Notification Subscription Service. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: list-events
      description: List Events
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: spot-by-netapp-notification-subscription-service.listevents
      with:
        accountId: tools.accountId
        resourceId: tools.resourceId
        fromDate: tools.fromDate
      outputParameters:
      - type: object
        mapping: $.