Update home page draft
Updates the home page draft content in place. Only the supplied fields are updated;
null or absent fields are left unchanged.
Cards workflow: read the current card list via GET /system-pages/home/content,
modify the array as needed, and send the full updated array back. Cards that include an
existing id are updated in place; cards without an id receive a new one automatically.
The live page is not affected until POST /system-pages/home/publish is called.
backgroundImageFileName: pass a path to a file that already exists in Storage (e.g.
Storage/Branding/bg.jpg), an empty string to remove the background, or omit the field to
leave it unchanged.
- sitestring
Domain name of the site whose home page content to update. Omit to use the default site.
Exampledocs.example.com
Structured content of the home page draft. Null or absent fields in a PATCH request mean "leave unchanged". In a GET response, all populated fields reflect the current draft state.
HTML content for the hero banner title.
<h1>Welcome to Our Docs</h1>HTML content for the hero banner subtitle.
<p>Find everything you need here.</p>
Storage path to the hero banner background image (e.g. Storage/Branding/bg.jpg).
Pass an empty string to remove the image. The file must already exist in Storage.
Storage/Branding/bg.jpgPopular (suggested) searches block in the hero banner.
Cards block settings and card items.
Footer block settings and column contents.
{
"title": "<h1>Welcome to Our Docs</h1>",
"subtitle": "<p>Find everything you need here.</p>",
"backgroundImageFileName": "Storage/Branding/bg.jpg",
"popularSearches": {
"label": "Popular:",
"searches": [
"getting started",
"installation"
],
"isShow": true
},
"cardList": {
"title": "<h2>Documentation</h2>",
"layoutType": "vertical",
"align": "center",
"showDescriptions": true,
"cards": [
{
"id": "card-a1b2c3d4",
"title": "Getting Started",
"description": "Learn the basics in minutes.",
"icon": {
"type": "IconicFont",
"iconicFontCssClass": "fas fa-book",
"iconicFontColor": "#3399ff",
"isDefaultColor": false,
"imageFullFileName": null
},
"link": {
"type": "externalLink",
"href": "https://docs.example.com/getting-started",
"isOpenInNewTab": true
}
}
]
},
"footer": {
"layoutType": "two",
"columns": [
{
"id": "col-a1b2c3d4",
"content": "<p>© 2024 Acme Corp</p>"
}
]
}
}