Appearance
EdgeAppState
Type: Object
A tenant-scoped integration edgeApp template installable on N controllers
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| configSchema | JSON | Optional JSON Schema describing the shape of an installation's variables | ||
| createdAt | String! | Creation timestamp (ISO8601) | ||
| description | String | Optional human description | ||
| execCommands | [EdgeAppExecCommand!]! | Exec commands declared by the edgeApp (gated by the controller's policy) | ||
| handle | String! | Wire id used for bridge reconciliation; unique per tenant | ||
| handlers | [EdgeAppHandler!]! | Handlers in this edgeApp | ||
| httpRoutes | [EdgeAppHTTPRouteOutput!]! | HTTP inbound routes (auth credentials are redacted) | ||
| id | EdgeAppID! | Unique identifier | ||
| isActive | Boolean! | Whether this edgeApp is included in installation pushes | ||
| libraries | [EdgeAppLibrary!]! | Reusable Lua snippets, loaded by handlers via bridge.loadLib | ||
| logLevel | EdgeAppLogLevel | Cloud-forwarding level for bridge.log.* calls (default INFO) | ||
| modbusPorts | [EdgeAppModbusPort!]! | Modbus ports (auth-free protocol) | ||
| mqttBrokers | [EdgeAppMQTTBroker!]! | External MQTT broker subscriptions (template shape; secrets live on the installation) | ||
| name | String! | Display name | ||
| onMessage | String | Lua entry point for cloud invocations via local.edgeApp.invoke (nil if not invokable) | ||
| opcuaEndpoints | [EdgeAppOPCUAEndpoint!]! | External OPC UA endpoints (credentials/PEMs may be ${config:NAME} templates) | ||
| snmpDevices | [EdgeAppSNMPDevice!]! | External SNMP devices (community/auth/priv may be ${config:NAME} templates) | ||
| status | EdgeAppStatus! | Lifecycle position — DRAFT (mutable) / PUBLISHED (frozen, latest) / DEPRECATED (frozen, older). | ||
| triggers | [EdgeAppTrigger!]! | Triggers in this edgeApp | ||
| updatedAt | String! | Last update timestamp (ISO8601) | ||
| version | Int! | Monotonic per (tenant, handle). Drafts hold the version they'll claim at publish time; publishing freezes it. |