Apps & SurfacesMu Mutation

openCustomAppPreview

Topics: Apps

Open an in-memory preview of a custom app's draft server API for the caller. Nothing is saved; the preview ends after a period without calls. Source with problems still opens a preview, which holds no server API until fixed. Requires customapp:write.

Returns

OpenCustomAppPreviewPayload!

Arguments

The draft to preview.

Exact field SDL
"""
Open an in-memory preview of a custom app's draft server API for the caller. Nothing is saved; the preview ends after a period without calls. Source with problems still opens a preview, which holds no server API until fixed. Requires customapp:write.
"""
openCustomAppPreview(
  """The draft to preview."""
  input: CustomAppDraftInput!
): OpenCustomAppPreviewPayload! @topic(names: ["apps"])

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