Home > @uniformdev/canvas > CanvasClient > getCompositionHistory
CanvasClient.getCompositionHistory() method
Fetches historical versions of a composition or pattern
Signature:
Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead> <tbody><tr><td>
options
</td><td>
ExceptProject<ComponentInstanceHistoryGetParameters>
</td><td>
</td></tr> </tbody></table> Returns:
Promise<{ cursor?: string | undefined; truncated?: boolean | undefined; results?: { versionId: string; timestamp: number; authorName: string; authorIsApiKey: boolean; state: number; }[] | undefined; }>