Schemas

Content Management API schemas

Document

A document is a content item in the Content repository. See Content types and General concepts

Properties

propertyrequiredtypedescriptiondetailsexample
contentTypeYstringthe content type of the document (eg banner, newsArticle). The value for the contentType may optionally include the namespace prefix; this is only required in case the type is in a namespace other than 'brxsaas', eg mynamespace:content  
fieldsYarray[] of DocumentFieldfields of this document. A document field represents an attribute of the document, as specified in the document's content type. See Content type fields and General concepts  
nameYstringidentifying name of this document. Only valid characters are lowercase alphanumeric, dash, dot, and underscore. This value appears in URLs. The value must alsomatch the document name(last part of the path) in the document path.
  • pattern : ^[a-z0-9-._]*
 
displayNameYstringname of this document. Used in labels in the CMS UI and in Delivery API. The displayName can only be set if either is true:a. the document is new, b. the document only exists in the project specified in this operation  
localestringlocale of the document
pathYstringabsolute path of this document in the content repository  
system System   

DocumentField

A document field represents an attribute of the document, as specified in the document's content type. See Content type fields and General concepts

Properties

propertyrequiredtypedescriptiondetailsexample
nameYstringidentifying name of this field. Value needs to correspond to the name of a field definition in the document's content type
  • pattern : ^[A-Za-z0-9_]*
 
valueYarray[] of FieldValuevalue of a field. As fields can be multiple, this attribute is an array of values  

EmbeddedResourceFieldValue

See EmbeddedResource

Properties

propertyrequiredtypedescriptiondetailsexample
filenameYstringthe name of the file that is used as default value  
binarydataYstringthe binary data of the file that is used as default value. This data has to be encoded using base64  
mimeTypeYstringthe mimeType of the file to be uploaded  

FieldGroupFieldValue

See FieldGroup

Properties

propertyrequiredtypedescriptiondetailsexample
fieldsYobjectfields from FieldGroup or SelectableFieldGroup  

FieldValue

Value of a field

SelectableFieldGroupFieldValue

See Selectable FieldGroup

Properties

propertyrequiredtypedescriptiondetailsexample
fieldsYobjectfields from FieldGroup or SelectableFieldGroup  
fieldGroupTypeYstringthe name of the fieldgroup type this default value is provided for. Unless the field group type belongs to the default group ('brxsaas'), the name must be prefixed with the group name and the colon character, e.g. 'mygroup:myfieldgrouptype'  

System

system properties

Properties

propertyrequiredtypedescriptiondetailsexample
createdBy string   
createdAt date-time   
updatedBy string   
updatedAt date-time   

BaseDocument

The internal data of a document, including content type and fields

Properties

propertyrequiredtypedescriptiondetailsexample
contentTypeYstringthe content type of the document (eg banner, newsArticle). The value for the contentType may optionally include the namespace prefix; this is only required in case the type is in a namespace other than 'brxsaas', eg mynamespace:content  
fieldsYarray[] of DocumentFieldfields of this document. A document field represents an attribute of the document, as specified in the document's content type. See Content type fields and General concepts  

Page

 

Properties

propertyrequiredtypedescriptiondetailsexample
nameYstringidentifying name of this page. Only valid characters are lowercase alphanumeric, dot, dash and underscore. This value appears in URLs
  • pattern : ^[a-z0-9-._]*
 
displayNameYstringname of this page. Used in labels in the CMS UI and in Delivery API. The displayName can only be set if either is true:a. the page is new, b. the page only exists in the project specified in this operation  
localestringlocale of the document
layoutYstringthe page template  
documentYBaseDocument   
containers array[] of PageContainerarray of containers of this page  
system System   

PageComponent

array of components used in this container

Properties

propertyrequiredtypedescriptiondetailsexample
componentDefinition string   
componentConfigurations array[] of PageComponentConfigurationThe list of component configurations for this component  

PageComponentConfiguration

A configuration for a PageComponent

Properties

propertyrequiredtypedescriptiondetailsexample
id stringThe id of this configuration. The id of the default variant of a component should be DEFAULT, for the rest of the variants, the variant id is created in the format of campaign_id:campaign_segment_id or segmentation_id:segment_id, See Segmentation & Campaigns  
content BaseDocument   
parameters array[] of StringParameterThe list of component parameters for this configuration  

