QuantCDN · Capability

QuantCDN API — Commands

QuantCDN API — Commands. 3 operations. Lead operation: Get all commands for an environment. Self-contained Naftiko capability covering one Quantcdn business surface.

Run with Naftiko QuantcdnCommands

What You Can Do

GET
Listcommands — Get all commands for an environment
/v1/api/v3/organizations/{organisation}/environments/{environment}/commands
POST
Createcommand — Create a command for an environment
/v1/api/v3/organizations/{organisation}/environments/{environment}/commands
GET
Getcommand — Get a command
/v1/api/v3/organizations/{organisation}/environments/{environment}/commands/{command}

MCP Tools

get-all-commands-environment

Get all commands for an environment

read-only idempotent
create-command-environment

Create a command for an environment

get-command

Get a command

read-only idempotent

Capability Spec

quantcdn-commands.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: QuantCDN API — Commands
  description: 'QuantCDN API — Commands. 3 operations. Lead operation: Get all commands for an environment. Self-contained
    Naftiko capability covering one Quantcdn business surface.'
  tags:
  - Quantcdn
  - Commands
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    QUANTCDN_API_KEY: QUANTCDN_API_KEY
capability:
  consumes:
  - type: http
    namespace: quantcdn-commands
    baseUri: https://dashboard.quantcdn.io
    description: QuantCDN API — Commands business capability. Self-contained, no shared references.
    resources:
    - name: api-v3-organizations-organisation-environments-environment-commands
      path: /api/v3/organizations/{organisation}/environments/{environment}/commands
      operations:
      - name: listcommands
        method: GET
        description: Get all commands for an environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organisation
          in: path
          type: string
          description: The organisation ID
          required: true
        - name: environment
          in: path
          type: string
          description: The environment ID
          required: true
      - name: createcommand
        method: POST
        description: Create a command for an environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organisation
          in: path
          type: string
          description: The organisation ID
          required: true
        - name: environment
          in: path
          type: string
          description: The environment ID
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v3-organizations-organisation-environments-environment-commands-command
      path: /api/v3/organizations/{organisation}/environments/{environment}/commands/{command}
      operations:
      - name: getcommand
        method: GET
        description: Get a command
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organisation
          in: path
          type: string
          description: The organisation ID
          required: true
        - name: environment
          in: path
          type: string
          description: The environment ID
          required: true
        - name: command
          in: path
          type: string
          description: The command ID
          required: true
    authentication:
      type: bearer
      token: '{{env.QUANTCDN_API_KEY}}'
  exposes:
  - type: rest
    namespace: quantcdn-commands-rest
    port: 8080
    description: REST adapter for QuantCDN API — Commands. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/v3/organizations/{organisation}/environments/{environment}/commands
      name: api-v3-organizations-organisation-environments-environment-commands
      description: REST surface for api-v3-organizations-organisation-environments-environment-commands.
      operations:
      - method: GET
        name: listcommands
        description: Get all commands for an environment
        call: quantcdn-commands.listcommands
        with:
          organisation: rest.organisation
          environment: rest.environment
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createcommand
        description: Create a command for an environment
        call: quantcdn-commands.createcommand
        with:
          organisation: rest.organisation
          environment: rest.environment
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v3/organizations/{organisation}/environments/{environment}/commands/{command}
      name: api-v3-organizations-organisation-environments-environment-commands-command
      description: REST surface for api-v3-organizations-organisation-environments-environment-commands-command.
      operations:
      - method: GET
        name: getcommand
        description: Get a command
        call: quantcdn-commands.getcommand
        with:
          organisation: rest.organisation
          environment: rest.environment
          command: rest.command
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: quantcdn-commands-mcp
    port: 9090
    transport: http
    description: MCP adapter for QuantCDN API — Commands. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-all-commands-environment
      description: Get all commands for an environment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: quantcdn-commands.listcommands
      with:
        organisation: tools.organisation
        environment: tools.environment
      outputParameters:
      - type: object
        mapping: $.
    - name: create-command-environment
      description: Create a command for an environment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: quantcdn-commands.createcommand
      with:
        organisation: tools.organisation
        environment: tools.environment
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-command
      description: Get a command
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: quantcdn-commands.getcommand
      with:
        organisation: tools.organisation
        environment: tools.environment
        command: tools.command
      outputParameters:
      - type: object
        mapping: $.