Skip to main content
GET
Get raw file by path

Authorizations

Authorization
string
header
required

Bearer token authorizing this operation's repository action. Each operation's security requirement names the resource action the token must be authorized for (pull or push).

Path Parameters

repoId
string
required
Pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
path
string
required
Minimum string length: 1

Query Parameters

ref
string
required

Branch, tag, or commit SHA, optionally with a ^/N revision suffix (e.g. main2, ^).

Minimum string length: 1

Response

OK