DraftPatch
A set of changes applied together. Describe the diagram you want, not the steps: the whole result is checked once, and the refusals are judged against it.
A block id may appear in only one of add, update and delete. Naming the same block
in two of them contradicts itself and answers 400, before your draft is read.
- Properties: 3blocksType: object
- Properties: 2connectionsType: object
Examples
{
"blocks": {
"update": [
{
"id": "welcome",
"params": {
"version": 3,
"text": "Hi there!",
"destination": "name"
}
}
],
"delete": [
"n2"
]
},
"connections": {
"delete": [
{
"source_path": "welcome",
"type": "$success"
}
]
}
}