GET /api/loft/interfaces
List all interfaces.curl
POST /api/loft/interfaces
Create a new interface.| Field | Type | Default | Description |
|---|---|---|---|
name | string | Required | Display name |
directoryPath | string | Required | Filesystem path to watch |
profileName | string | — | Vendor profile for validation |
filePattern | string | "*.hl7" | Glob pattern for message files |
curl
GET /api/loft/interfaces/
Get interface by ID.curl
PUT /api/loft/interfaces/
Update an interface. All fields optional.| Field | Type | Description |
|---|---|---|
name | string | Updated display name |
profileName | string | Updated vendor profile |
filePattern | string | Updated file pattern |
enabled | boolean | Enable/disable monitoring |
curl
DELETE /api/loft/interfaces/
Delete an interface.curl
GET /api/loft/interfaces//metrics
Get interface metrics.| Query Param | Type | Default | Description |
|---|---|---|---|
sinceHours | int | 24 | Hours of history |
curl
messagesTotal, messagesSuccessful, messagesFailed, successRate, averageLatencyMs, p99LatencyMs.
