Spot · Capability

Spot Ocean API — Ocean ECS

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

Run with Naftiko FlexeraOcean ECS

What You Can Do

POST
Createoceanclusterecs — Spot Create Ocean Cluster (ecs)
/v1/ocean/aws/ecs/cluster
GET
Listoceanclustersecs — Spot List Ocean Clusters (ecs)
/v1/ocean/aws/ecs/cluster
GET
Getoceanclusterecs — Spot Get Ocean Cluster (ecs)
/v1/ocean/aws/ecs/cluster/{oceanclusterid}
PUT
Updateoceanclusterecs — Spot Update Ocean Cluster (ecs)
/v1/ocean/aws/ecs/cluster/{oceanclusterid}
DELETE
Deleteoceanclusterecs — Spot Delete Ocean Cluster (ecs)
/v1/ocean/aws/ecs/cluster/{oceanclusterid}

MCP Tools

spot-create-ocean-cluster-ecs

Spot Create Ocean Cluster (ecs)

spot-list-ocean-clusters-ecs

Spot List Ocean Clusters (ecs)

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

Spot Get Ocean Cluster (ecs)

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

Spot Update Ocean Cluster (ecs)

idempotent
spot-delete-ocean-cluster-ecs

Spot Delete Ocean Cluster (ecs)

idempotent

Capability Spec

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