← API explorer
Module diff
Side-by-side comparison of any two AEVION modules — tags, status, kind, priority — with a Jaccard similarity score. Mirrors cat.diff(a, b) in @aevion-io/catalog-client v0.5, computed entirely client-side from two GET /api/aevion/catalog/:id calls.
Comparing — vs —Jaccard 0.0000 shared tags
Module A
// loading…
Module B
// loading…
Field comparison
status
kind
priority
tags
shared:0
only A:0
only B:0
Shared tags (0)
(none — no tag overlap)
Only in A (0)
(none)
Only in B (0)
(none)
SDK call
import { AevionCatalog } from "@aevion-io/catalog-client";
const cat = new AevionCatalog();
const diff = await cat.diff("qsign", "qright");
// { shared, onlyA, onlyB, jaccard, statusEqual, kindEqual, priorityEqual }Source endpoints
# Module A /api-backend/api/aevion/catalog/qsign # Module B /api-backend/api/aevion/catalog/qright
curl
curl -s '/api-backend/api/aevion/catalog/qsign' | jq . curl -s '/api-backend/api/aevion/catalog/qright' | jq .
Tip
Jaccard = |A ∩ B| / |A ∪ B| — 0 means no tag overlap, 1 means identical tag sets. Two modules sharing 3+ tags above a 0.5 score usually belong on the same product page or cross-sell strip. The SDK call returns the same shape as what you see here, so it's safe to use the page output as a fixture in tests.