ProductionMu Mutation

createEdgeApp

Topics: Devices

Create a new DRAFT edge app row for input.handle. Rejects if a draft already exists for the handle (finish or delete it first). Drafts aren't pushed to controllers; use publishEdgeAppDraft to ship. Requires edge_app:write permission.

Returns

UpsertEdgeAppPayload!

Arguments

EdgeApp definition

Exact field SDL
"""
Create a new DRAFT edge app row for `input.handle`. Rejects if a draft already exists for the handle (finish or delete it first). Drafts aren't pushed to controllers; use publishEdgeAppDraft to ship. Requires edge_app:write permission.
"""
createEdgeApp(
  """EdgeApp definition"""
  input: CreateEdgeAppInput!
): UpsertEdgeAppPayload! @topic(names: ["devices"])

Declared on Mutation. Access is checked by the platform for each operation.