summaryrefslogtreecommitdiffstats
path: root/Controler-afb/ctl-apidef.json
diff options
context:
space:
mode:
authorfulup <fulup.arfoll@iot.bzh>2017-08-13 16:50:34 +0200
committerfulup <fulup.arfoll@iot.bzh>2017-08-13 17:31:30 +0200
commit9777a02c7540fdec145feb948b4bbf1cd44c3352 (patch)
tree85f64445ef292938839092696c449d1b7c63216e /Controler-afb/ctl-apidef.json
parentb65178642727536972d0c04e53b2310be58beb2e (diff)
Fix AFB_MESSAGE with null arguments
Diffstat (limited to 'Controler-afb/ctl-apidef.json')
-rw-r--r--Controler-afb/ctl-apidef.json50
1 files changed, 48 insertions, 2 deletions
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": {