Qu Query

getScriptVersion

Topics: Scripting

Fetch one version of a script. Requires script:read permission.

Returns

ScriptVersionState

Arguments

Script the version belongs to

version

Int!Required

Version number to fetch

Exact field SDL
"""Fetch one version of a script. Requires script:read permission."""
getScriptVersion(
  """Script the version belongs to"""
  scriptId: ScriptID!
  """Version number to fetch"""
  version: Int!
): ScriptVersionState @topic(names: ["scripting"])

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