...
RESTful API implementation proposed as below to find out delta configuration between two anchors for a given dataspace, cps-path and descendants.
API : GET http://localhost:8080/v2/{dataspace-name}/anchors/{anchor-name}/delta?cps-path={cps-path}&descendants={descendants}?compareWithAnchor={anchor-name}
Request parameters:
parameter name | In | Required | Description |
---|---|---|---|
dataspace-name | Path | Yes | Dataspace name |
anchor-name | Path | Yes | Anchor Name |
cps-path | Query | Yes | Cps-path of the node |
descendants | Query | No | Number of descendants for delta 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 ---
Points from initial discussion
...