← API reference
CANONICAL TYPE REFERENCE

LuaSampleSummary

A Lua sample script without its source

idString!

Stable identifier, e.g. "graphql-list-customers"

titleString!

Short human-readable name, for a menu entry

One line saying what the sample demonstrates

Which scripting surface the sample is written against

RECIPE for task-shaped examples, SNIPPET for one function

apis[String!]!

Every ctx.* function the sample calls, derived from its source rather than declared

View exact SDL
"""A Lua sample script without its source"""
type LuaSampleSummary {
  """
  Stable identifier, e.g. "graphql-list-customers"
  """
  id: String!
  """Short human-readable name, for a menu entry"""
  title: String!
  """One line saying what the sample demonstrates"""
  description: String!
  """Which scripting surface the sample is written against"""
  role: LuaScriptRole!
  """RECIPE for task-shaped examples, SNIPPET for one function"""
  tier: LuaSampleTier!
  """
  Every ctx.* function the sample calls, derived from its source rather than declared
  """
  apis: [String!]!
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.