Skip to main content
POST
Preview a proposed change

Authorizations

Authorization
string
header
required

An API key: ab_...

Path Parameters

slug
string
required

Brand slug

Body

application/json
ref
string
required

What proposes it, as its host names it: pull/12. One preview each; saving again updates it

Required string length: 1 - 200
files
object
required

The brand's files by path in its folder: brand.yaml, rules/.yaml, pages/.yaml. Others are left alone

title
string
Maximum string length: 300
commit
string
Required string length: 1 - 100
assets
object

The files under assets/ the brand's files point at: path to asset id, or to the SHA-256 of its bytes (upload first)

Response

The preview

data
object
required