Skip to main content
GET
Get one file's content at a reviewed commit of a pull request

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.

path
string
required
Minimum string length: 1
ref
string
required
Pattern: ^[0-9a-f]{40}$

Response

OK

content
string
required
kind
enum<string>
required
Available options:
text