Software AG · Capability

webMethods API Gateway Service Management API — Publishing

webMethods API Gateway Service Management API — Publishing. 1 operations. Lead operation: Publish API to Portal. Self-contained Naftiko capability covering one Software Ag business surface.

Run with Naftiko Software AgPublishing

What You Can Do

PUT
Publishapi — Publish API to Portal
/v1/apis/{apiid}/publish

MCP Tools

publish-api-portal

Publish API to Portal

idempotent

Capability Spec

webmethods-api-gateway-publishing.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: webMethods API Gateway Service Management API — Publishing
  description: 'webMethods API Gateway Service Management API — Publishing. 1 operations. Lead operation: Publish API to Portal.
    Self-contained Naftiko capability covering one Software Ag business surface.'
  tags:
  - Software Ag
  - Publishing
  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-publishing
    baseUri: http://localhost:5555/rest/apigateway
    description: webMethods API Gateway Service Management API — Publishing business capability. Self-contained, no shared
      references.
    resources:
    - name: apis-apiId-publish
      path: /apis/{apiId}/publish
      operations:
      - name: publishapi
        method: PUT
        description: Publish API to Portal
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: apiId
          in: path
          type: string
          description: Unique identifier of the API
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: basic
      username: '{{env.SOFTWARE_AG_USER}}'
      password: '{{env.SOFTWARE_AG_PASS}}'
  exposes:
  - type: rest
    namespace: webmethods-api-gateway-publishing-rest
    port: 8080
    description: REST adapter for webMethods API Gateway Service Management API — Publishing. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/apis/{apiid}/publish
      name: apis-apiid-publish
      description: REST surface for apis-apiId-publish.
      operations:
      - method: PUT
        name: publishapi
        description: Publish API to Portal
        call: webmethods-api-gateway-publishing.publishapi
        with:
          apiId: rest.apiId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: webmethods-api-gateway-publishing-mcp
    port: 9090
    transport: http
    description: MCP adapter for webMethods API Gateway Service Management API — Publishing. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: publish-api-portal
      description: Publish API to Portal
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: webmethods-api-gateway-publishing.publishapi
      with:
        apiId: tools.apiId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.