Spot · Capability

Spot Ocean API — Ocean AKS

Spot Ocean API — Ocean AKS. 5 operations. Lead operation: Spot Create Ocean Cluster (aks). Self-contained Naftiko capability covering one Spot business surface.

Run with Naftiko SpotOcean AKS

What You Can Do

POST
Createoceanclusteraks — Spot Create Ocean Cluster (aks)
/v1/ocean/azure/k8s/cluster
GET
Listoceanclustersaks — Spot List Ocean Clusters (aks)
/v1/ocean/azure/k8s/cluster
GET
Getoceanclusteraks — Spot Get Ocean Cluster (aks)
/v1/ocean/azure/k8s/cluster/{oceanclusterid}
PUT
Updateoceanclusteraks — Spot Update Ocean Cluster (aks)
/v1/ocean/azure/k8s/cluster/{oceanclusterid}
DELETE
Deleteoceanclusteraks — Spot Delete Ocean Cluster (aks)
/v1/ocean/azure/k8s/cluster/{oceanclusterid}

MCP Tools

spot-create-ocean-cluster-aks

Spot Create Ocean Cluster (aks)

spot-list-ocean-clusters-aks

Spot List Ocean Clusters (aks)

read-only idempotent
spot-get-ocean-cluster-aks

Spot Get Ocean Cluster (aks)

read-only idempotent
spot-update-ocean-cluster-aks

Spot Update Ocean Cluster (aks)

idempotent
spot-delete-ocean-cluster-aks

Spot Delete Ocean Cluster (aks)

idempotent

Capability Spec

ocean-ocean-aks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Spot Ocean API — Ocean AKS
  description: 'Spot Ocean API — Ocean AKS. 5 operations. Lead operation: Spot Create Ocean Cluster (aks). Self-contained
    Naftiko capability covering one Spot business surface.'
  tags:
  - Spot
  - Ocean AKS
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SPOT_API_KEY: SPOT_API_KEY
capability:
  consumes:
  - type: http
    namespace: ocean-ocean-aks
    baseUri: https://api.spotinst.io
    description: Spot Ocean API — Ocean AKS business capability. Self-contained, no shared references.
    resources:
    - name: ocean-azure-k8s-cluster
      path: /ocean/azure/k8s/cluster
      operations:
      - name: createoceanclusteraks
        method: POST
        description: Spot Create Ocean Cluster (aks)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: listoceanclustersaks
        method: GET
        description: Spot List Ocean Clusters (aks)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: ocean-azure-k8s-cluster-oceanClusterId
      path: /ocean/azure/k8s/cluster/{oceanClusterId}
      operations:
      - name: getoceanclusteraks
        method: GET
        description: Spot Get Ocean Cluster (aks)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: oceanClusterId
          in: path
          type: string
          required: true
      - name: updateoceanclusteraks
        method: PUT
        description: Spot Update Ocean Cluster (aks)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: oceanClusterId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteoceanclusteraks
        method: DELETE
        description: Spot Delete Ocean Cluster (aks)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: oceanClusterId
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.SPOT_API_KEY}}'
  exposes:
  - type: rest
    namespace: ocean-ocean-aks-rest
    port: 8080
    description: REST adapter for Spot Ocean API — Ocean AKS. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/ocean/azure/k8s/cluster
      name: ocean-azure-k8s-cluster
      description: REST surface for ocean-azure-k8s-cluster.
      operations:
      - method: POST
        name: createoceanclusteraks
        description: Spot Create Ocean Cluster (aks)
        call: ocean-ocean-aks.createoceanclusteraks
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listoceanclustersaks
        description: Spot List Ocean Clusters (aks)
        call: ocean-ocean-aks.listoceanclustersaks
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/ocean/azure/k8s/cluster/{oceanclusterid}
      name: ocean-azure-k8s-cluster-oceanclusterid
      description: REST surface for ocean-azure-k8s-cluster-oceanClusterId.
      operations:
      - method: GET
        name: getoceanclusteraks
        description: Spot Get Ocean Cluster (aks)
        call: ocean-ocean-aks.getoceanclusteraks
        with:
          oceanClusterId: rest.oceanClusterId
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateoceanclusteraks
        description: Spot Update Ocean Cluster (aks)
        call: ocean-ocean-aks.updateoceanclusteraks
        with:
          oceanClusterId: rest.oceanClusterId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteoceanclusteraks
        description: Spot Delete Ocean Cluster (aks)
        call: ocean-ocean-aks.deleteoceanclusteraks
        with:
          oceanClusterId: rest.oceanClusterId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: ocean-ocean-aks-mcp
    port: 9090
    transport: http
    description: MCP adapter for Spot Ocean API — Ocean AKS. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: spot-create-ocean-cluster-aks
      description: Spot Create Ocean Cluster (aks)
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: ocean-ocean-aks.createoceanclusteraks
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: spot-list-ocean-clusters-aks
      description: Spot List Ocean Clusters (aks)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: ocean-ocean-aks.listoceanclustersaks
      outputParameters:
      - type: object
        mapping: $.
    - name: spot-get-ocean-cluster-aks
      description: Spot Get Ocean Cluster (aks)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: ocean-ocean-aks.getoceanclusteraks
      with:
        oceanClusterId: tools.oceanClusterId
      outputParameters:
      - type: object
        mapping: $.
    - name: spot-update-ocean-cluster-aks
      description: Spot Update Ocean Cluster (aks)
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: ocean-ocean-aks.updateoceanclusteraks
      with:
        oceanClusterId: tools.oceanClusterId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: spot-delete-ocean-cluster-aks
      description: Spot Delete Ocean Cluster (aks)
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: ocean-ocean-aks.deleteoceanclusteraks
      with:
        oceanClusterId: tools.oceanClusterId
      outputParameters:
      - type: object
        mapping: $.