Kong · Capability

Konnect API - Go SDK — API Package Image

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

Run with Naftiko KongAPI Package Image

What You Can Do

PUT
Upsertapipackageimage — Create or Replace an API Package Image
/v1/v3/api-packages/{packageid}/images/{imagetype}
GET
Fetchapipackageimage — Get API Package Image
/v1/v3/api-packages/{packageid}/images/{imagetype}
DELETE
Deleteapipackageimage — Delete an API Package Image
/v1/v3/api-packages/{packageid}/images/{imagetype}
GET
Fetchapipackagerawimage — Get an API Package Raw Image
/v1/v3/api-packages/{packageid}/images/{imagetype}/raw

MCP Tools

create-replace-api-package-image

Create or Replace an API Package Image

idempotent
get-api-package-image

Get API Package Image

read-only idempotent
delete-api-package-image

Delete an API Package Image

idempotent
get-api-package-raw-image

Get an API Package Raw Image

read-only idempotent

Capability Spec

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