Mutation / devices
publishEdgeAppDraft
Freeze a DRAFT and flip it to PUBLISHED. Auto-deprecates the previously-PUBLISHED row for the same handle. Pushes config.update to every controller running an installation that pinned the newly-published row. Requires edge_app:write.
Arguments
idEdgeAppID!Draft edge app ID to publish
expectedSourceXMLStringOptional exact reviewed source precondition; publication fails if the current draft no longer matches it.
Returns UpsertEdgeAppPayload!
Explore in a view
View exact SDL
"""
Freeze a DRAFT and flip it to PUBLISHED. Auto-deprecates the previously-PUBLISHED row for the same handle. Pushes config.update to every controller running an installation that pinned the newly-published row. Requires edge_app:write.
"""
publishEdgeAppDraft(
"""Draft edge app ID to publish"""
id: EdgeAppID!
"""
Optional exact reviewed source precondition; publication fails if the current draft no longer matches it.
"""
expectedSourceXML: String
): UpsertEdgeAppPayload! @topic(names: ["devices"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.