...
# | Sub Interface | Method | Scenario | HTTP Response codes to be implemented | Notes |
---|---|---|---|---|---|
1 | Data | Proposed API: GET- /v1/dataspaces/{dataspace-name}/delta?firstAnchoranchor1={anchor-name}?secondAnchoranchor2={anchor-name}?xpath={xpath}&descendants={descendants} Proposed method name: <decision pending> | Generate a delta report between 2 anchors in a given dataspace. |
| AnchorNotFoundException should provide the name of missing anchor from the given two anchor names. |
...
Parameter name | In | Required | Description |
---|---|---|---|
dataspace-name | Path | Yes | Dataspace name |
firstAnchoranchor1 | Query | Yes | First Anchor Name/Reference Anchor |
secondAnchoranchor2 | Query | Yes | Second Anchor Name |
xpath | Query | Yes | xpath of the node |
descendants | Query | No | Number of descendants for delta comparison. |
...