Rivier/ Reference/ hosting

Apply the brand palette to the site with a person's approval; it can be undone

post/hosting/sites/{id}/design-library/brand/apply

Before you call

Credential
Authorization: Bearer $KEY
Scope
hosting:write
Graphql
Mutation.hostingLibraryBrandApply
Sdk
hosting.libraryBrand.apply
Cli
hosting library brand apply

Parameters

  • idstring (uuid)required
    In the path

Request bodyapplication/json, required

  • brandobject
    • draftboolean
    • namestring
      At most 60 characters.
    • colorslist of stringrequired
    • fontslist of object
      • familystringrequired
        At most 60 characters.
      • rolestring
        One of: heading, body, both.
      • stylestring
        One of: sans, serif, mono, display.
      • webLicenceboolean or unknownrequired
    • imagerystring
      At most 200 characters.
    • voicelist of string
    • logoTextstring
      At most 40 characters.
  • modestring
    One of: light, dark.
  • approveboolean

Responses

  • 200application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown