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
committerTobias Jahnke <tobias.jahnke@microchip.com>2018-05-07 16:12:59 +0200
commit84c3e1b169038e181526b4fbadab3d8f9322717c (patch)
tree4c12cc68e8f760f37107c26e627d4b8d16b5677a /ucs2-afb/ucs_apidef.json
parentfe3f7fe258ad72e430806266a26da40e2b9a1311 (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>
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"}
+ }
+ }
}
}
}