Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sample endpoints after change

After the update only the names of the endpoint will be updated, the path and query parameters will remain as it is. So, the updated APIs would be as follows:

#Sub interfaceExisting EndpointUpdated EndpointPath/Query ParametersResponse Codes
1Data

GET-/v2/dataspaces/{dataspace-name}/anchors/{anchor-name}/deltaAnchors

GET-/v2/dataspaces/{dataspace-name}/anchors/{anchor-name}/delta


Parameter NameInRequiredDescription
dataspace-namePathYesDataspace name
anchor-namePathYesFirst Anchor Name/Reference Anchor
descendantsQueryNoLevel of descendants for delta comparison. 
target-anchor-nameQueryYesSecond Anchor Name/Comparand Anchor
xpathQueryYesxpath of the node


  • 200 (OK)
    • success
  • 400
    • dataspace not found
      DataspaceNotFoundException
    • anchor not found
      AnchorNotFoundException
    • Data node not found
      DataNodeNotFoundException
    • invalid xpath
      CpsPathException
  • 500
    • unexpected error
2Data

POST- /v2/dataspaces/{dataspace-name}/anchors/{anchor-name}/deltaPayload

POST- /v2/dataspaces/{dataspace-name}/anchors/{anchor-name}/delta


Parameter NameInRequiredDescription
dataspace-namePathYesDataspace name
anchor-namePathYesFirst Anchor Name/Reference Anchor
xpathQueryYesxpath of the node
FileBody of content type: multipart/form-dataOptionalYang file/Zip file containing the schema details.
Text/StringBody of content type: multipart/form-dataYesJSON payload as plain text