Is it possible to import a json file via the api with the mind map data in it? When I push this via the api using the import feature and the file zipped up and in .lucid ext the drawing gets created but no data in it.
here is the json
{
"version": 1,
"data":{
"collections": :
{
"id": "yq1GdOUoQ2Sy_b",
"name": "Mind Map Default State",
"primaryKey": :
"Id"
]
}
]
},
"pages": :
{
"id": "0_0",
"title": "Page 1",
"index": 0,
"items": {
"shapes": :
{
"id": "ohlKcKGdHc/pL1XU+jmYu5zRg3U=",
"class": "IntelligentMindMapRootNodeBlock",
"textAreas": :
{
"label": "t_Text",
"text": "Root"
},
{
"label": "Placeholder",
"text": ""
}
],
"customData": :],
"linkedData": :
{
"collectionId": "o4wnBlmn+IuGPtFPcc3qmxwNr0U=_b",
"data": :
{
"key": "Id",
"value": "7PxqIKZ5AX6c"
},
{
"key": "Text",
"value": "Root"
},
{
"key": "ParentId",
"value": ""
}
],
"primaryKeyValue": "\"7PxqIKZ5AX6c\""
}
]
},
{
"id": "Y6R4wyK2TH2k3CtbIQJQq7Dctx8=",
"class": "IntelligentMindMapNodeBlock",
"textAreas": :
{
"label": "t_Text",
"text": "Child1"
},
{
"label": "Placeholder",
"text": "plugin-default-block-placeholder"
}
],
"customData": :],
"linkedData": :
{
"collectionId": "o4wnBlmn+IuGPtFPcc3qmxwNr0U=_b",
"data": :
{
"key": "Id",
"value": "7Pxq9A69vFTo"
},
{
"key": "Text",
"value": "Child1"
},
{
"key": "ParentId",
"value": "7PxqIKZ5AX6c"
}
],
"primaryKeyValue": "\"7Pxq9A69vFTo\""
}
]
}
],
"lines": :
{
"id": "4LnrMAfkqaRgFkPlnV+E4sNpldw=",
"endpoint1": {
"style": "None",
"connectedTo": "ohlKcKGdHc/pL1XU+jmYu5zRg3U="
},
"endpoint2": {
"style": "None",
"connectedTo": "Y6R4wyK2TH2k3CtbIQJQq7Dctx8="
},
"textAreas": :],
"customData": :],
"linkedData": :]
}
],
"groups": :],
"layers": :]
},
"customData": :],
"linkedData": :]
}
]
}