Skip to main content
GET
Read one bounded commit-pinned repository file

Authorizations

Authorization
string
header
required

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

Path Parameters

repoRef
string<uuid>
required

Query Parameters

ref
string
path
string
required

Response

UTF-8 file content capped at 1 MB

repo_ref
string<uuid>
required
repository
object
required
requested_ref
string
required
resolved_commit_sha
string
required
Pattern: ^[0-9a-fA-F]{40}$
path
string
required
content
string
required
Maximum string length: 1000000
encoding
string
required
Allowed value: "utf-8"
size
integer
required
Required range: x <= 1000000