Read application repository file
Read the contents of a single file from the application Git repository at a given ref. Defaults to the commit of the latest successful deployment so you read exactly the code that is running. Binary files and files larger than 1 MB return metadata only with a null content (check is_binary and truncated). Returns 404 when the file does not exist at the ref. Only applications with a privateGit or publicGit source have a repository; dockerImage and internally created apps return 422. A repository that the Git connections of the company can no longer read can also return 422, with the reason.
Authorizations
Path Parameters
Query Parameters
Branch, tag, or commit SHA to read the file at. Defaults to the commit of the latest successful deployment, falling back to the default branch when there is no such deployment or the app's repository was changed after it (so the deployed commit no longer exists in the current repo).
"a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0"
Response
Default Response