QuantCDN · Capability

QuantCDN API — ScalingPolicy

QuantCDN API — ScalingPolicy. 3 operations. Lead operation: Get the scaling policies for an environment. Self-contained Naftiko capability covering one Quantcdn business surface.

Run with Naftiko QuantcdnScalingPolicy

What You Can Do

GET
Getscalingpolicies — Get the scaling policies for an environment
/v1/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/scaling-policies
PUT
Updatescalingpolicy — Update the scaling policy for an environment
/v1/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/scaling-policies
DELETE
Deletescalingpolicy — Delete the scaling policy for an environment
/v1/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/scaling-policies/{policyname}

MCP Tools

get-scaling-policies-environment

Get the scaling policies for an environment

read-only idempotent
update-scaling-policy-environment

Update the scaling policy for an environment

idempotent
delete-scaling-policy-environment

Delete the scaling policy for an environment

idempotent

Capability Spec

quantcdn-scalingpolicy.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: QuantCDN API — ScalingPolicy
  description: 'QuantCDN API — ScalingPolicy. 3 operations. Lead operation: Get the scaling policies for an environment. Self-contained
    Naftiko capability covering one Quantcdn business surface.'
  tags:
  - Quantcdn
  - ScalingPolicy
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    QUANTCDN_API_KEY: QUANTCDN_API_KEY
capability:
  consumes:
  - type: http
    namespace: quantcdn-scalingpolicy
    baseUri: https://dashboard.quantcdn.io
    description: QuantCDN API — ScalingPolicy business capability. Self-contained, no shared references.
    resources:
    - name: api-v3-organizations-organisation-applications-application-environments-environm
      path: /api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/scaling-policies
      operations:
      - name: getscalingpolicies
        method: GET
        description: Get the scaling policies 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: application
          in: path
          type: string
          description: The application ID
          required: true
        - name: environment
          in: path
          type: string
          description: The environment ID
          required: true
      - name: updatescalingpolicy
        method: PUT
        description: Update the scaling policy 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: application
          in: path
          type: string
          description: The application 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-applications-application-environments-environm
      path: /api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/scaling-policies/{policyName}
      operations:
      - name: deletescalingpolicy
        method: DELETE
        description: Delete the scaling policy 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: application
          in: path
          type: string
          description: The application ID
          required: true
        - name: environment
          in: path
          type: string
          description: The environment ID
          required: true
        - name: policyName
          in: path
          type: string
          description: The policy name
          required: true
    authentication:
      type: bearer
      token: '{{env.QUANTCDN_API_KEY}}'
  exposes:
  - type: rest
    namespace: quantcdn-scalingpolicy-rest
    port: 8080
    description: REST adapter for QuantCDN API — ScalingPolicy. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/scaling-policies
      name: api-v3-organizations-organisation-applications-application-environments-environm
      description: REST surface for api-v3-organizations-organisation-applications-application-environments-environm.
      operations:
      - method: GET
        name: getscalingpolicies
        description: Get the scaling policies for an environment
        call: quantcdn-scalingpolicy.getscalingpolicies
        with:
          organisation: rest.organisation
          application: rest.application
          environment: rest.environment
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatescalingpolicy
        description: Update the scaling policy for an environment
        call: quantcdn-scalingpolicy.updatescalingpolicy
        with:
          organisation: rest.organisation
          application: rest.application
          environment: rest.environment
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/scaling-policies/{policyname}
      name: api-v3-organizations-organisation-applications-application-environments-environm
      description: REST surface for api-v3-organizations-organisation-applications-application-environments-environm.
      operations:
      - method: DELETE
        name: deletescalingpolicy
        description: Delete the scaling policy for an environment
        call: quantcdn-scalingpolicy.deletescalingpolicy
        with:
          organisation: rest.organisation
          application: rest.application
          environment: rest.environment
          policyName: rest.policyName
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: quantcdn-scalingpolicy-mcp
    port: 9090
    transport: http
    description: MCP adapter for QuantCDN API — ScalingPolicy. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-scaling-policies-environment
      description: Get the scaling policies for an environment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: quantcdn-scalingpolicy.getscalingpolicies
      with:
        organisation: tools.organisation
        application: tools.application
        environment: tools.environment
      outputParameters:
      - type: object
        mapping: $.
    - name: update-scaling-policy-environment
      description: Update the scaling policy for an environment
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: quantcdn-scalingpolicy.updatescalingpolicy
      with:
        organisation: tools.organisation
        application: tools.application
        environment: tools.environment
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-scaling-policy-environment
      description: Delete the scaling policy for an environment
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: quantcdn-scalingpolicy.deletescalingpolicy
      with:
        organisation: tools.organisation
        application: tools.application
        environment: tools.environment
        policyName: tools.policyName
      outputParameters:
      - type: object
        mapping: $.