...
Type | Format | Description |
---|---|---|
File | Yang file/Zip file | file containing the schema details. |
Text/String | Target anchor name or JSON payload as plain text |
|
Alternative approach
In RESTful interface we can have same endpoint for multiple APIs, given they are performing different operations, for example POST and GET.
So, we can have the following endpoints in CPS for the Delta feature:
- GET /v2/dataspaces/{dataspace-name}/anchors/{anchor-name}/delta
- POST /v2/dataspaces/{dataspace-name}/anchors/{anchor-name}/delta