WSO2 · Capability

WSO2 API Manager - Admin — Import Export

WSO2 API Manager - Admin — Import Export. 2 operations. Lead operation: Export a Throttling Policy. Self-contained Naftiko capability covering one Wso2 business surface.

Run with Naftiko Wso2Import Export

What You Can Do

GET
Exportthrottlingpolicy — Export a Throttling Policy
/v1/throttling/policies/export
POST
Importthrottlingpolicy — Import a Throttling Policy
/v1/throttling/policies/import

MCP Tools

export-throttling-policy

Export a Throttling Policy

read-only idempotent
import-throttling-policy

Import a Throttling Policy

Capability Spec

admin-import-export.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: WSO2 API Manager - Admin — Import Export
  description: 'WSO2 API Manager - Admin — Import Export. 2 operations. Lead operation: Export a Throttling Policy. Self-contained
    Naftiko capability covering one Wso2 business surface.'
  tags:
  - Wso2
  - Import Export
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WSO2_API_KEY: WSO2_API_KEY
capability:
  consumes:
  - type: http
    namespace: admin-import-export
    baseUri: https://apis.wso2.com/api/am/admin/v4
    description: WSO2 API Manager - Admin — Import Export business capability. Self-contained, no shared references.
    resources:
    - name: throttling-policies-export
      path: /throttling/policies/export
      operations:
      - name: exportthrottlingpolicy
        method: GET
        description: Export a Throttling Policy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: policyId
          in: query
          type: string
          description: UUID of the ThrottlingPolicy
        - name: name
          in: query
          type: string
          description: Throttling Policy Name
        - name: type
          in: query
          type: string
          description: Type of the Throttling Policy
    - name: throttling-policies-import
      path: /throttling/policies/import
      operations:
      - name: importthrottlingpolicy
        method: POST
        description: Import a Throttling Policy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: overwrite
          in: query
          type: boolean
          description: Update an existing throttlingpolicy with the same name
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.WSO2_API_KEY}}'
  exposes:
  - type: rest
    namespace: admin-import-export-rest
    port: 8080
    description: REST adapter for WSO2 API Manager - Admin — Import Export. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/throttling/policies/export
      name: throttling-policies-export
      description: REST surface for throttling-policies-export.
      operations:
      - method: GET
        name: exportthrottlingpolicy
        description: Export a Throttling Policy
        call: admin-import-export.exportthrottlingpolicy
        with:
          policyId: rest.policyId
          name: rest.name
          type: rest.type
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/throttling/policies/import
      name: throttling-policies-import
      description: REST surface for throttling-policies-import.
      operations:
      - method: POST
        name: importthrottlingpolicy
        description: Import a Throttling Policy
        call: admin-import-export.importthrottlingpolicy
        with:
          overwrite: rest.overwrite
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: admin-import-export-mcp
    port: 9090
    transport: http
    description: MCP adapter for WSO2 API Manager - Admin — Import Export. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: export-throttling-policy
      description: Export a Throttling Policy
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: admin-import-export.exportthrottlingpolicy
      with:
        policyId: tools.policyId
        name: tools.name
        type: tools.type
      outputParameters:
      - type: object
        mapping: $.
    - name: import-throttling-policy
      description: Import a Throttling Policy
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: admin-import-export.importthrottlingpolicy
      with:
        overwrite: tools.overwrite
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.