summaryrefslogtreecommitdiffstats
path: root/ucs2-afb/ucs_apidef.json
diff options
context:
space:
mode:
authorTobias Jahnke <tobias.jahnke@microchip.com>2018-05-07 16:07:17 +0200
committerWalt Miner <walt@linux.com>2018-06-08 11:56:36 +0000
commit2c74cc419677a6470f537a2a374a3b31fee5da07 (patch)
tree0c140493100e49499506ff506f1f877ab4e5d238 /ucs2-afb/ucs_apidef.json
parent3285a51b4d6b6d5e8aeba1f3dda76806f931a6b9 (diff)
agl-service-unicens: prepare control message transmission in b64 format
Bug-AGL: SPEC-1177 Add new verb sendmessageb64. Change-Id: I4f7c67141ede4e5c5d5f60acb4dd93ca4b46c271 Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com> (cherry picked from commit 84c3e1b169038e181526b4fbadab3d8f9322717c)
Diffstat (limited to 'ucs2-afb/ucs_apidef.json')
-rw-r--r--ucs2-afb/ucs_apidef.json44
1 files changed, 44 insertions, 0 deletions
diff --git a/ucs2-afb/ucs_apidef.json b/ucs2-afb/ucs_apidef.json
index 954e275..623d58e 100644
--- a/ucs2-afb/ucs_apidef.json
+++ b/ucs2-afb/ucs_apidef.json
@@ -87,6 +87,9 @@
},
"monitor": {
"permission": "urn:AGL:permission:UNICENS:public:monitor"
+ },
+ "controller": {
+ "permission": "urn:AGL:permission:UNICENS:public:controller"
}
},
"responses": {
@@ -235,6 +238,47 @@
"200": {"$ref": "#/components/responses/200"}
}
}
+ },
+ "/sendmessageb64": {
+ "description": "Transmits a control message to a node.",
+ "get": {
+ "x-permissions": {
+ "$ref": "#/components/x-permissions/controller"
+ },
+ "parameters": [
+ {
+ "in": "query",
+ "name": "node",
+ "required": true,
+ "schema": {
+ "type": "integer",
+ "format": "int32"
+ }
+ },
+ {
+ "in": "query",
+ "name": "msgid",
+ "required": true,
+ "schema": {
+ "type": "integer",
+ "format": "int32"
+ }
+ },
+ {
+ "in": "query",
+ "name": "data",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "format": "byte"
+ },
+ "style": "simple"
+ }
+ ],
+ "responses": {
+ "200": {"$ref": "#/components/responses/200"}
+ }
+ }
}
}
}