reports_post_git_commits {civis}R Documentation

Commit and push a new version of the file

Description

Commit and push a new version of the file

Usage

reports_post_git_commits(id, content, message, file_hash)

Arguments

id

integer required. The ID of the file.

content

string required. The contents to commit to the file.

message

string required. A commit message describing the changes being made.

file_hash

string required. The full SHA of the file being replaced.

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.


[Package civis version 3.1.2 Index]