Skip to main content
GET
Compare commits

Authorizations

Authorization
string
header
required

Bearer token authorizing this operation's repository action. Each operation's security requirement names the resource action the token must be authorized for (pull or push).

Path Parameters

repoId
string
required
Pattern: ^[0-9A-HJKMNP-TV-Z]{26}$

Query Parameters

base
string
required

Branch, tag, or commit SHA, optionally with a ^/~N revision suffix (e.g. ^ for a commit's first parent).

Minimum string length: 1
head
string
required

Branch, tag, or commit SHA, optionally with a ^/N revision suffix (e.g. main2).

Minimum string length: 1
path
string
includeStats
boolean
default:true

Include per-file additions, deletions, and binary detection. Set false to return paths and change status only.

Response

OK

files
object[] | null
required
truncated
boolean
required
$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"https://aws-us-east-2.entire.io/api/v1/schemas/CompareResponse.json"