Skip to main content
POST
Commit Project Files

Authorizations

Authorization
string
header
required

A floo_ API key.

Headers

X-Floo-Org-Id
string<uuid>

Organization to act in; defaults to the one joined most recently.

Path Parameters

app_id
string<uuid>
required

Body

application/json

Every write and delete lands in one commit, so the app never deploys half a change.

message
string
required
Required string length: 1 - 2000
files
FileWrite · object[]
Maximum array length: 100
delete
string[]
Maximum array length: 100
base_sha
string | null

Commit the files were read at; refused if the branch has moved since.

Pattern: ^[0-9a-f]{40}$

Response

Successful Response

The new head commit; the push it makes starts the dev deploy.

commit_sha
string
required
next_step
string
required