Apache James · Capability

Apache James WebAdmin REST API — HealthCheck

Apache James WebAdmin REST API — HealthCheck. 1 operations. Lead operation: Apache james Apache James WebAdmin Check Health. Self-contained Naftiko capability covering one Apache James business surface.

Run with Naftiko Apache JamesHealthCheck

What You Can Do

GET
Checkhealth — Apache james Apache James WebAdmin Check Health
/v1/healthcheck

MCP Tools

apache-james-apache-james-webadmin

Apache james Apache James WebAdmin Check Health

read-only idempotent

Capability Spec

webadmin-rest-healthcheck.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apache James WebAdmin REST API — HealthCheck
  description: 'Apache James WebAdmin REST API — HealthCheck. 1 operations. Lead operation: Apache james Apache James WebAdmin
    Check Health. Self-contained Naftiko capability covering one Apache James business surface.'
  tags:
  - Apache James
  - HealthCheck
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APACHE_JAMES_API_KEY: APACHE_JAMES_API_KEY
capability:
  consumes:
  - type: http
    namespace: webadmin-rest-healthcheck
    baseUri: http://localhost:8000
    description: Apache James WebAdmin REST API — HealthCheck business capability. Self-contained, no shared references.
    resources:
    - name: healthcheck
      path: /healthcheck
      operations:
      - name: checkhealth
        method: GET
        description: Apache james Apache James WebAdmin Check Health
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.APACHE_JAMES_API_KEY}}'
  exposes:
  - type: rest
    namespace: webadmin-rest-healthcheck-rest
    port: 8080
    description: REST adapter for Apache James WebAdmin REST API — HealthCheck. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/healthcheck
      name: healthcheck
      description: REST surface for healthcheck.
      operations:
      - method: GET
        name: checkhealth
        description: Apache james Apache James WebAdmin Check Health
        call: webadmin-rest-healthcheck.checkhealth
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: webadmin-rest-healthcheck-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apache James WebAdmin REST API — HealthCheck. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: apache-james-apache-james-webadmin
      description: Apache james Apache James WebAdmin Check Health
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: webadmin-rest-healthcheck.checkhealth
      outputParameters:
      - type: object
        mapping: $.