Get file contents at commit_hash

reports_get_git_commits(id, commit_hash)

Arguments

id

integer required. The ID of the file.

commit_hash

string required. The SHA (full or shortened) of the desired git commit.

Value

A list containing the following elements:

content

string, The file's contents.

type

string, The file's type.

size

integer, The file's size.

fileHash

string, The SHA of the file.