naftiko: 1.0.0-alpha2 info: label: Konnect API - Go SDK — SNIs description: 'Konnect API - Go SDK — SNIs. 10 operations. Lead operation: List all SNIs associated with a Certificate. Self-contained Naftiko capability covering one Kong business surface.' tags: - Kong - SNIs 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-snis baseUri: https://global.api.konghq.com description: Konnect API - Go SDK — SNIs business capability. Self-contained, no shared references. resources: - name: v2-control-planes-controlPlaneId-core-entities-certificates-CertificateId-snis path: /v2/control-planes/{controlPlaneId}/core-entities/certificates/{CertificateId}/snis operations: - name: listsniwithcertificate method: GET description: List all SNIs associated with a Certificate outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createsniwithcertificate method: POST description: Create a new SNI associated with a Certificate 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-certificates-CertificateId-snis-S path: /v2/control-planes/{controlPlaneId}/core-entities/certificates/{CertificateId}/snis/{SNIId} operations: - name: deletesniwithcertificate method: DELETE description: Delete a an SNI associated with a Certificate outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getsniwithcertificate method: GET description: Get an SNI associated with a Certificate outputRawFormat: json outputParameters: - name: result type: object value: $. - name: upsertsniwithcertificate method: PUT description: Upsert an SNI associated with a Certificate 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-snis path: /v2/control-planes/{controlPlaneId}/core-entities/snis operations: - name: listsni method: GET description: List all SNIs outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createsni method: POST description: Create a new SNI 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-snis-SNIId path: /v2/control-planes/{controlPlaneId}/core-entities/snis/{SNIId} operations: - name: deletesni method: DELETE description: Delete an SNI outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getsni method: GET description: Get an SNI outputRawFormat: json outputParameters: - name: result type: object value: $. - name: upsertsni method: PUT description: Upsert a SNI 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-snis-rest port: 8080 description: REST adapter for Konnect API - Go SDK — SNIs. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/control-planes/{controlplaneid}/core-entities/certificates/{certificateid}/snis name: v2-control-planes-controlplaneid-core-entities-certificates-certificateid-snis description: REST surface for v2-control-planes-controlPlaneId-core-entities-certificates-CertificateId-snis. operations: - method: GET name: listsniwithcertificate description: List all SNIs associated with a Certificate call: konnect-platform-snis.listsniwithcertificate outputParameters: - type: object mapping: $. - method: POST name: createsniwithcertificate description: Create a new SNI associated with a Certificate call: konnect-platform-snis.createsniwithcertificate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/control-planes/{controlplaneid}/core-entities/certificates/{certificateid}/snis/{sniid} name: v2-control-planes-controlplaneid-core-entities-certificates-certificateid-snis-s description: REST surface for v2-control-planes-controlPlaneId-core-entities-certificates-CertificateId-snis-S. operations: - method: DELETE name: deletesniwithcertificate description: Delete a an SNI associated with a Certificate call: konnect-platform-snis.deletesniwithcertificate outputParameters: - type: object mapping: $. - method: GET name: getsniwithcertificate description: Get an SNI associated with a Certificate call: konnect-platform-snis.getsniwithcertificate outputParameters: - type: object mapping: $. - method: PUT name: upsertsniwithcertificate description: Upsert an SNI associated with a Certificate call: konnect-platform-snis.upsertsniwithcertificate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/control-planes/{controlplaneid}/core-entities/snis name: v2-control-planes-controlplaneid-core-entities-snis description: REST surface for v2-control-planes-controlPlaneId-core-entities-snis. operations: - method: GET name: listsni description: List all SNIs call: konnect-platform-snis.listsni outputParameters: - type: object mapping: $. - method: POST name: createsni description: Create a new SNI call: konnect-platform-snis.createsni with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/control-planes/{controlplaneid}/core-entities/snis/{sniid} name: v2-control-planes-controlplaneid-core-entities-snis-sniid description: REST surface for v2-control-planes-controlPlaneId-core-entities-snis-SNIId. operations: - method: DELETE name: deletesni description: Delete an SNI call: konnect-platform-snis.deletesni outputParameters: - type: object mapping: $. - method: GET name: getsni description: Get an SNI call: konnect-platform-snis.getsni outputParameters: - type: object mapping: $. - method: PUT name: upsertsni description: Upsert a SNI call: konnect-platform-snis.upsertsni with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: konnect-platform-snis-mcp port: 9090 transport: http description: MCP adapter for Konnect API - Go SDK — SNIs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-snis-associated-certificate description: List all SNIs associated with a Certificate hints: readOnly: true destructive: false idempotent: true call: konnect-platform-snis.listsniwithcertificate outputParameters: - type: object mapping: $. - name: create-new-sni-associated-certificate description: Create a new SNI associated with a Certificate hints: readOnly: false destructive: false idempotent: false call: konnect-platform-snis.createsniwithcertificate with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-sni-associated-certificate description: Delete a an SNI associated with a Certificate hints: readOnly: false destructive: true idempotent: true call: konnect-platform-snis.deletesniwithcertificate outputParameters: - type: object mapping: $. - name: get-sni-associated-certificate description: Get an SNI associated with a Certificate hints: readOnly: true destructive: false idempotent: true call: konnect-platform-snis.getsniwithcertificate outputParameters: - type: object mapping: $. - name: upsert-sni-associated-certificate description: Upsert an SNI associated with a Certificate hints: readOnly: false destructive: false idempotent: true call: konnect-platform-snis.upsertsniwithcertificate with: body: tools.body outputParameters: - type: object mapping: $. - name: list-all-snis description: List all SNIs hints: readOnly: true destructive: false idempotent: true call: konnect-platform-snis.listsni outputParameters: - type: object mapping: $. - name: create-new-sni description: Create a new SNI hints: readOnly: false destructive: false idempotent: false call: konnect-platform-snis.createsni with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-sni description: Delete an SNI hints: readOnly: false destructive: true idempotent: true call: konnect-platform-snis.deletesni outputParameters: - type: object mapping: $. - name: get-sni description: Get an SNI hints: readOnly: true destructive: false idempotent: true call: konnect-platform-snis.getsni outputParameters: - type: object mapping: $. - name: upsert-sni description: Upsert a SNI hints: readOnly: false destructive: false idempotent: true call: konnect-platform-snis.upsertsni with: body: tools.body outputParameters: - type: object mapping: $.