From e9aa8f0519f75d8dc1d698e11596c4720cd977e5 Mon Sep 17 00:00:00 2001 From: Tobias Jahnke Date: Thu, 3 Aug 2017 16:48:18 +0200 Subject: adds node-availibility event and subscribe function --- ucs2-afb/ucs_apidef.json | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'ucs2-afb/ucs_apidef.json') diff --git a/ucs2-afb/ucs_apidef.json b/ucs2-afb/ucs_apidef.json index 24474e6..febd4c8 100644 --- a/ucs2-afb/ucs_apidef.json +++ b/ucs2-afb/ucs_apidef.json @@ -140,27 +140,8 @@ } } }, - "/volume": { - "description": "Set Master Volume.", - "get": { - "x-permissions": { - "$ref": "#/components/x-permissions/monitor" - }, - "parameters": [ - { - "in": "query", - "name": "value", - "required": true, - "schema": { "type": "integer" } - } - ], - "responses": { - "200": {"$ref": "#/components/responses/200"} - } - } - }, - "/monitor": { - "description": "Subscribe to Unicens Event.", + "/subscribe": { + "description": "Subscribe to UNICENS Events.", "get": { "x-permissions": { "$ref": "#/components/x-permissions/monitor" @@ -201,6 +182,25 @@ "200": {"$ref": "#/components/responses/200"} } } + }, + "/volume": { + "description": "Set Master Volume (DEPRECATED).", + "get": { + "x-permissions": { + "$ref": "#/components/x-permissions/monitor" + }, + "parameters": [ + { + "in": "query", + "name": "value", + "required": true, + "schema": { "type": "integer" } + } + ], + "responses": { + "200": {"$ref": "#/components/responses/200"} + } + } } } } -- cgit 1.2.3-korg