cURL
curl --request GET \ --url https://api.example.com/api/git/diff \ --header 'X-Session-API-Key: <api-key>'
{ "modified": "<string>", "original": "<string>" }
Get git diff using query parameter (preferred method).
The file path to get diff for
Successful Response
Was this page helpful?