← All types
ProductionIn Input object

CreateEdgeAppInput

Input for creating a new DRAFT edge app. Rejects if a draft already exists for the handle.

Fields

handle

String!Required

Wire id (lowercase letters/digits/underscore/hyphen)

name

String!Required

Display name

Optional human description

Triggers in this edgeApp

Handlers in this edgeApp

Reusable Lua snippets (optional; defaults to empty)

External MQTT broker template shape (optional; secrets live on the installation)

External OPC UA endpoints (optional; credentials/PEMs may be ${config:NAME} templates)

External SNMP devices (optional; community/keys may be ${config:NAME} templates)

Modbus ports (optional; auth-free protocol)

Exec commands (optional; gated by the controller's policy at run time)

HTTP inbound routes (optional; auth credentials are write-only and redacted on read)

Lua entry point script for local.edgeApp.invoke (optional)

Optional JSON Schema for installation variables

Cloud-forwarding level

Possible values (5)
DEBUG

Forward all levels to cloud

INFO

Forward info, warning, error

WARNING

Forward warning, error

ERROR

Forward error only

OFF

No cloud forwarding (local slog only)

Default true

Referenced by (1)
Exact type SDL
"""
Input for creating a new DRAFT edge app. Rejects if a draft already exists for the handle.
"""
input CreateEdgeAppInput {
  """Wire id (lowercase letters/digits/underscore/hyphen)"""
  handle: String!
  """Display name"""
  name: String!
  """Optional human description"""
  description: String
  """Triggers in this edgeApp"""
  triggers: [EdgeAppTriggerInput!]!
  """Handlers in this edgeApp"""
  handlers: [EdgeAppHandlerInput!]!
  """Reusable Lua snippets (optional; defaults to empty)"""
  libraries: [EdgeAppLibraryInput!]
  """
  External MQTT broker template shape (optional; secrets live on the installation)
  """
  mqttBrokers: [EdgeAppMQTTBrokerInput!]
  """
  External OPC UA endpoints (optional; credentials/PEMs may be ${config:NAME} templates)
  """
  opcuaEndpoints: [EdgeAppOPCUAEndpointInput!]
  """
  External SNMP devices (optional; community/keys may be ${config:NAME} templates)
  """
  snmpDevices: [EdgeAppSNMPDeviceInput!]
  """Modbus ports (optional; auth-free protocol)"""
  modbusPorts: [EdgeAppModbusPortInput!]
  """Exec commands (optional; gated by the controller's policy at run time)"""
  execCommands: [EdgeAppExecCommandInput!]
  """
  HTTP inbound routes (optional; auth credentials are write-only and redacted on read)
  """
  httpRoutes: [EdgeAppHTTPRouteInput!]
  """Lua entry point script for local.edgeApp.invoke (optional)"""
  onMessage: String
  """Optional JSON Schema for installation variables"""
  configSchema: JSON
  """Cloud-forwarding level"""
  logLevel: EdgeAppLogLevel
  """Default true"""
  isActive: Boolean
}