BlocksAdd
- Properties: 6blocksType: array of BlockWrite 1…required
- connectionsType: array of ConnectionProperties: 5
Connections to add along with the blocks. They may reference blocks in this request or blocks already in the diagram.
Examples
{
"blocks": [
{
"id": "n1",
"type": "send_text",
"params": {
"messages": [
{
"entity": "text",
"text": "Thanks!",
"id": "$0"
}
]
}
}
],
"connections": [
{
"id": "welcome.$success--n1",
"type": "$success",
"sourcePath": "welcome",
"targetPath": "n1"
}
]
}