diff options
author | tjahnk <tjahnk@users.noreply.github.com> | 2017-08-03 16:55:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-03 16:55:45 +0200 |
commit | 01475efcf23f47c13f44b057e42decb916117d67 (patch) | |
tree | 7e48967a3b2587cbb898173ba4da49fc0cdb6a50 /ucs2-afb/ucs_apidef.json | |
parent | c69b4176bc56eef84a78e9160ba7516b8c7cc9d7 (diff) | |
parent | e9aa8f0519f75d8dc1d698e11596c4720cd977e5 (diff) |
Merge pull request #18 from tjahnk/basic_events
Introduced basic event handling, adds subscribe function and node-availability event
Diffstat (limited to 'ucs2-afb/ucs_apidef.json')
-rw-r--r-- | ucs2-afb/ucs_apidef.json | 42 |
1 files changed, 21 insertions, 21 deletions
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"} + } + } } } } |