naftiko: 1.0.0-alpha2 info: label: Konnect API - Go SDK — Services description: 'Konnect API - Go SDK — Services. 5 operations. Lead operation: List all Services. Self-contained Naftiko capability covering one Kong business surface.' tags: - Kong - Services 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-services baseUri: https://global.api.konghq.com description: Konnect API - Go SDK — Services business capability. Self-contained, no shared references. resources: - name: v2-control-planes-controlPlaneId-core-entities-services path: /v2/control-planes/{controlPlaneId}/core-entities/services operations: - name: listservice method: GET description: List all Services outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createservice method: POST description: Create a new Service 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-services-ServiceId path: /v2/control-planes/{controlPlaneId}/core-entities/services/{ServiceId} operations: - name: deleteservice method: DELETE description: Delete a Service outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getservice method: GET description: Get a Service outputRawFormat: json outputParameters: - name: result type: object value: $. - name: upsertservice method: PUT description: Upsert a Service 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-services-rest port: 8080 description: REST adapter for Konnect API - Go SDK — Services. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/control-planes/{controlplaneid}/core-entities/services name: v2-control-planes-controlplaneid-core-entities-services description: REST surface for v2-control-planes-controlPlaneId-core-entities-services. operations: - method: GET name: listservice description: List all Services call: konnect-platform-services.listservice outputParameters: - type: object mapping: $. - method: POST name: createservice description: Create a new Service call: konnect-platform-services.createservice with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/control-planes/{controlplaneid}/core-entities/services/{serviceid} name: v2-control-planes-controlplaneid-core-entities-services-serviceid description: REST surface for v2-control-planes-controlPlaneId-core-entities-services-ServiceId. operations: - method: DELETE name: deleteservice description: Delete a Service call: konnect-platform-services.deleteservice outputParameters: - type: object mapping: $. - method: GET name: getservice description: Get a Service call: konnect-platform-services.getservice outputParameters: - type: object mapping: $. - method: PUT name: upsertservice description: Upsert a Service call: konnect-platform-services.upsertservice with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: konnect-platform-services-mcp port: 9090 transport: http description: MCP adapter for Konnect API - Go SDK — Services. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-services description: List all Services hints: readOnly: true destructive: false idempotent: true call: konnect-platform-services.listservice outputParameters: - type: object mapping: $. - name: create-new-service description: Create a new Service hints: readOnly: false destructive: false idempotent: false call: konnect-platform-services.createservice with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-service description: Delete a Service hints: readOnly: false destructive: true idempotent: true call: konnect-platform-services.deleteservice outputParameters: - type: object mapping: $. - name: get-service description: Get a Service hints: readOnly: true destructive: false idempotent: true call: konnect-platform-services.getservice outputParameters: - type: object mapping: $. - name: upsert-service description: Upsert a Service hints: readOnly: false destructive: false idempotent: true call: konnect-platform-services.upsertservice with: body: tools.body outputParameters: - type: object mapping: $.