aboutsummaryrefslogtreecommitdiffstats
path: root/ucs2-afb/ucs_apidef.json
diff options
context:
space:
mode:
authorTobias Jahnke <tobias.jahnke@microchip.com>2017-12-20 17:29:35 +0100
committerTobias Jahnke <tobias.jahnke@microchip.com>2017-12-20 17:29:35 +0100
commit24552c17d18bb703abe256f837c41cf694649f7e (patch)
treed0128fdeb74dd0ce433f9fd79736acdb41d8f0d3 /ucs2-afb/ucs_apidef.json
parentdef4ba56e84ba75149d35475e098e1f8420532bb (diff)
agl-service-unicens: Rx message event
Bug-AGL: SPEC-1177 Implements /subscriberx function. Control Rx messages will be notified to subscribers. If no subscriber is assigned, then Rx messages are discarded. This avoids Rx stuck issues after receiving multiple messages. Change-Id: Idb71569b8ff6f651833d7d01c37a3eea866daf1d Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com>
Diffstat (limited to 'ucs2-afb/ucs_apidef.json')
-rw-r--r--ucs2-afb/ucs_apidef.json13
1 files changed, 12 insertions, 1 deletions
diff --git a/ucs2-afb/ucs_apidef.json b/ucs2-afb/ucs_apidef.json
index a150fb8..954e275 100644
--- a/ucs2-afb/ucs_apidef.json
+++ b/ucs2-afb/ucs_apidef.json
@@ -142,7 +142,18 @@
}
},
"/subscribe": {
- "description": "Subscribe to UNICENS Events.",
+ "description": "Subscribe to network events.",
+ "get": {
+ "x-permissions": {
+ "$ref": "#/components/x-permissions/monitor"
+ },
+ "responses": {
+ "200": {"$ref": "#/components/responses/200"}
+ }
+ }
+ },
+ "/subscriberx": {
+ "description": "Subscribe to Rx control message events.",
"get": {
"x-permissions": {
"$ref": "#/components/x-permissions/monitor"