Kong · Capability

Konnect API - Go SDK — Event Gateways

Konnect API - Go SDK — Event Gateways. 6 operations. Lead operation: List all Event Gateways. Self-contained Naftiko capability covering one Kong business surface.

Run with Naftiko KongEvent Gateways

What You Can Do

GET
Listeventgateways — List all Event Gateways
/v1/v1/event-gateways
POST
Createeventgateway — Create Event Gateway
/v1/v1/event-gateways
GET
Geteventgateway — Get an Event Gateway
/v1/v1/event-gateways/{gatewayid}
PUT
Updateeventgateway — Update Event Gateway
/v1/v1/event-gateways/{gatewayid}
PATCH
Patcheventgateway — Partially Update Event Gateway
/v1/v1/event-gateways/{gatewayid}
DELETE
Deleteeventgateway — Delete Event Gateway
/v1/v1/event-gateways/{gatewayid}

MCP Tools

list-all-event-gateways

List all Event Gateways

read-only idempotent
create-event-gateway

Create Event Gateway

get-event-gateway

Get an Event Gateway

read-only idempotent
update-event-gateway

Update Event Gateway

idempotent
partially-update-event-gateway

Partially Update Event Gateway

idempotent
delete-event-gateway

Delete Event Gateway

idempotent

Capability Spec

konnect-platform-event-gateways.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Konnect API - Go SDK — Event Gateways
  description: 'Konnect API - Go SDK — Event Gateways. 6 operations. Lead operation: List all Event Gateways. Self-contained
    Naftiko capability covering one Kong business surface.'
  tags:
  - Kong
  - Event Gateways
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    KONG_API_KEY: KONG_API_KEY
capability:
  consumes:
  - type: http
    namespace: konnect-platform-event-gateways
    baseUri: https://global.api.konghq.com
    description: Konnect API - Go SDK — Event Gateways business capability. Self-contained, no shared references.
    resources:
    - name: v1-event-gateways
      path: /v1/event-gateways
      operations:
      - name: listeventgateways
        method: GET
        description: List all Event Gateways
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createeventgateway
        method: POST
        description: Create Event Gateway
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-event-gateways-gatewayId
      path: /v1/event-gateways/{gatewayId}
      operations:
      - name: geteventgateway
        method: GET
        description: Get an Event Gateway
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateeventgateway
        method: PUT
        description: Update Event Gateway
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: patcheventgateway
        method: PATCH
        description: Partially Update Event Gateway
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteeventgateway
        method: DELETE
        description: Delete Event Gateway
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.KONG_API_KEY}}'
  exposes:
  - type: rest
    namespace: konnect-platform-event-gateways-rest
    port: 8080
    description: REST adapter for Konnect API - Go SDK — Event Gateways. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/event-gateways
      name: v1-event-gateways
      description: REST surface for v1-event-gateways.
      operations:
      - method: GET
        name: listeventgateways
        description: List all Event Gateways
        call: konnect-platform-event-gateways.listeventgateways
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createeventgateway
        description: Create Event Gateway
        call: konnect-platform-event-gateways.createeventgateway
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/event-gateways/{gatewayid}
      name: v1-event-gateways-gatewayid
      description: REST surface for v1-event-gateways-gatewayId.
      operations:
      - method: GET
        name: geteventgateway
        description: Get an Event Gateway
        call: konnect-platform-event-gateways.geteventgateway
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateeventgateway
        description: Update Event Gateway
        call: konnect-platform-event-gateways.updateeventgateway
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patcheventgateway
        description: Partially Update Event Gateway
        call: konnect-platform-event-gateways.patcheventgateway
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteeventgateway
        description: Delete Event Gateway
        call: konnect-platform-event-gateways.deleteeventgateway
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: konnect-platform-event-gateways-mcp
    port: 9090
    transport: http
    description: MCP adapter for Konnect API - Go SDK — Event Gateways. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-all-event-gateways
      description: List all Event Gateways
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-event-gateways.listeventgateways
      outputParameters:
      - type: object
        mapping: $.
    - name: create-event-gateway
      description: Create Event Gateway
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: konnect-platform-event-gateways.createeventgateway
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-event-gateway
      description: Get an Event Gateway
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-event-gateways.geteventgateway
      outputParameters:
      - type: object
        mapping: $.
    - name: update-event-gateway
      description: Update Event Gateway
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: konnect-platform-event-gateways.updateeventgateway
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: partially-update-event-gateway
      description: Partially Update Event Gateway
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: konnect-platform-event-gateways.patcheventgateway
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-event-gateway
      description: Delete Event Gateway
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: konnect-platform-event-gateways.deleteeventgateway
      outputParameters:
      - type: object
        mapping: $.