From 9777a02c7540fdec145feb948b4bbf1cd44c3352 Mon Sep 17 00:00:00 2001 From: fulup Date: Sun, 13 Aug 2017 16:50:34 +0200 Subject: Fix AFB_MESSAGE with null arguments --- Controler-afb/ctl-apidef.json | 50 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 48 insertions(+), 2 deletions(-) (limited to 'Controler-afb/ctl-apidef.json') diff --git a/Controler-afb/ctl-apidef.json b/Controler-afb/ctl-apidef.json index fddf301..438a9ef 100644 --- a/Controler-afb/ctl-apidef.json +++ b/Controler-afb/ctl-apidef.json @@ -3,7 +3,7 @@ "$schema": "http:iot.bzh/download/openapi/schema-3.0/default-schema.json", "info": { "description": "", - "title": "polctl", + "title": "controler", "version": "1.0", "x-binding-c-generator": { "api": "control", @@ -11,7 +11,7 @@ "prefix": "ctlapi_", "postfix": "", "start": null, - "onevent": null, + "onevent": "DispatchOneEvent", "init": "CtlBindingInit", "scope": "", "private": false @@ -201,6 +201,52 @@ } } }, + "/multimedia": { + "description": "Request Access to Navigation Audio Channel.", + "get": { + "x-permissions": { + "$ref": "#/components/x-permissions/navigation" + }, + "parameters": [ + { + "in": "query", + "name": "zone", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/200" + } + } + } + }, + "/navigation": { + "description": "Request Access to Navigation Audio Channel.", + "get": { + "x-permissions": { + "$ref": "#/components/x-permissions/navigation" + }, + "parameters": [ + { + "in": "query", + "name": "zone", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/200" + } + } + } + }, "/lua_docall": { "description": "Execute LUA string script.", "get": { -- cgit 1.2.3-korg