v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1352131166.0 KB
projects

Returns the contents of a file (inside a Repository). The Repository must not have a value for git_remote_settings.url.

get/v1/{+name}:readFile

Path parameters

namestring required

Required. The repository's name.

Query parameters

commitShastring

Optional. The commit SHA for the commit to read from. If unset, the file will be read from HEAD.

pathstring

Required. Full file path to read including filename, from repository root.

Response

Successful response