naftiko: 1.0.0-alpha2 info: label: Konnect API - Go SDK — Upstreams description: 'Konnect API - Go SDK — Upstreams. 5 operations. Lead operation: List all Upstreams. Self-contained Naftiko capability covering one Kong business surface.' tags: - Kong - Upstreams 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-upstreams baseUri: https://global.api.konghq.com description: Konnect API - Go SDK — Upstreams business capability. Self-contained, no shared references. resources: - name: v2-control-planes-controlPlaneId-core-entities-upstreams path: /v2/control-planes/{controlPlaneId}/core-entities/upstreams operations: - name: listupstream method: GET description: List all Upstreams outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createupstream method: POST description: Create a new Upstream outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v2-control-planes-controlPlaneId-core-entities-upstreams-UpstreamId path: /v2/control-planes/{controlPlaneId}/core-entities/upstreams/{UpstreamId} operations: - name: deleteupstream method: DELETE description: Delete an Upstream outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getupstream method: GET description: Get an Upstream outputRawFormat: json outputParameters: - name: result type: object value: $. - name: upsertupstream method: PUT description: Upsert a Upstream 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.KONG_API_KEY}}' exposes: - type: rest namespace: konnect-platform-upstreams-rest port: 8080 description: REST adapter for Konnect API - Go SDK — Upstreams. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/control-planes/{controlplaneid}/core-entities/upstreams name: v2-control-planes-controlplaneid-core-entities-upstreams description: REST surface for v2-control-planes-controlPlaneId-core-entities-upstreams. operations: - method: GET name: listupstream description: List all Upstreams call: konnect-platform-upstreams.listupstream outputParameters: - type: object mapping: $. - method: POST name: createupstream description: Create a new Upstream call: konnect-platform-upstreams.createupstream with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/control-planes/{controlplaneid}/core-entities/upstreams/{upstreamid} name: v2-control-planes-controlplaneid-core-entities-upstreams-upstreamid description: REST surface for v2-control-planes-controlPlaneId-core-entities-upstreams-UpstreamId. operations: - method: DELETE name: deleteupstream description: Delete an Upstream call: konnect-platform-upstreams.deleteupstream outputParameters: - type: object mapping: $. - method: GET name: getupstream description: Get an Upstream call: konnect-platform-upstreams.getupstream outputParameters: - type: object mapping: $. - method: PUT name: upsertupstream description: Upsert a Upstream call: konnect-platform-upstreams.upsertupstream with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: konnect-platform-upstreams-mcp port: 9090 transport: http description: MCP adapter for Konnect API - Go SDK — Upstreams. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-upstreams description: List all Upstreams hints: readOnly: true destructive: false idempotent: true call: konnect-platform-upstreams.listupstream outputParameters: - type: object mapping: $. - name: create-new-upstream description: Create a new Upstream hints: readOnly: false destructive: false idempotent: false call: konnect-platform-upstreams.createupstream with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-upstream description: Delete an Upstream hints: readOnly: false destructive: true idempotent: true call: konnect-platform-upstreams.deleteupstream outputParameters: - type: object mapping: $. - name: get-upstream description: Get an Upstream hints: readOnly: true destructive: false idempotent: true call: konnect-platform-upstreams.getupstream outputParameters: - type: object mapping: $. - name: upsert-upstream description: Upsert a Upstream hints: readOnly: false destructive: false idempotent: true call: konnect-platform-upstreams.upsertupstream with: body: tools.body outputParameters: - type: object mapping: $.