Skip to main content
POST
Github Read

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Body

application/json
repository
string
required

Repository in owner/repo format

path
string
required

File path within the repository

ref
string
default:HEAD

Branch, tag, or commit SHA

start_line
integer | null

1-based start line

Required range: x >= 1
end_line
integer | null

1-based end line (inclusive)

Required range: x >= 1

Response

Successful Response