Apps & SurfacesMu Mutation

createWorkspaceVersionSnapshot

Topics: Surfaces

Create an immutable source snapshot for reviewed publication. Parent edits create another draft instead of changing this version. Uses native Workspace authorization and validation.

Returns

WorkspaceVersionPayload!

Arguments

Parent workspace and reviewed source snapshot to persist as a new immutable draft version.

Exact field SDL
"""
Create an immutable source snapshot for reviewed publication. Parent edits create another draft instead of changing this version. Uses native Workspace authorization and validation.
"""
createWorkspaceVersionSnapshot(
  """
  Parent workspace and reviewed source snapshot to persist as a new immutable draft version.
  """
  input: CreateWorkspaceVersionInput!
): WorkspaceVersionPayload! @topic(names: ["surfaces"])

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