Docs

Create or Update File Content

Creates or updates a file in a GitHub repository.

PUT

Query

Field selectionChoose which fields should be included in the response. Learn more
string

Comma-separated response fields to include.

Body

Arguments
stringrequired

Repository owner or organization login.

stringrequired

Repository name.

stringrequired

Path to the file within the repository.

stringrequired

The commit message.

stringrequired

The new file content, using Base64 encoding.

Uncommon arguments
string

The blob SHA of the file being replaced when updating an existing file.

string

The branch name. Defaults to the repository default branch.

object

Committer information. Defaults to the authenticated user.

string

The name of the committer.

string

The email of the committer.

date

The commit date for the committer.

object

Author information. Defaults to the committer or authenticated user.

string

The name of the author.

string

The email of the author.

date

The commit date for the author.

Every app you connect,one REST pattern

Call any app with one REST pattern. MindCloud handles each provider's auth, request shape, and responses for you.

Learn what the Universal API is
One REST patternUse the same request structure across apps like Slack, HubSpot, Salesforce, and thousands more.
Managed connectionsSend a MindCloud connection ID instead of handling provider tokens, refresh logic, and credential storage yourself.
Action-level docsEach action page shows the exact endpoint, required arguments, optional controls, and response behavior for that app version.