RFID · Capability

EPCIS 2.0 REST API — Discovery

EPCIS 2.0 REST API — Discovery. 1 operations. Lead operation: Get Service Information. Self-contained Naftiko capability covering one Rfid business surface.

Run with Naftiko RfidDiscovery

What You Can Do

GET
Getserviceinfo — Get Service Information
/v1/serviceinfo

MCP Tools

get-service-information

Get Service Information

read-only idempotent

Capability Spec

epcis-discovery.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: EPCIS 2.0 REST API — Discovery
  description: 'EPCIS 2.0 REST API — Discovery. 1 operations. Lead operation: Get Service Information. Self-contained Naftiko
    capability covering one Rfid business surface.'
  tags:
  - Rfid
  - Discovery
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    RFID_API_KEY: RFID_API_KEY
capability:
  consumes:
  - type: http
    namespace: epcis-discovery
    baseUri: https://{host}/epcis
    description: EPCIS 2.0 REST API — Discovery business capability. Self-contained, no shared references.
    resources:
    - name: serviceInfo
      path: /serviceInfo
      operations:
      - name: getserviceinfo
        method: GET
        description: Get Service Information
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.RFID_API_KEY}}'
  exposes:
  - type: rest
    namespace: epcis-discovery-rest
    port: 8080
    description: REST adapter for EPCIS 2.0 REST API — Discovery. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/serviceinfo
      name: serviceinfo
      description: REST surface for serviceInfo.
      operations:
      - method: GET
        name: getserviceinfo
        description: Get Service Information
        call: epcis-discovery.getserviceinfo
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: epcis-discovery-mcp
    port: 9090
    transport: http
    description: MCP adapter for EPCIS 2.0 REST API — Discovery. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-service-information
      description: Get Service Information
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: epcis-discovery.getserviceinfo
      outputParameters:
      - type: object
        mapping: $.