← Back


Gets the contents of a file at a specific commit.


Get the contents of a file:

type: getFileContents
filename: README.md


Title Property Description Default Required
File name filename Name of the file to retrieve.
Sha sha The commit sha at which to retrieve the file contents. This will default to the head commit sha from the pull request or push payload.