Capture Compare
Run a read-only diff between two same-provider captures to see added, removed, updated, and unchanged items.
Capture Compare is a read-only diff between two capture files from the same provider.
It helps you answer: “What changed between capture A and capture B?”
It does not decide what should sync.
Captures are stored under /config/snapshots/ (legacy folder name). Capture Compare never writes to your providers.
What you can compare
You pick:
Capture A (baseline)
Capture B (the one you’re comparing against)
Both captures should be from the same provider.
Capture Compare only supports single-feature captures:
Watchlist
Ratings
History
It does not support All features bundle captures.
How to run a diff (UI)
How to read results
Compare groups items into four buckets:
Added: in B, not in A
Removed: in A, not in B
Updated: same key, but fields changed
Unchanged: same key, identical payload
Updated items can be expanded to show field-level changes.
If you diff captures from different features (like watchlist vs history), everything will look “added/removed”. That’s expected.
Compare is intended for same-provider diffs. If you compare different providers, results won’t be meaningful.
Limits and truncation
The UI may cap how many rows it shows per section.
If you expect huge diffs, tighten your comparison first.
Try same provider, same feature, close timestamps, and a short label.
API reference (optional)
Endpoint
GET /api/snapshots/diff
Query params
a(required): capture A path (relative under/config/snapshots)b(required): capture B path (relative under/config/snapshots)limit(optional, default200, min1, max2000): max items returned per sectionmax_changes(optional, default25, min1, max200): max field-level changes per updated item
How the diff works (high level)
Compare is intentionally simple.
It loads both capture JSON files, then compares:
the set of item keys in A vs B
the full item payload for keys present in both
That produces:
Added = keys in B but not A
Removed = keys in A but not B
Updated = key in both, payload differs
Unchanged = key in both, payload identical
This is deterministic. It does not do ID mapping or fuzzy matching.
Last updated
Was this helpful?