Get Branch File Diff
Get Branch File Diff
Returns a unified diff (git-compatible format) showing changes between main and branch. The filePath should be URL-encoded if it contains special characters (e.g., pages%2Findex.mdx for pages/index.mdx).
GET
Get Branch File Diff
Authorizations
Use a JWT bearer token or a Veryfront API key in the Authorization header.
Path Parameters
Branch name
File path (URL-encoded, e.g., pages%2Findex.mdx)
Query Parameters
Source version ID to compare from (default: main branch)
Context lines (default: 3)
Required range:
0 <= x <= 10