Qu Query

listTemplateVersions

Topics: Scripting Workflows

List versions of a template with pagination. Requires template:read permission.

Returns

TemplateVersionConnection!

Arguments

Template ID to list versions for

first

IntOptional

Number of items from the start

after

StringOptional

Cursor to start after

Exact field SDL
"""
List versions of a template with pagination. Requires template:read permission.
"""
listTemplateVersions(
  """Template ID to list versions for"""
  templateId: TemplateID!
  """Number of items from the start"""
  first: Int
  """Cursor to start after"""
  after: String
): TemplateVersionConnection! @topic(names: ["workflows", "scripting"])

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