LeanIX · Capability

Integration API — examples

Integration API — examples. 2 operations. Lead operation: examples. Self-contained Naftiko capability covering one Leanix business surface.

Run with Naftiko Leanixexamples

What You Can Do

GET
Get — Returns an advanced example including an Input object and processor configuration
/v1/examples/advancedexample
GET
Get — Returns a starter example including an Input object and processor configuration
/v1/examples/starterexample

MCP Tools

returns-advanced-example-including-input

Returns an advanced example including an Input object and processor configuration

read-only idempotent
returns-starter-example-including-input

Returns a starter example including an Input object and processor configuration

read-only idempotent

Capability Spec

leanix-examples.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Integration API — examples
  description: 'Integration API — examples. 2 operations. Lead operation: examples. Self-contained Naftiko capability covering
    one Leanix business surface.'
  tags:
  - Leanix
  - examples
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LEANIX_API_KEY: LEANIX_API_KEY
capability:
  consumes:
  - type: http
    namespace: leanix-examples
    baseUri: ''
    description: Integration API — examples business capability. Self-contained, no shared references.
    resources:
    - name: examples-advancedExample
      path: /examples/advancedExample
      operations:
      - name: get
        method: GET
        description: Returns an advanced example including an Input object and processor configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: examples-starterExample
      path: /examples/starterExample
      operations:
      - name: get
        method: GET
        description: Returns a starter example including an Input object and processor configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: leanix-examples-rest
    port: 8080
    description: REST adapter for Integration API — examples. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/examples/advancedexample
      name: examples-advancedexample
      description: REST surface for examples-advancedExample.
      operations:
      - method: GET
        name: get
        description: Returns an advanced example including an Input object and processor configuration
        call: leanix-examples.get
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/examples/starterexample
      name: examples-starterexample
      description: REST surface for examples-starterExample.
      operations:
      - method: GET
        name: get
        description: Returns a starter example including an Input object and processor configuration
        call: leanix-examples.get
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: leanix-examples-mcp
    port: 9090
    transport: http
    description: MCP adapter for Integration API — examples. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: returns-advanced-example-including-input
      description: Returns an advanced example including an Input object and processor configuration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: leanix-examples.get
      outputParameters:
      - type: object
        mapping: $.
    - name: returns-starter-example-including-input
      description: Returns a starter example including an Input object and processor configuration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: leanix-examples.get
      outputParameters:
      - type: object
        mapping: $.