Apps & SurfacesMu Mutation

createWorkspaceVersion

Topics: Surfaces

Create a new draft version of a workspace. Always mints a new version rather than amending an open draft, so several drafts may be open at once. Owner for PERSONAL, else workspace:write.

Returns

WorkspaceVersionPayload!

Arguments

The workspace to extend and the definition for its new draft.

Exact field SDL
"""
Create a new draft version of a workspace. Always mints a new version rather than amending an open draft, so several drafts may be open at once. Owner for PERSONAL, else workspace:write.
"""
createWorkspaceVersion(
  """The workspace to extend and the definition for its new draft."""
  input: CreateWorkspaceVersionInput!
): WorkspaceVersionPayload! @topic(names: ["surfaces"])

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