What applying an entry to the site would change
post/hosting/sites/{id}/design-library/preview
What applying an entry to the site would change: before and after, contrast checks, fonts needed, the versions that would be pinned. Changes nothing.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:read- Mcp
rivier_design_library_apply_preview- Graphql
Query.hostingLibraryApplyPreview- Sdk
hosting.libraryApply.preview- Cli
hosting library apply preview
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- entryIdstringrequiredPattern: ^[a-z][a-z0-9-]{2,60}$.
- versionstringPattern: ^\d+.\d+.\d+$.
- modestringOne of: light, dark.
- partslist of string
- pageIdstring (uuid)
- positionstring or integer
- briefKeystringAt most 200 characters.
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