Software AG · Capability

webMethods API Gateway Service Management API — Policies

webMethods API Gateway Service Management API — Policies. 1 operations. Lead operation: Get Global Policies. Self-contained Naftiko capability covering one Software Ag business surface.

Run with Naftiko Software AgPolicies

What You Can Do

GET
Getassociatedglobalpolicies — Get Global Policies
/v1/apis/{apiid}/globalpolicies

MCP Tools

get-global-policies

Get Global Policies

read-only idempotent

Capability Spec

webmethods-api-gateway-policies.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: webMethods API Gateway Service Management API — Policies
  description: 'webMethods API Gateway Service Management API — Policies. 1 operations. Lead operation: Get Global Policies.
    Self-contained Naftiko capability covering one Software Ag business surface.'
  tags:
  - Software Ag
  - Policies
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SOFTWARE_AG_API_KEY: SOFTWARE_AG_API_KEY
capability:
  consumes:
  - type: http
    namespace: webmethods-api-gateway-policies
    baseUri: http://localhost:5555/rest/apigateway
    description: webMethods API Gateway Service Management API — Policies business capability. Self-contained, no shared references.
    resources:
    - name: apis-apiId-globalPolicies
      path: /apis/{apiId}/globalPolicies
      operations:
      - name: getassociatedglobalpolicies
        method: GET
        description: Get Global Policies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: apiId
          in: path
          type: string
          description: Unique identifier of the API
          required: true
    authentication:
      type: basic
      username: '{{env.SOFTWARE_AG_USER}}'
      password: '{{env.SOFTWARE_AG_PASS}}'
  exposes:
  - type: rest
    namespace: webmethods-api-gateway-policies-rest
    port: 8080
    description: REST adapter for webMethods API Gateway Service Management API — Policies. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/apis/{apiid}/globalpolicies
      name: apis-apiid-globalpolicies
      description: REST surface for apis-apiId-globalPolicies.
      operations:
      - method: GET
        name: getassociatedglobalpolicies
        description: Get Global Policies
        call: webmethods-api-gateway-policies.getassociatedglobalpolicies
        with:
          apiId: rest.apiId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: webmethods-api-gateway-policies-mcp
    port: 9090
    transport: http
    description: MCP adapter for webMethods API Gateway Service Management API — Policies. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: get-global-policies
      description: Get Global Policies
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: webmethods-api-gateway-policies.getassociatedglobalpolicies
      with:
        apiId: tools.apiId
      outputParameters:
      - type: object
        mapping: $.