Skip to content
GitmoapAPIBeta
Schema

FileAction

One file change in a commit written in the browser.

Every change to a file that exists names the blob the caller started from (expected_blob_sha, the blob_sha a blob read returned): if the file has changed since, the commit is refused rather than overwriting someone else's work.

Shape

object or object or object or object or object

Example

Synthesized example
{
"action": "create",
"content": "content-6015",
"path": "path-df32",
"encoding": "utf8",
"executable": false
}

Graph

Contains

No named schema inside.

Used by

Sent by 0 operations

No operation takes it as a request body.

Returned by 0 operations

No operation returns it directly.