naftiko: 1.0.0-alpha2 info: label: Konnect API - Go SDK — Networks description: 'Konnect API - Go SDK — Networks. 6 operations. Lead operation: List Networks. Self-contained Naftiko capability covering one Kong business surface.' tags: - Kong - Networks 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-networks baseUri: https://global.api.konghq.com description: Konnect API - Go SDK — Networks business capability. Self-contained, no shared references. resources: - name: v2-cloud-gateways-networks path: /v2/cloud-gateways/networks operations: - name: listnetworks method: GET description: List Networks outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createnetwork method: POST description: Create Network outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v2-cloud-gateways-networks-networkId path: /v2/cloud-gateways/networks/{networkId} operations: - name: getnetwork method: GET description: Get Network outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatenetwork method: PATCH description: Update Network outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletenetwork method: DELETE description: Delete Network outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v2-cloud-gateways-networks-networkId-configuration-references path: /v2/cloud-gateways/networks/{networkId}/configuration-references operations: - name: listnetworkconfigurations method: GET description: List Network Configuration References outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.KONG_API_KEY}}' exposes: - type: rest namespace: konnect-platform-networks-rest port: 8080 description: REST adapter for Konnect API - Go SDK — Networks. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/cloud-gateways/networks name: v2-cloud-gateways-networks description: REST surface for v2-cloud-gateways-networks. operations: - method: GET name: listnetworks description: List Networks call: konnect-platform-networks.listnetworks outputParameters: - type: object mapping: $. - method: POST name: createnetwork description: Create Network call: konnect-platform-networks.createnetwork with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/cloud-gateways/networks/{networkid} name: v2-cloud-gateways-networks-networkid description: REST surface for v2-cloud-gateways-networks-networkId. operations: - method: GET name: getnetwork description: Get Network call: konnect-platform-networks.getnetwork outputParameters: - type: object mapping: $. - method: PATCH name: updatenetwork description: Update Network call: konnect-platform-networks.updatenetwork with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletenetwork description: Delete Network call: konnect-platform-networks.deletenetwork outputParameters: - type: object mapping: $. - path: /v1/v2/cloud-gateways/networks/{networkid}/configuration-references name: v2-cloud-gateways-networks-networkid-configuration-references description: REST surface for v2-cloud-gateways-networks-networkId-configuration-references. operations: - method: GET name: listnetworkconfigurations description: List Network Configuration References call: konnect-platform-networks.listnetworkconfigurations outputParameters: - type: object mapping: $. - type: mcp namespace: konnect-platform-networks-mcp port: 9090 transport: http description: MCP adapter for Konnect API - Go SDK — Networks. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-networks description: List Networks hints: readOnly: true destructive: false idempotent: true call: konnect-platform-networks.listnetworks outputParameters: - type: object mapping: $. - name: create-network description: Create Network hints: readOnly: false destructive: false idempotent: false call: konnect-platform-networks.createnetwork with: body: tools.body outputParameters: - type: object mapping: $. - name: get-network description: Get Network hints: readOnly: true destructive: false idempotent: true call: konnect-platform-networks.getnetwork outputParameters: - type: object mapping: $. - name: update-network description: Update Network hints: readOnly: false destructive: false idempotent: true call: konnect-platform-networks.updatenetwork with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-network description: Delete Network hints: readOnly: false destructive: true idempotent: true call: konnect-platform-networks.deletenetwork outputParameters: - type: object mapping: $. - name: list-network-configuration-references description: List Network Configuration References hints: readOnly: true destructive: false idempotent: true call: konnect-platform-networks.listnetworkconfigurations outputParameters: - type: object mapping: $.