Details
-
Improvement
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
Operating System: Linux
Platform: PC
Description
There are some issues that are concerning when looking at the NB APIs.
A collection endpoint is /
{containerName}/subnet/all vs /{containerName}/nodes
also there's a difference in the usage of POST vs PUT for creation of new objects.
POST /controller/nb/v2/staticroute/
PUT /controller/nb/v2/flow/{containerName}
/node/
{nodeType}/
{nodeId}/static-flow/
{name}