Versions Compared

Key

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

...

#Sub InterfaceMethodScenario

HTTP Response codes

to be implemented

Notes
1Data

Proposed API:

POST- /v2/dataspaces/{dataspace-name}/anchors/{anchor-name}/deltadeltaByPayload?xpath={xpath}

Proposed method name:  CpsDataApi.getDeltaByDataspaceAnchorAndPayload()

                                   

Generate a delta report between an anchor and JSON payload

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

...

Content-Type: multipart/form-data

TypeFormatDescription
FileYang file/Zip filefile containing the schema details.
Text/StringJSON payload as plain textraw JSON payload

Response Body/Delta Report Format

...