← API reference
Mutation / devices

createEdgeApp

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.

Arguments

EdgeApp definition

Returns UpsertEdgeAppPayload!

Explore in a view

Device Fleet
View exact 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"])

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