Returns a unified diff (git-compatible format) comparing the current version to a previous version. Requires source_ref to specify the version to compare against. The filePath should be URL-encoded if it contains special characters (e.g., pages%2Findex.mdx for pages/index.mdx).
Authentication via JWT token or API key. JWT: Get from Veryfront dashboard. API Key: Format "vf_
Project slug, UUID, or domain
File path (URL-encoded, e.g., pages%2Findex.mdx)
Source version ID to compare from (required for main branch diff)
Number of context lines around changes (default: 3)
0 <= x <= 10Branch name or ID (omit for main branch)