Skip to main content
POST
Branch a site

Authorizations

Authorization
string
header
required

A company admin credential for your company, or a droplet installation token with the website scope for reads, except on the share routes, which refuse a droplet token.

Path Parameters

id
string<uuid>
required

The site's id.

Body

application/json

Optional choices for a branch. The whole body may be omitted.

branch
object

The choices for the branch.

Response

The new private branch. A Liquid branch is published immediately; a V1 branch remains draft until its files and database are ready. A failed database provisioning attempt keeps the accepted draft for automatic retry.

One branch.

branch
object
required

The branch of a site: a second site, cloned from the published content of its parent and published at once, so it renders what the parent renders. It is private, owned as the parent is, and has no shares. Only its owner and company admins can open it, in the frame at frame_path. It is edited and published through the files, pages and publish operations with site_id as the site id, which serve a member's branch to a company admin who holds a kept admin row as they serve its parent; the parent never changes.

status
integer
required

The HTTP status.

meta
object
required

Response metadata included on every response body.