...
# | ISSUES | Description | DECISIONS | |||||||||||||||||||||
1 | Persisting list elements as a top level node creates multiple list nodes .
| creating top level node with multiple list nodes are not persisted appropriately. For example, below is request payload with actual and expected responses.
| list is not a container and hence top-level list nodes are stored as collection of data node. it is same behavior for leaf list data node. | |||||||||||||||||||||
2 | Adding a list element to a root list node does not add element in parent list but in child list element (Add list element API). | By using add list element(s) API, when added an element to root level list node, data node is added to child node not to parent list node. details are provided
|
Endpoint
POST 'http://localhost:8080/cps/api/v2/dataspaces/{dataspace-name}/anchor/{anchor-name}/list-nodes