3 "$schema": "file:///home/fulup/Workspace/AGL-AppFW/unicens2rc-afb/etc/openapi-schema.json",
8 "x-binding-c-generator": {
22 "url": "ws://{host}:{port}/api/monitor",
23 "description": "Unicens2 API.",
26 "default": "localhost"
34 "$ref": "#/components/schemas/afb-event"
42 "$ref": "#/components/schemas/afb-reply-v1"
45 "$ref": "#/components/schemas/afb-event-v1"
48 "title": "Generic response.",
50 "required": [ "jtype", "request" ],
58 "required": [ "status" ],
60 "status": { "type": "string" },
61 "info": { "type": "string" },
62 "token": { "type": "string" },
63 "uuid": { "type": "string" },
64 "reqid": { "type": "string" }
67 "response": { "type": "object" }
72 "required": [ "jtype", "event" ],
78 "event": { "type": "string" },
79 "data": { "type": "object" }
85 "permission": "urn:AGL:permission:UNICENS:public:initialise"
88 "permission": "urn:AGL:permission:UNICENS:public:monitor"
93 "description": "A complex object array response",
97 "$ref": "#/components/schemas/afb-reply"
106 "description": "Initialise Unicens2 lib from NetworkConfig.XML.",
109 "$ref": "#/components/x-permissions/config"
116 "schema": { "type": "string" }
120 "200": {"$ref": "#/components/responses/200"}
125 "description": "Subscribe to Unicens2 Events.",
128 "$ref": "#/components/x-permissions/monitor"
131 "200": {"$ref": "#/components/responses/200"}