Hosting design brief update
patch/hosting/sites/{id}/design/brief
Edit the brief directly (goals, audience, voice, constraints, name, sitemap, navigation).
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:write- Graphql
Mutation.hostingDesignBriefUpdate- Sdk
hosting.designBrief.update- Cli
hosting design brief update
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- goalslist of string
- audiencestringAt most 300 characters.
- voicestringAt most 300 characters.
- constraintslist of string
- namestringAt most 120 characters.
- summarystringAt most 400 characters.
- languageslist of string
- navigationlist of object
- labelstringrequiredAt most 40 characters.
- pathstringrequiredAt most 120 characters.
- labelstringrequired
- sitemaplist of object
- pathstringrequiredAt most 120 characters.
- titlestringrequiredAt most 200 characters.
- purposestringrequiredAt most 300 characters.
- descriptionstringAt most 320 characters.
- sectionslist of objectrequired
- kindstringrequiredOne of: hero, text, features, gallery, rooms, products, collection, faq, form, booking, cta, newsletter, testimonials, contact, account.
- headingstringAt most 120 characters.
- textstringAt most 800 characters.
- itemslist of object
- titlestringrequiredAt most 80 characters.
- textstringAt most 300 characters.
- titlestringrequired
- ctaobject
- labelstringrequiredAt most 40 characters.
- urlstringrequiredAt most 300 characters.
- labelstringrequired
- sourcestringOne of: cms, shop, stays.
- contentTypestringAt most 40 characters.
- viewstringOne of: sign-in, account, orders, bookings, stays, invoices, support, memberships, downloads, proofs, privacy.
- kindstringrequired
- pathstringrequired
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring