Apache Kylin · Capability

Apache Kylin REST API — Projects

Apache Kylin REST API — Projects. 2 operations. Lead operation: Apache kylin Apache Kylin List Projects. Self-contained Naftiko capability covering one Apache Kylin business surface.

Run with Naftiko Apache KylinProjects

What You Can Do

GET
Listprojects — Apache kylin Apache Kylin List Projects
/v1/projects
POST
Createproject — Apache kylin Apache Kylin Create Project
/v1/projects

MCP Tools

apache-kylin-apache-kylin-list

Apache kylin Apache Kylin List Projects

read-only idempotent
apache-kylin-apache-kylin-create

Apache kylin Apache Kylin Create Project

Capability Spec

rest-projects.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apache Kylin REST API — Projects
  description: 'Apache Kylin REST API — Projects. 2 operations. Lead operation: Apache kylin Apache Kylin List Projects. Self-contained
    Naftiko capability covering one Apache Kylin business surface.'
  tags:
  - Apache Kylin
  - Projects
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APACHE_KYLIN_API_KEY: APACHE_KYLIN_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-projects
    baseUri: http://localhost:7070/kylin/api
    description: Apache Kylin REST API — Projects business capability. Self-contained, no shared references.
    resources:
    - name: projects
      path: /projects
      operations:
      - name: listprojects
        method: GET
        description: Apache kylin Apache Kylin List Projects
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createproject
        method: POST
        description: Apache kylin Apache Kylin Create Project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: basic
      username: '{{env.APACHE_KYLIN_USER}}'
      password: '{{env.APACHE_KYLIN_PASS}}'
  exposes:
  - type: rest
    namespace: rest-projects-rest
    port: 8080
    description: REST adapter for Apache Kylin REST API — Projects. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/projects
      name: projects
      description: REST surface for projects.
      operations:
      - method: GET
        name: listprojects
        description: Apache kylin Apache Kylin List Projects
        call: rest-projects.listprojects
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createproject
        description: Apache kylin Apache Kylin Create Project
        call: rest-projects.createproject
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-projects-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apache Kylin REST API — Projects. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: apache-kylin-apache-kylin-list
      description: Apache kylin Apache Kylin List Projects
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-projects.listprojects
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-kylin-apache-kylin-create
      description: Apache kylin Apache Kylin Create Project
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: rest-projects.createproject
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.