...
API : GET http://localhost:8080/v2/{dataspace-name}/anchors/{anchor-name}/delta?cps-pathxpath={cps-pathxpath}&descendants={descendants}?compareWithAnchor={anchor-name}
...
parameter name | In | Required | Description |
---|---|---|---|
dataspace-name | Path | Yes | Dataspace name |
anchor-name | Path | Yes | Anchor Name |
cps-pathxpath | Query | Yes | Cps-path xpath of the node node |
descendants | Query | No | Number of descendants for delta comparison comparison. |
compareWithAnchor | Query | Yes | another anchor name for delta comparison |
...
Response Body: Response body should contain anchors delta report (added/deleted/modified configuration) as below.--- TBD ---
[
{"action": "ADD", "xpath":"/bookstore/categories/[@code=3]", "payload":{"code":3,"name":"kidz"}},
{"action": "DELETE", "xpath":"/bookstore/categories/[@code=1]", "payload":{"code":1,"name":"Fiction"}},
{"action": "UPDATE", "xpath":"/bookstore/categories/[@code=2]", "payload":{"name":"Comic"}}
]
Points from initial discussion
...