Project created with:
Imports elements.
idof each element is uniqueparentIdcan be nullsize> 0- len(
info) ≤ 255 - in one request cannot be two elements with the same
id - no cyclic dependencies
{
"items": [
{
"id": "element_1_1",
"info": "exercitation tempor non",
"parentId": null,
"size": 123554
},
{
"id": "element_1_2",
"info": "nostrud laboris ea exercitation",
"parentId": "element_1_1",
"size": 41724467
},
{
"id": "element_1_3",
"info": "nostradamus",
"parentId": null,
"size": 4273784
}
]
}
Deletes element with given id and all of its children.
Returns element with given id and all of its children.
{
"id": "element_1_1",
"info": "exercitation tempor non",
"parentId": "",
"size": 123554,
"children": [
{
"id": "element_1_2",
"info": "nostrud laboris ea exercitation",
"parentId": "element_1_1",
"size": 41724467,
"children": null
}
]
}