Hello,
Is it possible to add Symbol
component with write api ?
this is how you add component, inside data.blocks
const builderIoBlogData = {
name: cleanHTML(post_title).trim(),
data: {
slug: post_name,
type: typeLookUp[post_type],
tags: tagIdsBuilderIoFormat,
blocks: [
{
'@type': '@builder.io/sdk:Element',
component: {
name: BLOG_POST_COMPONENT_NAME,
options: {
title: cleanHTML(post_title).trim(),
body: post_content_body,
date: post_date,
authors: authorIdsBuilderIoFormat,
},
},
},
],
},
};
So if i have symbol component (let say top navigation) with the following data, is it possible to add it when creating content with the write api ?
{
'@type': '@builder.io/core:Reference',
model: 'symbol',
id: '2be27330f6384c6fa539b29d5d7f489a',
},