Update HTML test page to new template. Added Config file selection from UI.
[apps/agl-service-unicens.git] / ucs2-afb / ucs_apidef.json
index 274ce73..c200f74 100644 (file)
     }
   },
   "paths": {
-    "/configure": {
+    "/listconfig": {
+      "description": "List Config Files",
+      "get": {
+        "x-permissions": {
+          "$ref": "#/components/x-permissions/config"
+        },
+        "parameters": [
+          {
+            "in": "query",
+            "name": "cfgpath",
+            "required": false,
+            "schema": { "type": "string" }
+          }
+        ],
+        "responses": {
+          "200": {"$ref": "#/components/responses/200"}
+        }
+      }
+    },
+    "/initialise": {
       "description": "configure Unicens2 lib from NetworkConfig.XML.",
       "get": {
         "x-permissions": {