Compare
Authorizes both revisions and returns their manifests, per-file statuses, and one selected file preview. Target defaults to latest; base defaults to the target’s parent, or an empty snapshot for the first revision. The returned IDs are immutable; use them for subsequent file selections. UTF-8 previews verify file digests and are capped at 128000 bytes per side. reason is null, too_large, binary, or too_complex. Omitted previews have empty content and zero counts, which must not be displayed as no changes.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Query parameters
Response
{base, target, files: [{path, status, before, after}], preview: {path, before, after, additions, deletions, reason} | null}. File statuses are added, removed, modified, unchanged.