← All types
Apps & SurfacesIn Input object

CreateWorkspaceVersionInput

Input for creating a new draft version of an existing workspace.

Fields

TypeID of the workspace to add a version to (prefix wks).

source

String!Required

Author-owned cococo-workspace-source/1 JSON envelope containing sourceXML and serverLua. Compilation and AST are server-owned; read back source for IaC comparison.

Referenced by (2)
Exact type SDL
"""Input for creating a new draft version of an existing workspace."""
input CreateWorkspaceVersionInput {
  """TypeID of the workspace to add a version to (prefix `wks`)."""
  workspaceId: WorkspaceID!
  """
  Author-owned cococo-workspace-source/1 JSON envelope containing sourceXML and serverLua. Compilation and AST are server-owned; read back source for IaC comparison.
  """
  source: String!
}