PageContainer

array of containers of this page

Properties

propertyrequiredtypedescriptiondetailsexample
pathYstringpath of the container  
components array[] of PageComponentarray of components used in this container  

StringParameter

The list of component parameters for this configuration

Properties

propertyrequiredtypedescriptiondetailsexample
name stringname of this parameter  
value stringvalue of this parameter  

ResouceBundleKey

It defines a key in a resource bundle which is used to retrieve a localized message from the resource bundle

Properties

propertyrequiredtypedescriptiondetailsexample
nameYstringidentifying the key name that is used to retrieve a localized message from the resource bundle, unique within the resource bundle. Valid characters are only lower/uppercase letters, numbers, and '-' '.' '_'
  • pattern : ^[a-zA-Z0-9-._]*
 
description stringdescription of this resource bundle key  

ResouceBundleMessage

a key-value pair that defines the message for a specific key in a value set.

Properties

propertyrequiredtypedescriptiondetailsexample
keyYstringidentifying key of the message. The keys that are defined as 'ResouceBundleKey' can be set here. Only valid characters are lower/uppercase letters, numbers, and '-' '.' '_'
  • pattern : ^[a-zA-Z0-9-._]*
 
value stringvalue of this resource bundle message  

ResourceBundle

A resource bundle is a collection of key-message pairs organized by value sets which are mostly locales. It simplify the creation of internationalized applications by allowing you to conveniently store all locale-specific messages in a single place.

Properties

propertyrequiredtypedescriptiondetailsexample
nameYstringidentifying name of this resource bundle. Only valid characters are lowercase alphanumeric, dash, dot, and underscore. This value appears in URLs. The value must alsomatch the document name(last part of the path) in the document path.
  • pattern : ^[a-z0-9-._]*
 
displayNameYstringname of this resource bundle. Used in labels in the CMS UI  
idYstringid of the resource bundle which is expected to be unique in content application. The resource bundle is assigned with this unique id.
  • pattern : ^[a-zA-Z0-9-._]*
 
pathYstringabsolute path of this resource bundle in the content repository  
keysYarray[] of ResouceBundleKeykeys of the resource bundle. The messages in a resource bundle are fetched by key values.  
valueSetsYarray[] of ResourceBundleValueSetvalue sets of the resource bundle. Typically, a value set represents all values for a specific locale inside the resource bundle.  
system System   

ResourceBundleValueSet

A value set represents all messages for a specific locale(mostly) inside the resource bundle.Default messages are defined in a specific value set named 'DEFAULT'.

Properties

propertyrequiredtypedescriptiondetailsexample
messages array[] of ResouceBundleMessagemessages in the value set  
nameYstringname of the message value set. Expects a string value. Default messages are defined in a specific value set named 'DEFAULT'.For locale specicific messages, locale names are defined as value set name such as 'nl' (Dutch) or 'en_US' (American English
  • pattern : ^[a-zA-Z0-9-._]*
 

DetailedTranslationSource

Detailed view of the translations of content

Properties

propertyrequiredtypedescriptiondetailsexample
path stringpath of the content  
type enumtype of the content
  • document
  • page
  • folder
 
translations array[] of DetailedTranslationTargetpages with merge or rebase errors  

DetailedTranslationTarget

Detailed view of the translation target

Properties

propertyrequiredtypedescriptiondetailsexample
path stringpath of the content  
locale stringlocale of the content  
status enumstatus of the content
  • linked
  • suggested
 

SimpleTranslationSource

Simple view of the translation suggestions of content

Properties

propertyrequiredtypedescriptiondetailsexample
path stringpath of the content  
translations array[] of stringspaths of the translation suggestions  

TranslationJob

Translation job operation details

Properties

propertyrequiredtypedescriptiondetailsexample
operationId stringgenerated unique id for the operation  
status enumstatus of the operation
  • COMPLETED
  • STARTING
  • STARTED
  • STOPPING
  • STOPPED
  • FAILED
  • ABANDONED
 
exitMessage stringexit message in case of operation failure  
readCount integernumber of records in input payload
  • format : int32
 
writeCount integerwritten items
  • format : int32
 
skipCount integerskipped items
  • format : int32
 
startTime date-timeoperation start time  
endTime date-timeoperation end time  
errorLog array[] of stringserror logs for failed linking operations