Method shoalrun.content.ContentSnapshot.get
get(ref: ContentRef, options: { format: ContentFormat; signal?: AbortSignal; }): Promise<ContentResult>
Fetch one available representation of a stable content reference.
Parameters
| Parameter | Type / default | Description |
|---|---|---|
ref |
ContentRef |
Page, section, or named snippet instance in this snapshot. |
options |
{ format: ContentFormat; signal?: AbortSignal; } |
Required format and an optional signal for this read. |
Returns
Promise<ContentResult>
Validated representation text with its routing and revision metadata.