New standard GO project layout
[ric-plt/appmgr.git] / api / appmgr_rest_api.json
similarity index 98%
rename from rest_api/xapp_manager_rest_api.json
rename to api/appmgr_rest_api.json
index 951f199..c5a4c0b 100644 (file)
     }
   },
   "host": "hostname",
-  "basePath": "/ric/v1/xapps",
+  "basePath": "/ric/v1",
   "schemes": [
     "https",
     "http"
   ],
   "paths": {
-    "/ric/v1/health": {
+    "/health": {
       "get": {
         "summary": "Health check of xApp Manager",
         "operationId": "getHealth",
@@ -27,7 +27,7 @@
         }
       }
     },
-    "/ric/v1/xapps": {
+    "/xapps": {
       "post": {
         "summary": "Deploy a xapp",
         "operationId": "deployXapp",
@@ -91,7 +91,7 @@
         }
       }
     },
-    "/ric/v1/xapps/{xAppName}": {
+    "/xapps/{xAppName}": {
       "get": {
         "summary": "Returns the status of a given xapp",
         "operationId": "getXappByName",
         }
       }
     },
-    "/ric/v1/xapps/{xAppName}/instances/{xAppInstanceName}": {
+    "/xapps/{xAppName}/instances/{xAppInstanceName}": {
       "get": {
         "summary": "Returns the status of a given xapp",
         "operationId": "getXappInstanceByName",
         }
       }
     },
-    "/ric/v1/subscriptions": {
+    "/subscriptions": {
       "post": {
         "summary": "Subscribe event",
         "operationId": "addSubscription",
         }
       }
     },
-    "/ric/v1/subscriptions/{subscriptionId}": {
+    "/subscriptions/{subscriptionId}": {
       "get": {
         "summary": "Returns the information of subscription",
         "operationId": "getSubscriptionById",