Get a resolved layout by key
GET/cms/layout/key/{key}
Same as GET /cms/layout/{id}, addressed by the layout’s stable key (set in the editor’s Layout settings, e.g. category-template). Prefer this to numeric IDs, which differ between environments. Typical use: templates whose lists are provided by the frontend (streams), and standalone layouts such as a shared sidebar.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Example
category-templateQuery Parameters
Section titled “Query Parameters”Include full text in content. ‘1’ complete text, ‘2’ introduction and summary only
Responses
Section titled “Responses”Resolved layout
A published page builder layout, resolved for rendering: rows → columns → blocks on a 12-column grid. Linked presets are already inlined and list blocks carry their content in data. Render each block by its type and variant; unknown variants should fall back to the block’s default variant (see GET /cms/pagebuilder/blocks).
object
Layout ID
Example
12Layout name
Example
HomepageStable key set in the editor (GET /cms/layout/key/{key}); null when not set
Example
category-templateWhat the layout is for
Example
frontPublished version ID (0 for previews of unpublished drafts)
Example
57Text direction of the layout: the layout’s own setting, else the site default (Page Builder settings). Columns flow in this direction. Sites entirely in one direction can ignore it; mixed-language sites should set dir on the layout’s wrapper.
Example
rtlVersion of the layout document format
Example
1Rows, top to bottom
A row of a page builder layout
object
Row ID, unique within the layout
Example
r1Row presentation settings
object
Background style; absent = default
Span the full viewport width
Example
{ "background": "muted"}Whether a row, column or block is shown on each breakpoint. Hidden items are still sent; render them hidden at that breakpoint (e.g. with CSS) so one cached response serves every device.
object
Desktop
Tablet
Mobile
Example
{ "lg": true, "md": true, "xs": false}Set when the row comes from a linked preset (already inlined)
Example
7Columns, in source order (see order for per-breakpoint reordering)
A column of a row, on a 12-column grid
object
Column ID, unique within the layout
Example
c1Width out of 12 for each breakpoint, already resolved (mobile-first inheritance: unset widths are filled in)
object
Desktop
Tablet
Mobile
Example
{ "lg": 8, "md": 8, "xs": 12}Display order within the row per breakpoint (like CSS order); only breakpoints that reorder are present
object
Example
{ "xs": 2}Whether a row, column or block is shown on each breakpoint. Hidden items are still sent; render them hidden at that breakpoint (e.g. with CSS) so one cached response serves every device.
object
Desktop
Tablet
Mobile
Example
{ "lg": true, "md": true, "xs": false}Blocks, top to bottom
A block of a page builder layout. Block types: content_list, tabs, rich_text, image, embed, cta, ad_slot, newsletter_signup, social_links, messaging_zone, html (see GET /cms/pagebuilder/blocks for the ones enabled on this deployment and their settings). A block whose type is disabled or not allowed on this layout is sent as {id, type, disabled: true} only and should not be rendered.
object
Block ID, unique within the layout. Blocks inlined from a preset get IDs prefixed with the referencing ID (e.g. r2/b1).
Example
b1Block type
Example
content_listOnly present (true) when the block must not be rendered: its type is disabled or not allowed on this layout. Other fields are then omitted.
Desktop display variant (same as responsive.lg.variant)
Example
lead_gridDesktop variant options (same as responsive.lg.variantOptions)
object
object
object
external: items are provided by the frontend (see stream)
Kind=external: name of the list the frontend provides, e.g. “main”
Kind=section: dynamic section name of the page
Kind=section: page owning the section, when not the page being rendered
Kind=query: content filter (same format as a page section’s “Configure filter”)
object
Kind=mostread|mostcommented
Kind=mostread
Items of the source skipped before this block (already applied to data)
Whether items shown higher on the page were skipped (already applied to data)
object
Ad unit / slot name known to the frontend
object
Example
{ "xs": "300x250", "lg": "970x250"}object
Subscribe with POST /cms/channel/{channelId}/subscribe
object
object
object
Render <div data-wb-zone-key="{zoneKey}"></div>; the messaging script fills it
Example
homepage_after_topobject
Raw HTML to insert as-is (may contain scripts)
No settings; the tabs are in children
object
Render data.html (rendered like an article body), not settings.html (editor markup)
object
Editor markup
object
Http(s) URL, site path or mailto
object
Article embed shortcode body, e.g. “embed source=youtube id=XYZ”
What the editor pasted
object
Http(s) URL, site path or mailto
Display per breakpoint (desktop-first: tablet inherits desktop, mobile inherits tablet, unless changed in the editor)
object
How a block is displayed at one breakpoint, after desktop-first inheritance and fallbacks are applied
object
Display variant key, as configured in Page Builder settings
Example
compact_bylinePresentation options of the variant (fields are defined per variant in GET /cms/pagebuilder/blocks)
object
Example
{ "showByline": true}Number of items to show at this breakpoint (list blocks); slice data to this length
Example
4How a block is displayed at one breakpoint, after desktop-first inheritance and fallbacks are applied
object
Display variant key, as configured in Page Builder settings
Example
compact_bylinePresentation options of the variant (fields are defined per variant in GET /cms/pagebuilder/blocks)
object
Example
{ "showByline": true}Number of items to show at this breakpoint (list blocks); slice data to this length
Example
4How a block is displayed at one breakpoint, after desktop-first inheritance and fallbacks are applied
object
Display variant key, as configured in Page Builder settings
Example
compact_bylinePresentation options of the variant (fields are defined per variant in GET /cms/pagebuilder/blocks)
object
Example
{ "showByline": true}Number of items to show at this breakpoint (list blocks); slice data to this length
Example
4Whether a row, column or block is shown on each breakpoint. Hidden items are still sent; render them hidden at that breakpoint (e.g. with CSS) so one cached response serves every device.
object
Desktop
Tablet
Mobile
Example
{ "lg": true, "md": true, "xs": false}Set when the block comes from a linked preset (already inlined)
External list blocks only (settings.source.kind: "external"): the slice of the named list to show, instead of data. Show items offset … offset + responsive[bp].limit - 1 of the list (0-based); items is offset + the largest limit.
object
Example
mainExample
1Example
6Images and content picked in image / content display options (variantOptions hold their IDs), keyed by ID across every breakpoint. Missing IDs were deleted or unpublished. Only present when such options are filled in.
object
object
API representation of an attachment (images, video, files)
object
Attachment ID
Name
Description
Type (image|video|file)
Public URL
Width in pixels
Height in pixels
Focal point as “x% y%”
Transforms (list of available image transforms)
object
Width in pixels
Height in pixels
URL of the transformed image
Additional urls per transform
object
Search title
Search description
Social title
API representation of a video
object
Video ID
Title
URL
Duration in seconds
Episode number
Status
Show ID
Show name
Show URL
Brief
Thumbnail URL
ThumbnailPlay URL
Filename/URL
Publish date
Views
Publish flag
Formats
API representation of a video format
object
Format
Filename/URL
CDN path
MIME type
Duration in seconds
object
API representation of an article/content item (v3)
object
Object PHP class name
Article ID
Signature
Absolute URL
Short URL
Slug
API representation of a content type
object
Content Type ID
Name
Slug
Editor
Views count
Comments count
Average rating by customers
Total ratings count
Preview limit
Excluded from search engine flag
Title
First published date
Last update date
Categories
API representation of a category
object
Category ID
The page builder template to render a category, publication, article, author or keyword with (the layoutTemplate field of their views). Fetch the layout with GET /cms/layout/key/{key}, or GET /cms/layout/{id} when key is null.
object
Layout ID of the template
Example
31Stable key of the template; null when not set
Example
opinion-articleTemplate name
Example
Opinion articleWhy this template applies, most specific first: the content type (article templates only), the category itself, a parent category, or the publication; for author and keyword templates, the author or keyword itself
Example
categoryWhat the template is used for
Example
categoryID of the content type, category, publication, author or keyword
Example
14Category name
Seo name
Signature
Slug
Type ID or object
Parent category ID
Parent object
Image URL
Cover URL
Logo URL
Paid flag
PHP class name of the object
Absolute URL
CSS code
Template name
Tagline
Link parameter
Description
Meta description
Order
Page ID
Articles count
Allow comments flag
Access type of the category (e.g., public, restricted)
Status
Content length
Summary
Introduction
Premium flag
Free flag
Credits
Authors
API representation of an author
object
Author ID
The page builder template to render a category, publication, article, author or keyword with (the layoutTemplate field of their views). Fetch the layout with GET /cms/layout/key/{key}, or GET /cms/layout/{id} when key is null.
object
Layout ID of the template
Example
31Stable key of the template; null when not set
Example
opinion-articleTemplate name
Example
Opinion articleWhy this template applies, most specific first: the content type (article templates only), the category itself, a parent category, or the publication; for author and keyword templates, the author or keyword itself
Example
categoryWhat the template is used for
Example
categoryID of the content type, category, publication, author or keyword
Example
14URL to the author page
Author name
Image URL
Available image transformations in different sizes
object
Width in pixels
Height in pixels
URL to the transformed image
Cover image URL
Author email
Department
Editorial name (slug)
Short biography
Full description (HTML)
Name in latin characters
Country code or name
Google+ profile (legacy)
Twitter handle (without @)
Facebook username
LinkedIn profile
Instagram handle
Class name of the object
If this author was replaced, id of replacement
Source, if present
API representation of a sponsor
object
Sponsor ID
URL to the sponsor page
Sponsor name
Image URL
Attachments
API representation of an attachment (images, video, files)
object
Attachment ID
Name
Description
Type (image|video|file)
Public URL
Width in pixels
Height in pixels
Focal point as “x% y%”
Transforms (list of available image transforms)
object
Width in pixels
Height in pixels
URL of the transformed image
Additional urls per transform
object
Search title
Search description
Social title
API representation of a video
object
Video ID
Title
URL
Duration in seconds
Episode number
Status
Show ID
Show name
Show URL
Brief
Thumbnail URL
ThumbnailPlay URL
Filename/URL
Publish date
Views
Publish flag
Formats
API representation of a video format
object
Format
Filename/URL
CDN path
MIME type
Duration in seconds
Inline attachments
API representation of an attachment (images, video, files)
object
Attachment ID
Name
Description
Type (image|video|file)
Public URL
Width in pixels
Height in pixels
Focal point as “x% y%”
Transforms (list of available image transforms)
object
Width in pixels
Height in pixels
URL of the transformed image
Additional urls per transform
object
Search title
Search description
Social title
API representation of a video
object
Video ID
Title
URL
Duration in seconds
Episode number
Status
Show ID
Show name
Show URL
Brief
Thumbnail URL
ThumbnailPlay URL
Filename/URL
Publish date
Views
Publish flag
Formats
API representation of a video format
object
Format
Filename/URL
CDN path
MIME type
Duration in seconds
Files
API representation of an attachment (images, video, files)
object
Attachment ID
Name
Description
Type (image|video|file)
Public URL
Width in pixels
Height in pixels
Focal point as “x% y%”
Transforms (list of available image transforms)
object
Width in pixels
Height in pixels
URL of the transformed image
Additional urls per transform
object
Search title
Search description
Social title
API representation of a video
object
Video ID
Title
URL
Duration in seconds
Episode number
Status
Show ID
Show name
Show URL
Brief
Thumbnail URL
ThumbnailPlay URL
Filename/URL
Publish date
Views
Publish flag
Formats
API representation of a video format
object
Format
Filename/URL
CDN path
MIME type
Duration in seconds
Videos
API representation of an attachment (images, video, files)
object
Attachment ID
Name
Description
Type (image|video|file)
Public URL
Width in pixels
Height in pixels
Focal point as “x% y%”
Transforms (list of available image transforms)
object
Width in pixels
Height in pixels
URL of the transformed image
Additional urls per transform
object
Search title
Search description
Social title
API representation of a video
object
Video ID
Title
URL
Duration in seconds
Episode number
Status
Show ID
Show name
Show URL
Brief
Thumbnail URL
ThumbnailPlay URL
Filename/URL
Publish date
Views
Publish flag
Formats
API representation of a video format
object
Format
Filename/URL
CDN path
MIME type
Duration in seconds
Keywords
API representation of a keyword
object
Keyword ID
The page builder template to render a category, publication, article, author or keyword with (the layoutTemplate field of their views). Fetch the layout with GET /cms/layout/key/{key}, or GET /cms/layout/{id} when key is null.
object
Layout ID of the template
Example
31Stable key of the template; null when not set
Example
opinion-articleTemplate name
Example
Opinion articleWhy this template applies, most specific first: the content type (article templates only), the category itself, a parent category, or the publication; for author and keyword templates, the author or keyword itself
Example
categoryWhat the template is used for
Example
categoryID of the content type, category, publication, author or keyword
Example
14Name
URL
Slug
Description
Articles count
If this keyword was replaced, id of replacement
Display name
Translations
Collection id
Image URL
Elements (youtube, liveblogs, polls, quiz)
object
Live blogs in the article
API representation of a liveblog
object
LiveBlog ID
Title
Start date
End date
Websocket room name
Preview messages
API representation of a liveblog message
object
Message ID
Timestamp
Text
Title
Minute
Additional minute value
Type id
Image letter/character
Highlight flag
HTML content
User display name
User thumbnail URL
Polls in the article
API representation of a poll
object
Poll ID
Timestamp
Question
Choices
Votes
Slug
API representation of a poll category
object
Category ID
Name
Image
Results
object
Number of votes
Percentage of total votes
Message
Only logged in
End date
Voted (only true when voting)
Voted choice (only valid when voting)
Closed
Quizzes in the article
API representation of a quiz
object
Quiz ID
Name
Timestamp
Image
Cover picture
Description
Share
Template
Allow form
Introduction message
Thankyou message
Terms
Status
Questions
API representation of a quiz question
object
Question ID
Title
Result text
Image
Choices
API representation of a quiz answer
object
Answer ID
Answer text
Letter
Image
Correct
Points
Votes
Results
API representation of a quiz result
object
Result ID
Result
Image
Letter
Result text
Share
Twitter share
Minimum
Maximum
Votes
YouTube video IDs in the article
SEO object
object
Search title
Search description
Social title
Social description
Social image URL
Time to read (seconds)
Access control enabled
Access allowed
Status
Cached flag
List blocks only: number of items in data (or in the stream slice), the largest limit across breakpoints
Example
7API representation of an article/content item (v3)
object
Object PHP class name
Article ID
Signature
Absolute URL
Short URL
Slug
API representation of a content type
object
Content Type ID
Name
Slug
Editor
Views count
Comments count
Average rating by customers
Total ratings count
Preview limit
Excluded from search engine flag
Title
First published date
Last update date
Categories
API representation of a category
object
Category ID
The page builder template to render a category, publication, article, author or keyword with (the layoutTemplate field of their views). Fetch the layout with GET /cms/layout/key/{key}, or GET /cms/layout/{id} when key is null.
object
Layout ID of the template
Example
31Stable key of the template; null when not set
Example
opinion-articleTemplate name
Example
Opinion articleWhy this template applies, most specific first: the content type (article templates only), the category itself, a parent category, or the publication; for author and keyword templates, the author or keyword itself
Example
categoryWhat the template is used for
Example
categoryID of the content type, category, publication, author or keyword
Example
14Category name
Seo name
Signature
Slug
Type ID or object
Parent category ID
Parent object
Image URL
Cover URL
Logo URL
Paid flag
PHP class name of the object
Absolute URL
CSS code
Template name
Tagline
Link parameter
Description
Meta description
Order
Page ID
Articles count
Allow comments flag
Access type of the category (e.g., public, restricted)
Status
Content length
Summary
Introduction
Premium flag
Free flag
Credits
Authors
API representation of an author
object
Author ID
The page builder template to render a category, publication, article, author or keyword with (the layoutTemplate field of their views). Fetch the layout with GET /cms/layout/key/{key}, or GET /cms/layout/{id} when key is null.
object
Layout ID of the template
Example
31Stable key of the template; null when not set
Example
opinion-articleTemplate name
Example
Opinion articleWhy this template applies, most specific first: the content type (article templates only), the category itself, a parent category, or the publication; for author and keyword templates, the author or keyword itself
Example
categoryWhat the template is used for
Example
categoryID of the content type, category, publication, author or keyword
Example
14URL to the author page
Author name
Image URL
Available image transformations in different sizes
object
Width in pixels
Height in pixels
URL to the transformed image
Cover image URL
Author email
Department
Editorial name (slug)
Short biography
Full description (HTML)
Name in latin characters
Country code or name
Google+ profile (legacy)
Twitter handle (without @)
Facebook username
LinkedIn profile
Instagram handle
Class name of the object
If this author was replaced, id of replacement
Source, if present
API representation of a sponsor
object
Sponsor ID
URL to the sponsor page
Sponsor name
Image URL
Attachments
API representation of an attachment (images, video, files)
object
Attachment ID
Name
Description
Type (image|video|file)
Public URL
Width in pixels
Height in pixels
Focal point as “x% y%”
Transforms (list of available image transforms)
object
Width in pixels
Height in pixels
URL of the transformed image
Additional urls per transform
object
Search title
Search description
Social title
API representation of a video
object
Video ID
Title
URL
Duration in seconds
Episode number
Status
Show ID
Show name
Show URL
Brief
Thumbnail URL
ThumbnailPlay URL
Filename/URL
Publish date
Views
Publish flag
Formats
API representation of a video format
object
Format
Filename/URL
CDN path
MIME type
Duration in seconds
Inline attachments
API representation of an attachment (images, video, files)
object
Attachment ID
Name
Description
Type (image|video|file)
Public URL
Width in pixels
Height in pixels
Focal point as “x% y%”
Transforms (list of available image transforms)
object
Width in pixels
Height in pixels
URL of the transformed image
Additional urls per transform
object
Search title
Search description
Social title
API representation of a video
object
Video ID
Title
URL
Duration in seconds
Episode number
Status
Show ID
Show name
Show URL
Brief
Thumbnail URL
ThumbnailPlay URL
Filename/URL
Publish date
Views
Publish flag
Formats
API representation of a video format
object
Format
Filename/URL
CDN path
MIME type
Duration in seconds
Files
API representation of an attachment (images, video, files)
object
Attachment ID
Name
Description
Type (image|video|file)
Public URL
Width in pixels
Height in pixels
Focal point as “x% y%”
Transforms (list of available image transforms)
object
Width in pixels
Height in pixels
URL of the transformed image
Additional urls per transform
object
Search title
Search description
Social title
API representation of a video
object
Video ID
Title
URL
Duration in seconds
Episode number
Status
Show ID
Show name
Show URL
Brief
Thumbnail URL
ThumbnailPlay URL
Filename/URL
Publish date
Views
Publish flag
Formats
API representation of a video format
object
Format
Filename/URL
CDN path
MIME type
Duration in seconds
Videos
API representation of an attachment (images, video, files)
object
Attachment ID
Name
Description
Type (image|video|file)
Public URL
Width in pixels
Height in pixels
Focal point as “x% y%”
Transforms (list of available image transforms)
object
Width in pixels
Height in pixels
URL of the transformed image
Additional urls per transform
object
Search title
Search description
Social title
API representation of a video
object
Video ID
Title
URL
Duration in seconds
Episode number
Status
Show ID
Show name
Show URL
Brief
Thumbnail URL
ThumbnailPlay URL
Filename/URL
Publish date
Views
Publish flag
Formats
API representation of a video format
object
Format
Filename/URL
CDN path
MIME type
Duration in seconds
Keywords
API representation of a keyword
object
Keyword ID
The page builder template to render a category, publication, article, author or keyword with (the layoutTemplate field of their views). Fetch the layout with GET /cms/layout/key/{key}, or GET /cms/layout/{id} when key is null.
object
Layout ID of the template
Example
31Stable key of the template; null when not set
Example
opinion-articleTemplate name
Example
Opinion articleWhy this template applies, most specific first: the content type (article templates only), the category itself, a parent category, or the publication; for author and keyword templates, the author or keyword itself
Example
categoryWhat the template is used for
Example
categoryID of the content type, category, publication, author or keyword
Example
14Name
URL
Slug
Description
Articles count
If this keyword was replaced, id of replacement
Display name
Translations
Collection id
Image URL
Elements (youtube, liveblogs, polls, quiz)
object
Live blogs in the article
API representation of a liveblog
object
LiveBlog ID
Title
Start date
End date
Websocket room name
Preview messages
API representation of a liveblog message
object
Message ID
Timestamp
Text
Title
Minute
Additional minute value
Type id
Image letter/character
Highlight flag
HTML content
User display name
User thumbnail URL
Polls in the article
API representation of a poll
object
Poll ID
Timestamp
Question
Choices
Votes
Slug
API representation of a poll category
object
Category ID
Name
Image
Results
object
Number of votes
Percentage of total votes
Message
Only logged in
End date
Voted (only true when voting)
Voted choice (only valid when voting)
Closed
Quizzes in the article
API representation of a quiz
object
Quiz ID
Name
Timestamp
Image
Cover picture
Description
Share
Template
Allow form
Introduction message
Thankyou message
Terms
Status
Questions
API representation of a quiz question
object
Question ID
Title
Result text
Image
Choices
API representation of a quiz answer
object
Answer ID
Answer text
Letter
Image
Correct
Points
Votes
Results
API representation of a quiz result
object
Result ID
Result
Image
Letter
Result text
Share
Twitter share
Minimum
Maximum
Votes
YouTube video IDs in the article
SEO object
object
Search title
Search description
Social title
Social description
Social image URL
Time to read (seconds)
Access control enabled
Access allowed
Status
Cached flag
API representation of a category
object
Category ID
The page builder template to render a category, publication, article, author or keyword with (the layoutTemplate field of their views). Fetch the layout with GET /cms/layout/key/{key}, or GET /cms/layout/{id} when key is null.
object
Layout ID of the template
Example
31Stable key of the template; null when not set
Example
opinion-articleTemplate name
Example
Opinion articleWhy this template applies, most specific first: the content type (article templates only), the category itself, a parent category, or the publication; for author and keyword templates, the author or keyword itself
Example
categoryWhat the template is used for
Example
categoryID of the content type, category, publication, author or keyword
Example
14Category name
Seo name
Signature
Slug
Type ID or object
Parent category ID
Parent object
Image URL
Cover URL
Logo URL
Paid flag
PHP class name of the object
Absolute URL
CSS code
Template name
Tagline
Link parameter
Description
Meta description
Order
Page ID
Articles count
Allow comments flag
Access type of the category (e.g., public, restricted)
Status
API representation of an author
object
Author ID
The page builder template to render a category, publication, article, author or keyword with (the layoutTemplate field of their views). Fetch the layout with GET /cms/layout/key/{key}, or GET /cms/layout/{id} when key is null.
object
Layout ID of the template
Example
31Stable key of the template; null when not set
Example
opinion-articleTemplate name
Example
Opinion articleWhy this template applies, most specific first: the content type (article templates only), the category itself, a parent category, or the publication; for author and keyword templates, the author or keyword itself
Example
categoryWhat the template is used for
Example
categoryID of the content type, category, publication, author or keyword
Example
14URL to the author page
Author name
Image URL
Available image transformations in different sizes
object
Width in pixels
Height in pixels
URL to the transformed image
Cover image URL
Author email
Department
Editorial name (slug)
Short biography
Full description (HTML)
Name in latin characters
Country code or name
Google+ profile (legacy)
Twitter handle (without @)
Facebook username
LinkedIn profile
Instagram handle
Class name of the object
If this author was replaced, id of replacement
object
object
Article API v3 image: url, url_
object
object
Example
youtubeExample
{ "id": "b1", "type": "content_list", "variant": "lead_grid", "variantOptions": { "leadBadge": "TOP STORY", "showByline": false }, "settings": { "source": { "kind": "section", "section": "top_stories" }, "header": { "title": "Top stories", "link": { "type": "category", "value": 12 } }, "dedupe": true }, "responsive": { "lg": { "variant": "lead_grid", "variantOptions": { "leadBadge": "TOP STORY", "showByline": false }, "limit": 7 }, "md": { "variant": "lead_grid", "variantOptions": { "leadBadge": "TOP STORY", "showByline": false }, "limit": 7 }, "xs": { "variant": "compact_byline", "variantOptions": [], "limit": 4 } }, "visibility": { "lg": true, "md": true, "xs": true }, "limit": 7, "data": [ { "id": 101, "title": "Example story" } ]}External lists the frontend must provide (blocks with source.kind: "external"), by name, with the number of items needed so every external block is filled: fetch that many items (e.g. the category being rendered) and give each external block its slice (block.stream). Empty object when the layout has no external lists.
object
object
Items to fetch for this list (largest offset + limit of its blocks)
Example
{ "main": { "items": 20 }}No published layout with this key, or page builder not enabled