diff options
author | Tobias Jahnke <tjahnk@users.noreply.github.com> | 2017-07-31 11:46:47 +0200 |
---|---|---|
committer | Fulup Ar Foll <fulup@iot.bzh> | 2017-08-01 11:47:14 +0200 |
commit | 05e055b854e46a7bbd60b4c249ff267a000b9258 (patch) | |
tree | 62c2a055244f5692818da79dd1d0775837c9fc61 /ucs2-afb/ucs_apidef.json | |
parent | 41d1d8957f7bc7154e0abb2c276ee4ca52409a56 (diff) |
adds experimental i2cwrite command
Diffstat (limited to 'ucs2-afb/ucs_apidef.json')
-rw-r--r-- | ucs2-afb/ucs_apidef.json | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ucs2-afb/ucs_apidef.json b/ucs2-afb/ucs_apidef.json index c200f74..2b9714b 100644 --- a/ucs2-afb/ucs_apidef.json +++ b/ucs2-afb/ucs_apidef.json @@ -169,6 +169,25 @@ "200": {"$ref": "#/components/responses/200"} } } + }, + "/write_i2c": { + "description": "Writes I2C command to remote node.", + "get": { + "x-permissions": { + "$ref": "#/components/x-permissions/monitor" + }, + "parameters": [ + { + "in": "query", + "name": "command", + "required": true, + "schema": { "node": "integer" } + } + ], + "responses": { + "200": {"$ref": "#/components/responses/200"} + } + } } } } |