-
Epic
-
Resolution: Done
-
Medium
-
None
-
None
-
Make CPS Core API more Restful
-
In Progress
This story is on making CDS-Core-API more restful. We figured out some issues and improvement items, e.g.
- always return Content-Type: "application/json" after creation of specific element (dataspace, anchor) and not Content-Type: "text/plain" or empty content
- adding endpoint to list all available dataspaces / information for one specific dataspace
- adding endpoint to retrieve existing schema-sets for one dataspace missing
- creating two root-nodes in parallel (even when the schema-set defines multiple root nodes)
- Creating a node: If a node contains a leaflist, currently it must be put in [] in the JSON body even if it only contains a single element. It may be difficult to distinguish between a leaflist and a leaf without looking into the YANG model, so a single element should be allowed to be submitted without [] (for lists, this is already possible).
1.
|
Analyse possible updates for cps-core-API | Closed | rajesh.kumar | |
2.
|
Implement possible updates for cps-core-API | Closed | rajesh.kumar |