Skip to main content
GET
What a change request changes

Path Parameters

owner
string
required
Example:

"patch"

slug
string
required
Example:

"demo-mod"

number
integer
required
Required range: x >= 1
Example:

12

Response

What it changes

base
string | null
required

The commit its changes are compared to: where its branch left the branch it's for, or for a merged request, what it merged onto. Null when there's no shared history to compare, or the branch is gone.

head
string
required

Its latest commit.

branch_head
string | null
required

The latest commit of the branch it's for. Null for a merged request, or when the branch is gone.

up_to_date
boolean | null
required

Whether it can merge as it is: the branch it's for hasn't moved on since its branch left. Null for a request that isn't open.

commit_count
integer
required

How many commits it brings: when truncated, at least this many.

commits
object[]
required

Its commits, newest first: the first 250.

files
object[]
required
truncated
boolean
required

Whether anything was left out: patches stop at 300 files or 2 MiB, the list of files at 3,000, and commits near 800. A change too big to read at all has no files.