Segmented file comparison

Returns a comparison for a specific file path only showing the segments of the file that are impacted instead of all lines in file

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

file path

string
required

username from service provider

string
required

repository name

string
enum
required

Git hosting service provider

Allowed:
Query Params
string

base commit SHA (head also required)

string

head commit SHA (base also required)

integer

pull ID on which to perform the comparison (alternative to specifying base and head)

Response

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json