Skip to main content
POST
Merge a variant (whole state, three-way)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Path Parameters

id
string
required
slug
string
required

Body

application/json
dry_run
boolean
into
string

main (default) or another variant's slug.

message
string
resolutions
object

Keyed by a conflict's path or node key.

Response

OK

conflicts
object[]
document
any

The merged document (a clean dry run).

dry_run
boolean
epoch
integer
from
string
into
string
parents
string[]

The two parents of the merge commit.

resolved
string[]
status
enum<string>
Available options:
clean,
conflict,
merged
variant
object

A variant (CO13b): a branch of a project forked at zero copy.

version
integer