Learn R Programming

civis (version 3.0.0)

scripts_post_javascript_git_commits: Commit and push a new version of the file

Description

Commit and push a new version of the file

Usage

scripts_post_javascript_git_commits(id, content, message, file_hash)

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.

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.