naftiko: 1.0.0-alpha2 info: label: Konnect API - Go SDK — Snippets description: 'Konnect API - Go SDK — Snippets. 5 operations. Lead operation: List Snippets. Self-contained Naftiko capability covering one Kong business surface.' tags: - Kong - Snippets 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-snippets baseUri: https://global.api.konghq.com description: Konnect API - Go SDK — Snippets business capability. Self-contained, no shared references. resources: - name: v3-portals-portalId-snippets path: /v3/portals/{portalId}/snippets operations: - name: listportalsnippets method: GET description: List Snippets outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: filter in: query type: string description: Filter snippets returned in the response. - name: createportalsnippet method: POST description: Create Snippet outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: v3-portals-portalId-snippets-snippetId path: /v3/portals/{portalId}/snippets/{snippetId} operations: - name: getportalsnippet method: GET description: Get a Snippet outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateportalsnippet method: PATCH description: Update Snippet outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: deleteportalsnippet method: DELETE description: Delete Snippet outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.KONG_API_KEY}}' exposes: - type: rest namespace: konnect-platform-snippets-rest port: 8080 description: REST adapter for Konnect API - Go SDK — Snippets. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v3/portals/{portalid}/snippets name: v3-portals-portalid-snippets description: REST surface for v3-portals-portalId-snippets. operations: - method: GET name: listportalsnippets description: List Snippets call: konnect-platform-snippets.listportalsnippets with: filter: rest.filter outputParameters: - type: object mapping: $. - method: POST name: createportalsnippet description: Create Snippet call: konnect-platform-snippets.createportalsnippet with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v3/portals/{portalid}/snippets/{snippetid} name: v3-portals-portalid-snippets-snippetid description: REST surface for v3-portals-portalId-snippets-snippetId. operations: - method: GET name: getportalsnippet description: Get a Snippet call: konnect-platform-snippets.getportalsnippet outputParameters: - type: object mapping: $. - method: PATCH name: updateportalsnippet description: Update Snippet call: konnect-platform-snippets.updateportalsnippet with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteportalsnippet description: Delete Snippet call: konnect-platform-snippets.deleteportalsnippet outputParameters: - type: object mapping: $. - type: mcp namespace: konnect-platform-snippets-mcp port: 9090 transport: http description: MCP adapter for Konnect API - Go SDK — Snippets. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-snippets description: List Snippets hints: readOnly: true destructive: false idempotent: true call: konnect-platform-snippets.listportalsnippets with: filter: tools.filter outputParameters: - type: object mapping: $. - name: create-snippet description: Create Snippet hints: readOnly: false destructive: false idempotent: false call: konnect-platform-snippets.createportalsnippet with: body: tools.body outputParameters: - type: object mapping: $. - name: get-snippet description: Get a Snippet hints: readOnly: true destructive: false idempotent: true call: konnect-platform-snippets.getportalsnippet outputParameters: - type: object mapping: $. - name: update-snippet description: Update Snippet hints: readOnly: false destructive: false idempotent: true call: konnect-platform-snippets.updateportalsnippet with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-snippet description: Delete Snippet hints: readOnly: false destructive: true idempotent: true call: konnect-platform-snippets.deleteportalsnippet outputParameters: - type: object mapping: $.