diff options
author | Fulup Ar Foll <fulup@iot.bzh> | 2017-07-25 17:33:52 +0200 |
---|---|---|
committer | Fulup Ar Foll <fulup@iot.bzh> | 2017-07-25 17:33:52 +0200 |
commit | a3cecd20f812c3fc71141a487443568c861c160a (patch) | |
tree | f7b1c23fd5af0385985ae3a2e3abf558ec5bc0f6 /ucs2-afb/ucs_apidef.json | |
parent | d00d127abd72f632b36db1619f6282a8e5c61798 (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.json | 21 |
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": { |