Create Endpoint For Get Cm Handles By Name
[cps.git] / cps-ncmp-rest / docs / openapi / openapi.yml
index 12356b5..12a8318 100755 (executable)
@@ -1,5 +1,5 @@
 #  ============LICENSE_START=======================================================
-#  Copyright (C) 2021 Nordix Foundation
+#  Copyright (C) 2021-2022 Nordix Foundation
 #  Modifications Copyright (C) 2021 Pantheon.tech
 #  Modifications Copyright (C) 2021 Bell Canada
 #  ================================================================================
@@ -26,26 +26,17 @@ info:
 servers:
   - url: /ncmp
 paths:
-  /v1/cm-handles/{cm-handle}/node:
-    $ref: 'ncmproxy.yml#/nodeByCmHandleAndXpath'
+  /v1/ch/{cm-handle}/data/ds/ncmp-datastore:passthrough-operational:
+    $ref: 'ncmp.yml#/getResourceDataForPassthroughOperational'
 
-  /v1/cm-handles/{cm-handle}/list-node:
-    $ref: 'ncmproxy.yml#/listNodeByCmHandleAndXpath'
+  /v1/ch/{cm-handle}/data/ds/ncmp-datastore:passthrough-running:
+    $ref: 'ncmp.yml#/resourceDataForPassthroughRunning'
 
-  /v1/cm-handles/{cm-handle}/nodes/query:
-    $ref: 'ncmproxy.yml#/nodesByCmHandleAndCpsPath'
-
-  /v1/cm-handles/{cm-handle}/nodes:
-    $ref: 'ncmproxy.yml#/nodesByCmHandleAndXpath'
-
-  /v1/ch:
-    $ref: 'ncmproxy.yml#/updateDmiRegistration'
-
-  /v1/ch/{cm-handle}/data/ds/ncmp-datastore:passthrough-operational/{resourceIdentifier}:
-    $ref: 'ncmproxy.yml#/getResourceDataForPassthroughOperational'
+  /v1/ch/{cm-handle}/modules:
+    $ref: 'ncmp.yml#/fetchModuleReferencesByCmHandle'
 
-  /v1/ch/{cm-handle}/data/ds/ncmp-datastore:passthrough-running/{resourceIdentifier}:
-    $ref: 'ncmproxy.yml#/resourceDataForPassthroughRunning'
+  /v1/ch/searches:
+    $ref: 'ncmp.yml#/executeCmHandleSearch'
 
-  /v1/ch/{cm-handle}/modules:
-    $ref: 'ncmproxy.yml#/fetchModuleReferencesByCmHandle'
\ No newline at end of file
+  /v1/ch/{cm-handle}:
+    $ref: 'ncmp.yml#/retrieveCmHandleDetailsById'
\ No newline at end of file