naftiko: 1.0.0-alpha2 info: label: Konnect API - Go SDK — Consumer Groups description: 'Konnect API - Go SDK — Consumer Groups. 9 operations. Lead operation: List all Consumer Groups. Self-contained Naftiko capability covering one Kong business surface.' tags: - Kong - Consumer Groups 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-consumer-groups baseUri: https://global.api.konghq.com description: Konnect API - Go SDK — Consumer Groups business capability. Self-contained, no shared references. resources: - name: v2-control-planes-controlPlaneId-core-entities-consumer_groups path: /v2/control-planes/{controlPlaneId}/core-entities/consumer_groups operations: - name: listconsumergroup method: GET description: List all Consumer Groups outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createconsumergroup method: POST description: Create a new Consumer Group 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-consumer_groups-ConsumerGroupId path: /v2/control-planes/{controlPlaneId}/core-entities/consumer_groups/{ConsumerGroupId} operations: - name: deleteconsumergroup method: DELETE description: Delete a Consumer Group outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getconsumergroup method: GET description: Get a Consumer Group outputRawFormat: json outputParameters: - name: result type: object value: $. - name: upsertconsumergroup method: PUT description: Upsert a Consumer Group 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-consumer_groups-ConsumerGroupId-c path: /v2/control-planes/{controlPlaneId}/core-entities/consumer_groups/{ConsumerGroupId}/consumers operations: - name: removeallconsumersfromconsumergroup method: DELETE description: Remove consumers from consumer group outputRawFormat: json outputParameters: - name: result type: object value: $. - name: listconsumersforconsumergroup method: GET description: List all Consumers in a Consumer Group outputRawFormat: json outputParameters: - name: result type: object value: $. - name: addconsumertogroup method: POST description: Add consumer to consumer group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: v2-control-planes-controlPlaneId-core-entities-consumer_groups-ConsumerGroupId-c path: /v2/control-planes/{controlPlaneId}/core-entities/consumer_groups/{ConsumerGroupId}/consumers/{ConsumerId} operations: - name: removeconsumerfromgroup method: DELETE description: Remove consumer from consumer group outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.KONG_API_KEY}}' exposes: - type: rest namespace: konnect-platform-consumer-groups-rest port: 8080 description: REST adapter for Konnect API - Go SDK — Consumer Groups. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/control-planes/{controlplaneid}/core-entities/consumer-groups name: v2-control-planes-controlplaneid-core-entities-consumer-groups description: REST surface for v2-control-planes-controlPlaneId-core-entities-consumer_groups. operations: - method: GET name: listconsumergroup description: List all Consumer Groups call: konnect-platform-consumer-groups.listconsumergroup outputParameters: - type: object mapping: $. - method: POST name: createconsumergroup description: Create a new Consumer Group call: konnect-platform-consumer-groups.createconsumergroup with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/control-planes/{controlplaneid}/core-entities/consumer-groups/{consumergroupid} name: v2-control-planes-controlplaneid-core-entities-consumer-groups-consumergroupid description: REST surface for v2-control-planes-controlPlaneId-core-entities-consumer_groups-ConsumerGroupId. operations: - method: DELETE name: deleteconsumergroup description: Delete a Consumer Group call: konnect-platform-consumer-groups.deleteconsumergroup outputParameters: - type: object mapping: $. - method: GET name: getconsumergroup description: Get a Consumer Group call: konnect-platform-consumer-groups.getconsumergroup outputParameters: - type: object mapping: $. - method: PUT name: upsertconsumergroup description: Upsert a Consumer Group call: konnect-platform-consumer-groups.upsertconsumergroup with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/control-planes/{controlplaneid}/core-entities/consumer-groups/{consumergroupid}/consumers name: v2-control-planes-controlplaneid-core-entities-consumer-groups-consumergroupid-c description: REST surface for v2-control-planes-controlPlaneId-core-entities-consumer_groups-ConsumerGroupId-c. operations: - method: DELETE name: removeallconsumersfromconsumergroup description: Remove consumers from consumer group call: konnect-platform-consumer-groups.removeallconsumersfromconsumergroup outputParameters: - type: object mapping: $. - method: GET name: listconsumersforconsumergroup description: List all Consumers in a Consumer Group call: konnect-platform-consumer-groups.listconsumersforconsumergroup outputParameters: - type: object mapping: $. - method: POST name: addconsumertogroup description: Add consumer to consumer group call: konnect-platform-consumer-groups.addconsumertogroup with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/control-planes/{controlplaneid}/core-entities/consumer-groups/{consumergroupid}/consumers/{consumerid} name: v2-control-planes-controlplaneid-core-entities-consumer-groups-consumergroupid-c description: REST surface for v2-control-planes-controlPlaneId-core-entities-consumer_groups-ConsumerGroupId-c. operations: - method: DELETE name: removeconsumerfromgroup description: Remove consumer from consumer group call: konnect-platform-consumer-groups.removeconsumerfromgroup outputParameters: - type: object mapping: $. - type: mcp namespace: konnect-platform-consumer-groups-mcp port: 9090 transport: http description: MCP adapter for Konnect API - Go SDK — Consumer Groups. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-consumer-groups description: List all Consumer Groups hints: readOnly: true destructive: false idempotent: true call: konnect-platform-consumer-groups.listconsumergroup outputParameters: - type: object mapping: $. - name: create-new-consumer-group description: Create a new Consumer Group hints: readOnly: false destructive: false idempotent: false call: konnect-platform-consumer-groups.createconsumergroup with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-consumer-group description: Delete a Consumer Group hints: readOnly: false destructive: true idempotent: true call: konnect-platform-consumer-groups.deleteconsumergroup outputParameters: - type: object mapping: $. - name: get-consumer-group description: Get a Consumer Group hints: readOnly: true destructive: false idempotent: true call: konnect-platform-consumer-groups.getconsumergroup outputParameters: - type: object mapping: $. - name: upsert-consumer-group description: Upsert a Consumer Group hints: readOnly: false destructive: false idempotent: true call: konnect-platform-consumer-groups.upsertconsumergroup with: body: tools.body outputParameters: - type: object mapping: $. - name: remove-consumers-consumer-group description: Remove consumers from consumer group hints: readOnly: false destructive: true idempotent: true call: konnect-platform-consumer-groups.removeallconsumersfromconsumergroup outputParameters: - type: object mapping: $. - name: list-all-consumers-consumer-group description: List all Consumers in a Consumer Group hints: readOnly: true destructive: false idempotent: true call: konnect-platform-consumer-groups.listconsumersforconsumergroup outputParameters: - type: object mapping: $. - name: add-consumer-consumer-group description: Add consumer to consumer group hints: readOnly: false destructive: false idempotent: false call: konnect-platform-consumer-groups.addconsumertogroup with: body: tools.body outputParameters: - type: object mapping: $. - name: remove-consumer-consumer-group description: Remove consumer from consumer group hints: readOnly: false destructive: true idempotent: true call: konnect-platform-consumer-groups.removeconsumerfromgroup outputParameters: - type: object mapping: $.