โ† API reference
Query / scripting

getLuaSample

Fetch one Lua sample with its runnable source. Requires script:read.

Arguments

idString!

Sample id from listLuaSamples

Returns LuaSample

Scalar fields at a glance

idString!
titleString!
descriptionString!
apis[String!]!
โ†— View the complete LuaSample type

Explore in a view

Scripting
View exact SDL
"""Fetch one Lua sample with its runnable source. Requires script:read."""
getLuaSample(
  """Sample id from listLuaSamples"""
  id: String!
): LuaSample @topic(names: ["scripting"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.