Gravitee · Capability

Gravitee.io APIM Management API — UI

Gravitee.io APIM Management API — UI. 4 operations. Lead operation: Get UI Customization. Self-contained Naftiko capability covering one Gravitee business surface.

Run with Naftiko GraviteeUI

What You Can Do

GET
Getuicustomization — Get UI Customization
/v1/ui/customization
GET
Listuithemes — List UI Themes
/v1/ui/themes
POST
Createuitheme — Create a UI Theme
/v1/ui/themes
GET
Getcurrentuitheme — Get the Current UI Theme
/v1/ui/themes/current

MCP Tools

get-ui-customization

Get UI Customization

read-only idempotent
list-ui-themes

List UI Themes

read-only idempotent
create-ui-theme

Create a UI Theme

get-current-ui-theme

Get the Current UI Theme

read-only idempotent

Capability Spec

apim-ui.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Gravitee.io APIM Management API — UI
  description: 'Gravitee.io APIM Management API — UI. 4 operations. Lead operation: Get UI Customization. Self-contained Naftiko
    capability covering one Gravitee business surface.'
  tags:
  - Gravitee
  - UI
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GRAVITEE_API_KEY: GRAVITEE_API_KEY
capability:
  consumes:
  - type: http
    namespace: apim-ui
    baseUri: https://{host}/management/v2
    description: Gravitee.io APIM Management API — UI business capability. Self-contained, no shared references.
    resources:
    - name: ui-customization
      path: /ui/customization
      operations:
      - name: getuicustomization
        method: GET
        description: Get UI Customization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: ui-themes
      path: /ui/themes
      operations:
      - name: listuithemes
        method: GET
        description: List UI Themes
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createuitheme
        method: POST
        description: Create a UI Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: ui-themes-_current
      path: /ui/themes/_current
      operations:
      - name: getcurrentuitheme
        method: GET
        description: Get the Current UI Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.GRAVITEE_API_KEY}}'
  exposes:
  - type: rest
    namespace: apim-ui-rest
    port: 8080
    description: REST adapter for Gravitee.io APIM Management API — UI. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/ui/customization
      name: ui-customization
      description: REST surface for ui-customization.
      operations:
      - method: GET
        name: getuicustomization
        description: Get UI Customization
        call: apim-ui.getuicustomization
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/ui/themes
      name: ui-themes
      description: REST surface for ui-themes.
      operations:
      - method: GET
        name: listuithemes
        description: List UI Themes
        call: apim-ui.listuithemes
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createuitheme
        description: Create a UI Theme
        call: apim-ui.createuitheme
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/ui/themes/current
      name: ui-themes-current
      description: REST surface for ui-themes-_current.
      operations:
      - method: GET
        name: getcurrentuitheme
        description: Get the Current UI Theme
        call: apim-ui.getcurrentuitheme
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: apim-ui-mcp
    port: 9090
    transport: http
    description: MCP adapter for Gravitee.io APIM Management API — UI. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-ui-customization
      description: Get UI Customization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apim-ui.getuicustomization
      outputParameters:
      - type: object
        mapping: $.
    - name: list-ui-themes
      description: List UI Themes
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apim-ui.listuithemes
      outputParameters:
      - type: object
        mapping: $.
    - name: create-ui-theme
      description: Create a UI Theme
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: apim-ui.createuitheme
      outputParameters:
      - type: object
        mapping: $.
    - name: get-current-ui-theme
      description: Get the Current UI Theme
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apim-ui.getcurrentuitheme
      outputParameters:
      - type: object
        mapping: $.