โ† API reference
Mutation / devices

invokeEdgeApp

Invoke a edgeApp's onMessage export by name on a specific controller (the edgeApp must be installed on it). Forwards to the bridge and returns the function's JSON return value. Requires edge_app:invoke permission.

Arguments

EdgeApp invocation request

Returns InvokeEdgeAppPayload!

Scalar fields at a glance

resultJSON
โ†— View the complete InvokeEdgeAppPayload type

Explore in a view

Device Fleet
View exact SDL
"""
Invoke a edgeApp's onMessage export by name on a specific controller (the edgeApp must be installed on it). Forwards to the bridge and returns the function's JSON return value. Requires edge_app:invoke permission.
"""
invokeEdgeApp(
  """EdgeApp invocation request"""
  input: InvokeEdgeAppInput!
): InvokeEdgeAppPayload! @topic(names: ["devices"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.