Skip to main content
GET
Get the snapshot of a pull request head: its changed files against the base tip, their patches and their contents at the head

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

ref
string
required
Pattern: ^[0-9a-f]{40}$
base_sha
string
required
Pattern: ^[0-9a-f]{40}$

Response

The head's snapshot, that its capture is under way, or that the capture gave up

base_sha
string
required
Required string length: 40
Pattern: ^[0-9a-f]{40}$
files
object[]
required
head_sha
string
required
Required string length: 40
Pattern: ^[0-9a-f]{40}$
kind
enum<string>
required
Available options:
ready
truncated
boolean
required