Apache HBase · Capability

Apache HBase REST API — Scans

Apache HBase REST API — Scans. 3 operations. Lead operation: Apache HBase Create Scanner. Self-contained Naftiko capability covering one Apache Hbase business surface.

Run with Naftiko Apache HbaseScans

What You Can Do

PUT
Createscanner — Apache HBase Create Scanner
/v1/{tablename}/scanner
GET
Getnextscannerbatch — Apache HBase Get Next Scanner Batch
/v1/{tablename}/scanner/{scannerid}
DELETE
Deletescanner — Apache HBase Delete Scanner
/v1/{tablename}/scanner/{scannerid}

MCP Tools

apache-hbase-create-scanner

Apache HBase Create Scanner

idempotent
apache-hbase-get-next-scanner

Apache HBase Get Next Scanner Batch

read-only idempotent
apache-hbase-delete-scanner

Apache HBase Delete Scanner

idempotent

Capability Spec

rest-scans.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apache HBase REST API — Scans
  description: 'Apache HBase REST API — Scans. 3 operations. Lead operation: Apache HBase Create Scanner. Self-contained Naftiko
    capability covering one Apache Hbase business surface.'
  tags:
  - Apache Hbase
  - Scans
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APACHE_HBASE_API_KEY: APACHE_HBASE_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-scans
    baseUri: http://localhost:8080
    description: Apache HBase REST API — Scans business capability. Self-contained, no shared references.
    resources:
    - name: tableName-scanner
      path: /{tableName}/scanner
      operations:
      - name: createscanner
        method: PUT
        description: Apache HBase Create Scanner
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tableName
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: tableName-scanner-scannerId
      path: /{tableName}/scanner/{scannerId}
      operations:
      - name: getnextscannerbatch
        method: GET
        description: Apache HBase Get Next Scanner Batch
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tableName
          in: path
          type: string
          required: true
        - name: scannerId
          in: path
          type: string
          required: true
      - name: deletescanner
        method: DELETE
        description: Apache HBase Delete Scanner
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tableName
          in: path
          type: string
          required: true
        - name: scannerId
          in: path
          type: string
          required: true
  exposes:
  - type: rest
    namespace: rest-scans-rest
    port: 8080
    description: REST adapter for Apache HBase REST API — Scans. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/{tablename}/scanner
      name: tablename-scanner
      description: REST surface for tableName-scanner.
      operations:
      - method: PUT
        name: createscanner
        description: Apache HBase Create Scanner
        call: rest-scans.createscanner
        with:
          tableName: rest.tableName
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/{tablename}/scanner/{scannerid}
      name: tablename-scanner-scannerid
      description: REST surface for tableName-scanner-scannerId.
      operations:
      - method: GET
        name: getnextscannerbatch
        description: Apache HBase Get Next Scanner Batch
        call: rest-scans.getnextscannerbatch
        with:
          tableName: rest.tableName
          scannerId: rest.scannerId
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletescanner
        description: Apache HBase Delete Scanner
        call: rest-scans.deletescanner
        with:
          tableName: rest.tableName
          scannerId: rest.scannerId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-scans-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apache HBase REST API — Scans. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: apache-hbase-create-scanner
      description: Apache HBase Create Scanner
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: rest-scans.createscanner
      with:
        tableName: tools.tableName
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-hbase-get-next-scanner
      description: Apache HBase Get Next Scanner Batch
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-scans.getnextscannerbatch
      with:
        tableName: tools.tableName
        scannerId: tools.scannerId
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-hbase-delete-scanner
      description: Apache HBase Delete Scanner
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: rest-scans.deletescanner
      with:
        tableName: tools.tableName
        scannerId: tools.scannerId
      outputParameters:
      - type: object
        mapping: $.