Skip to main content
GET
Get a pull request's changed files with unified-diff patches

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

pullRequestID
string<uuid>
required

Query Parameters

org_id
string<uuid>

The pull request's owning organization to act in: the org_id the PullRequest carries. Required when more than one of the caller's organizations owns the pull request.

expected_head_sha
string

The head commit the patches must describe; a head that moved past it is a 409.

Pattern: ^[0-9a-f]{40}$

Response

OK

files
object[]
required
total_files
integer<int64>
required
Required range: x >= 0
truncated
boolean
required