Skip to main content
POST
Commit files

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

project_reference
string
required
Example:

"my-project"

Body

application/json
file_ids
string[]

Legacy alias of file_references. Conflicting alias values return 400.

file_references
string[]

Paths or legacy file UUIDs whose pending edits, deletions and renames are committed. Files commit independently: a conflict may leave other files committed.

branch_reference
string

Branch whose pending changes are committed; defaults to main.

expected_version_id
string<uuid>

Expected persisted version for a single file. A stale version returns 409; reread and retry only conflicted files.

expected_versions
object

Expected persisted version per file. A stale version returns 409, with committed versions and conflicted files in the Problem response. Reread and retry only conflicted files.

Response

Committed file versions.

success
boolean
required
versions
object[]
required