summaryrefslogtreecommitdiffstats
path: root/ucs2-afb/ucs_apidef.json
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2017-07-25 17:33:52 +0200
committerFulup Ar Foll <fulup@iot.bzh>2017-07-25 17:33:52 +0200
commita3cecd20f812c3fc71141a487443568c861c160a (patch)
treef7b1c23fd5af0385985ae3a2e3abf558ec5bc0f6 /ucs2-afb/ucs_apidef.json
parentd00d127abd72f632b36db1619f6282a8e5c61798 (diff)
Update HTML test page to new template. Added Config file selection from UI.
Diffstat (limited to 'ucs2-afb/ucs_apidef.json')
-rw-r--r--ucs2-afb/ucs_apidef.json21
1 files changed, 20 insertions, 1 deletions
diff --git a/ucs2-afb/ucs_apidef.json b/ucs2-afb/ucs_apidef.json
index 274ce73..c200f74 100644
--- a/ucs2-afb/ucs_apidef.json
+++ b/ucs2-afb/ucs_apidef.json
@@ -102,7 +102,26 @@
}
},
"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": {