Query / scripting
getScriptVersion
Fetch one version of a script. Requires script:read permission.
Arguments
scriptIdScriptID!Script the version belongs to
versionInt!Version number to fetch
Returns ScriptVersionState
Scalar fields at a glance
scriptIdScriptID!versionInt!nameString!roleScriptRole!contentString!Explore in a view
View exact 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"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.