Skip to main content
POST
Record that a site's branch was updated from live

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.

slug
string
required

The slug of one of the site's branches.

Required string length: 1 - 40
Pattern: ^[a-z0-9]+(-[a-z0-9]+)*$

Body

application/json

The body of a base record takes no field; the base is always the parent's live bundle.

Response

The branch, with its new base.

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.