summaryrefslogtreecommitdiffstats
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
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-12-20 22:44:14 +0000
commit5502a08830020b981f767fc539a8921f4fbfc3d1 (patch)
treedab88e7fd1f3992e271083c55fe35321e072871d /ucs2-afb/ucs_apidef.json
parented3e37c3d413123a8026b40a30ef93b9c2db33d8 (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"