1 | GET-/v2/dataspaces/{dataspace-name}/anchors/{anchor-name}/deltaAnchors | GET-/v2/dataspaces/{dataspace-name}/anchors/{source-anchor-name}/delta
GET-/v2/dataspaces/{dataspace-name}/anchors/{source-anchor-name}/delta?target-anchor-name={target-anchor-name}&descendants={descendants}&xpath={xpath} |
Parameter Name | In | Required | Description |
---|
dataspace-name | Path | Yes | Dataspace name | source-anchor-name | Path | Yes | First Anchor Name/Reference Anchor | target-anchor-name | Query | Yes | Second Anchor Name/Comparand Anchor | descendants | Query | No | Level of descendants for delta comparison. | xpath | Query | Yes | xpath of the node |
| - 200 (OK)
- 400
- dataspace not found
DataspaceNotFoundException - anchor not found
AnchorNotFoundException - Data node not found
DataNodeNotFoundException - invalid xpath
CpsPathException
- 500
|
2 | POST- /v2/dataspaces/{dataspace-name}/anchors/{anchor-name}/deltaPayload | POST- /v2/dataspaces/{dataspace-name}/anchors/{source-anchor-name}/delta
POST- /v2/dataspaces/{dataspace-name}/anchors/{source-anchor-name}/delta |
Parameter Name | In | Required | Description |
---|
dataspace-name | Path | Yes | Dataspace name | source-anchor-name | Path | Yes | First Anchor Name/Reference Anchor | xpath | Query | Yes | xpath of the node | File | Body (multipart/form-data TBC) | Optional | Yang file/Zip file containing the schema details. | Text/String | Body (multipart/form-data) | Yes | JSON payload as plain text |
|