Returns a unified diff (git-compatible format) comparing the environment file version to main branch or a specific version. 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 ID or slug
Environment name (e.g., production, preview)
File path (URL-encoded, e.g., pages%2Findex.mdx)
Source version ID to compare from (default: main branch current version)
Number of context lines around changes (default: 3)
0 <= x <= 10