Apache Atlas · Capability

Apache Atlas REST API — Discovery

Apache Atlas REST API — Discovery. 2 operations. Lead operation: Apache Atlas Basic Search. Self-contained Naftiko capability covering one Apache Atlas business surface.

Run with Naftiko Apache AtlasDiscovery

What You Can Do

GET
Basicsearch — Apache Atlas Basic Search
/v1/v2/search/basic
GET
Fulltextsearch — Apache Atlas Full-Text Search
/v1/v2/search/fulltext

MCP Tools

apache-atlas-basic-search

Apache Atlas Basic Search

read-only idempotent
apache-atlas-full-text-search

Apache Atlas Full-Text Search

read-only idempotent

Capability Spec

rest-discovery.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apache Atlas REST API — Discovery
  description: 'Apache Atlas REST API — Discovery. 2 operations. Lead operation: Apache Atlas Basic Search. Self-contained
    Naftiko capability covering one Apache Atlas business surface.'
  tags:
  - Apache Atlas
  - Discovery
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APACHE_ATLAS_API_KEY: APACHE_ATLAS_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-discovery
    baseUri: http://localhost:21000/api/atlas
    description: Apache Atlas REST API — Discovery business capability. Self-contained, no shared references.
    resources:
    - name: v2-search-basic
      path: /v2/search/basic
      operations:
      - name: basicsearch
        method: GET
        description: Apache Atlas Basic Search
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: typeName
          in: query
          type: string
          description: Filter results by entity type name.
        - name: classification
          in: query
          type: string
          description: Filter by classification/tag applied to the entity.
        - name: query
          in: query
          type: string
          description: Attribute-based query string.
        - name: limit
          in: query
          type: integer
          description: Maximum number of results to return.
        - name: offset
          in: query
          type: integer
          description: Number of results to skip for pagination.
    - name: v2-search-fulltext
      path: /v2/search/fulltext
      operations:
      - name: fulltextsearch
        method: GET
        description: Apache Atlas Full-Text Search
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: query
          in: query
          type: string
          description: Full-text search query string.
          required: true
        - name: typeName
          in: query
          type: string
          description: Filter by entity type.
        - name: limit
          in: query
          type: integer
          description: Maximum number of results.
        - name: offset
          in: query
          type: integer
          description: Offset for pagination.
    authentication:
      type: basic
      username: '{{env.APACHE_ATLAS_USER}}'
      password: '{{env.APACHE_ATLAS_PASS}}'
  exposes:
  - type: rest
    namespace: rest-discovery-rest
    port: 8080
    description: REST adapter for Apache Atlas REST API — Discovery. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v2/search/basic
      name: v2-search-basic
      description: REST surface for v2-search-basic.
      operations:
      - method: GET
        name: basicsearch
        description: Apache Atlas Basic Search
        call: rest-discovery.basicsearch
        with:
          typeName: rest.typeName
          classification: rest.classification
          query: rest.query
          limit: rest.limit
          offset: rest.offset
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/search/fulltext
      name: v2-search-fulltext
      description: REST surface for v2-search-fulltext.
      operations:
      - method: GET
        name: fulltextsearch
        description: Apache Atlas Full-Text Search
        call: rest-discovery.fulltextsearch
        with:
          query: rest.query
          typeName: rest.typeName
          limit: rest.limit
          offset: rest.offset
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-discovery-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apache Atlas REST API — Discovery. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: apache-atlas-basic-search
      description: Apache Atlas Basic Search
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-discovery.basicsearch
      with:
        typeName: tools.typeName
        classification: tools.classification
        query: tools.query
        limit: tools.limit
        offset: tools.offset
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-atlas-full-text-search
      description: Apache Atlas Full-Text Search
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-discovery.fulltextsearch
      with:
        query: tools.query
        typeName: tools.typeName
        limit: tools.limit
        offset: tools.offset
      outputParameters:
      - type: object
        mapping: $.