...
# | Sub Interface | Method | Scenario | HTTP Response codes to be implemented | Notes |
---|---|---|---|---|---|
1 | Data | Proposed API: GET- /v2/dataspaces/{dataspace-name}/anchors/{anchor-name}/delta?xpath={xpath}&descendants={descendants} Proposed method name: CpsDataApi.getDeltaByDataspaceAnchorAndPayload() | Generate a delta report between an anchor and JSON payload |
|
Request parameters:
Parameter name | In | Required | Description | ||||
---|---|---|---|---|---|---|---|
dataspace-name | Path | Yes | Dataspace name | ||||
anchor1anchor | QueryPath | Yes | First Anchor Name/Reference Anchor | anchor2 | Query | Yes | Second Anchor Name|
xpath | Query | Yes | xpath of the node | ||||
descendants | Query | No | Level of descendants for delta comparison. |
Response Body/Delta Report Format
...