Common API Types used within multiple API resources.
Representations
DataSourceConfiguration
dataSourceIdString | |
typeString | |
nameString | |
configurationAny |
DataSourceResponse
dataSourcePayloadObject | |
previewPayloadObject |
DataSources
Object containing the data sources configured for the page folder and referenced in the page.
Environment
productiondevelopment
Error
okBoolean | |
messageString |
Head
layoutElementsArray of LayoutElement |
LayoutElement
layoutElementIdString | |
configuration | |
tasticsArray of Tastic |
LayoutElementConfiguration
sizeFloat | |
mobileBoolean | |
tabletBoolean | |
desktopBoolean |
Locale
String value specifying linguistic and regional preferences using the IETF language tag format, as described in BCP 47. The format combines language, script, and region using hyphen-separated subtags. For example:
en, en-US, zh-Hans-SG.Main
layoutElementsArray of LayoutElement |
Page
Page represents the structure and data of the published page displayed through commercetools Frontend.
pageIdString | |
sections | |
stateString |
PageDataResponse
pageFolder | |
pagePage | |
data |
PageFolder
pageFolderIdString | |
isDynamicBoolean | |
pageFolderTypeString | |
configurationAny | |
dataSourceConfigurationsArray of DataSourceConfiguration | |
nameString | |
ancestorIdsMaterializedPathString | |
depthFloat | |
sortFloat |
PagePreviewContext
customerNameString |
PagePreviewDataResponse
pageFolder | |
pagePage | |
data | |
previewIdString | |
previewContext |
PathConfiguration
pathString | |
pathTranslationsArray of String |
ProjectContext
environment | Indicates whether the project is intended as production or development environment. |
localesArray of Locale | Locales that can be used in the project. |
defaultLocale | Locale used by default in the project. |
RedirectResponse
statusCodeFloat | |
reasonString | Can be "locale mismatch", "redirect exists for path", or "dynamic page redirect" |
targetTypeString | Can be "page folder", "link", or "unknown" |
targetString |
Sections
Tastic
tasticIdString | |
tasticTypeString | |
configuration |
TasticConfiguration
desktopBoolean | |
mobileBoolean | |
tabletBoolean |
ViewData
dataSources | Data sources configured for the page folder and referenced in the page. They are indexed by data source identifier. |