Kong · Capability

Konnect API - Go SDK — API Image

Konnect API - Go SDK — API Image. 4 operations. Lead operation: Create or Replace an API Image. Self-contained Naftiko capability covering one Kong business surface.

Run with Naftiko KongAPI Image

What You Can Do

PUT
Upsertapiimage — Create or Replace an API Image
/v1/v3/apis/{apiid}/images/{imagetype}
GET
Fetchapiimage — Get API Image
/v1/v3/apis/{apiid}/images/{imagetype}
DELETE
Deleteapiimage — Delete an API Image
/v1/v3/apis/{apiid}/images/{imagetype}
GET
Fetchapirawimage — Get an API Raw Image
/v1/v3/apis/{apiid}/images/{imagetype}/raw

MCP Tools

create-replace-api-image

Create or Replace an API Image

idempotent
get-api-image

Get API Image

read-only idempotent
delete-api-image

Delete an API Image

idempotent
get-api-raw-image

Get an API Raw Image

read-only idempotent

Capability Spec

konnect-platform-api-image.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Konnect API - Go SDK — API Image
  description: 'Konnect API - Go SDK — API Image. 4 operations. Lead operation: Create or Replace an API Image. Self-contained
    Naftiko capability covering one Kong business surface.'
  tags:
  - Kong
  - API Image
  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-api-image
    baseUri: https://global.api.konghq.com
    description: Konnect API - Go SDK — API Image business capability. Self-contained, no shared references.
    resources:
    - name: v3-apis-apiId-images-imageType
      path: /v3/apis/{apiId}/images/{imageType}
      operations:
      - name: upsertapiimage
        method: PUT
        description: Create or Replace an API Image
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: fetchapiimage
        method: GET
        description: Get API Image
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deleteapiimage
        method: DELETE
        description: Delete an API Image
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v3-apis-apiId-images-imageType-raw
      path: /v3/apis/{apiId}/images/{imageType}/raw
      operations:
      - name: fetchapirawimage
        method: GET
        description: Get an API Raw Image
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.KONG_API_KEY}}'
  exposes:
  - type: rest
    namespace: konnect-platform-api-image-rest
    port: 8080
    description: REST adapter for Konnect API - Go SDK — API Image. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v3/apis/{apiid}/images/{imagetype}
      name: v3-apis-apiid-images-imagetype
      description: REST surface for v3-apis-apiId-images-imageType.
      operations:
      - method: PUT
        name: upsertapiimage
        description: Create or Replace an API Image
        call: konnect-platform-api-image.upsertapiimage
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: fetchapiimage
        description: Get API Image
        call: konnect-platform-api-image.fetchapiimage
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteapiimage
        description: Delete an API Image
        call: konnect-platform-api-image.deleteapiimage
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v3/apis/{apiid}/images/{imagetype}/raw
      name: v3-apis-apiid-images-imagetype-raw
      description: REST surface for v3-apis-apiId-images-imageType-raw.
      operations:
      - method: GET
        name: fetchapirawimage
        description: Get an API Raw Image
        call: konnect-platform-api-image.fetchapirawimage
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: konnect-platform-api-image-mcp
    port: 9090
    transport: http
    description: MCP adapter for Konnect API - Go SDK — API Image. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: create-replace-api-image
      description: Create or Replace an API Image
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: konnect-platform-api-image.upsertapiimage
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-api-image
      description: Get API Image
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-api-image.fetchapiimage
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-api-image
      description: Delete an API Image
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: konnect-platform-api-image.deleteapiimage
      outputParameters:
      - type: object
        mapping: $.
    - name: get-api-raw-image
      description: Get an API Raw Image
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-api-image.fetchapirawimage
      outputParameters:
      - type: object
        mapping: $.