Schemas

Delivery API 2.0 Documents endpoint schemas

BaseDocument_System

Abstract document base class

Properties

propertyrequiredtypedescriptiondetailsexample
type stringField present in deeper nested structure or includes section  
idYstringThe unique identifier for the document.  
pathYstringThe path to the document.  
nameYstringThe display name of the document.  
locale stringThe locale of the document.  
namespaceYstringThe namespace of the document.  
contentTypeYstringThe content type of the entry.  
lastModifiedYintegerThe timestamp of the last modification of the document.
  • format : int64
 
linksYobject   

GenericDocument_System

 

Properties

propertyrequiredtypedescriptiondetailsexample
fieldsYobjectDynamic fields based on specific document type.  

Html_System

Rich Text Field

Properties

propertyrequiredtypedescriptiondetailsexample
value stringRich text with internal documents links in rewritten to <a data-api={api href} data-content-type={doc type}> and internal links to images / assets rewritten to a URL to fetch the resource  
.meta objectoptional meta field which gets included when this object is used in 'Content Blocks' and which informs the consumer what kind of object this is in the array of content blocks  

GenericFieldGroup_System

Generic Field Group

Properties

propertyrequiredtypedescriptiondetailsexample
.meta objectoptional meta field which gets included when this object is used in 'Content Blocks' and which informs the consumer what kind of object this is in the array of content blocks