Table of Contents

Examples

Start with the Getting Started walkthrough for the feature you use. The pages here serve two different purposes: code fragments demonstrate an operation you can incorporate into a script; complete examples include the feature-specific definition or HTTP request needed to run one. A fragment that mentions subject belongs to an entity-triggered context; one that mentions args belongs to a managed script.

For example, use a basic Domain fragment to learn getById, then use the managed-script version to see where its ID comes from, how the return value is declared, and what the API caller receives. Do not copy a script body from one feature into another without checking its execution context and result contract.