WSO2 · Capability

WSO2 API Manager - Admin — Application Policy (Collection)

WSO2 API Manager - Admin — Application Policy (Collection). 2 operations. Lead operation: Get all Application Throttling Policies. Self-contained Naftiko capability covering one Wso2 business surface.

Run with Naftiko Wso2Application Policy (Collection)

What You Can Do

GET
Get — Get all Application Throttling Policies
/v1/throttling/policies/application
POST
Post — Add an Application Throttling Policy
/v1/throttling/policies/application

MCP Tools

get-all-application-throttling-policies

Get all Application Throttling Policies

read-only idempotent
add-application-throttling-policy

Add an Application Throttling Policy

Capability Spec

admin-application-policy-collection.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: WSO2 API Manager - Admin — Application Policy (Collection)
  description: 'WSO2 API Manager - Admin — Application Policy (Collection). 2 operations. Lead operation: Get all Application
    Throttling Policies. Self-contained Naftiko capability covering one Wso2 business surface.'
  tags:
  - Wso2
  - Application Policy (Collection)
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WSO2_API_KEY: WSO2_API_KEY
capability:
  consumes:
  - type: http
    namespace: admin-application-policy-collection
    baseUri: https://apis.wso2.com/api/am/admin/v4
    description: WSO2 API Manager - Admin — Application Policy (Collection) business capability. Self-contained, no shared
      references.
    resources:
    - name: throttling-policies-application
      path: /throttling/policies/application
      operations:
      - name: get
        method: GET
        description: Get all Application Throttling Policies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post
        method: POST
        description: Add an Application Throttling Policy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - 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-application-policy-collection-rest
    port: 8080
    description: REST adapter for WSO2 API Manager - Admin — Application Policy (Collection). One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/throttling/policies/application
      name: throttling-policies-application
      description: REST surface for throttling-policies-application.
      operations:
      - method: GET
        name: get
        description: Get all Application Throttling Policies
        call: admin-application-policy-collection.get
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Add an Application Throttling Policy
        call: admin-application-policy-collection.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: admin-application-policy-collection-mcp
    port: 9090
    transport: http
    description: MCP adapter for WSO2 API Manager - Admin — Application Policy (Collection). One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: get-all-application-throttling-policies
      description: Get all Application Throttling Policies
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: admin-application-policy-collection.get
      outputParameters:
      - type: object
        mapping: $.
    - name: add-application-throttling-policy
      description: Add an Application Throttling Policy
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: admin-application-policy-collection.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.