-
Notifications
You must be signed in to change notification settings - Fork 7
5 ‐ API Reference ‐ Stack Operations
Major edited this page Feb 25, 2026
·
1 revision
Reference for stack, album, and related API operations exposed through the client layer.
- Request timeout around long-running asset fetches.
- Retry with short exponential backoff for transient failures.
- Optional dry-run no-op for write operations.
FetchAllStacks()ModifyStack(assetIDs []string)DeleteStack(stackID string, reason string)
FetchAssets(size int, stacksMap map[string]utils.TStack)ListDuplicates(allAssets []utils.TAsset)FetchTrashedAssets(size int)TrashAssets(assetIDs []string)
FetchAlbums()FetchAlbumAssets(albumID string)CreateAlbum(name, description string)AddAssetsToAlbum(albumID string, assetIDs []string)
- Existing state is fetched first.
- Desired stack groups are computed.
- Client applies minimum required mutations.
stacks, err := client.FetchAllStacks()
if err != nil {
return err
}
_ = stacks- 1 ‐ Getting Started
- 1 ‐ Getting Started ‐ Configuration
- 1 ‐ Getting Started ‐ Installation
- 1 ‐ Getting Started ‐ Quick Start