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).
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
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)