4 "description": "monitoring of bindings and internals",
7 "x-binding-c-generator": {
21 "url": "ws://{host}:{port}/api/monitor",
22 "description": "The API server.",
25 "default": "localhost"
33 "$ref": "#/components/schemas/afb-event"
41 "$ref": "#/components/schemas/afb-reply-v1"
44 "$ref": "#/components/schemas/afb-event-v1"
47 "title": "Generic response.",
49 "required": [ "jtype", "request" ],
57 "required": [ "status" ],
59 "status": { "type": "string" },
60 "info": { "type": "string" },
61 "token": { "type": "string" },
62 "uuid": { "type": "string" },
63 "reqid": { "type": "string" }
66 "response": { "type": "object" }
71 "required": [ "jtype", "event" ],
77 "event": { "type": "string" },
78 "data": { "type": "object" }
83 { "$ref": "#/components/schemas/verbosity-map" },
84 { "$ref": "#/components/schemas/verbosity-level" }
90 "verbosity": { "$ref": "#/components/schemas/get-verbosity" },
91 "apis": { "$ref": "#/components/schemas/get-apis" }
97 "verbosity": { "$ref": "#/components/schemas/verbosity-map" },
98 "apis": { "type": "object" }
103 { "type": "boolean" },
104 { "type": "array", "items": { "type": "string" } },
110 { "type": "boolean" },
111 { "type": "array", "items": { "type": "string" } },
117 "patternProperties": { "^.*$": { "$ref": "#/components/schemas/verbosity-level" } }
120 "enum": [ "debug", 3, "info", 2, "notice", "warning", 1, "error", 0 ]
124 { "type": "array", "items": { "$ref": "#/components/schemas/trace-add-object" } },
125 { "$ref": "#/components/schemas/trace-add-any" }
130 { "$ref": "#/components/schemas/trace-add-request" },
131 { "$ref": "#/components/schemas/trace-add-object" }
134 "trace-add-object": {
137 "name": { "type": "string", "description": "name of the generated event", "default": "trace" },
138 "tag": { "type": "string", "description": "tag for grouping traces", "default": "trace" },
139 "api": { "type": "string", "description": "api for requests, daemons and services" },
140 "verb": { "type": "string", "description": "verb for requests" },
141 "uuid": { "type": "string", "description": "uuid of session for requests" },
142 "pattern": { "type": "string", "description": "pattern for events" },
143 "request": { "$ref": "#/components/schemas/trace-add-request" },
144 "daemon": { "$ref": "#/components/schemas/trace-add-daemon" },
145 "service": { "$ref": "#/components/schemas/trace-add-service" },
146 "event": { "$ref": "#/components/schemas/trace-add-event" },
147 "session": { "$ref": "#/components/schemas/trace-add-session" },
148 "for": { "$ref": "#/components/schemas/trace-add" }
151 { "tag": "1", "for": [ "common", { "api": "xxx", "request": "*", "daemon": "*", "service": "*" } ] }
154 "trace-add-request": {
156 { "type": "array", "items": { "$ref": "#/components/schemas/trace-request-names" } },
157 { "$ref": "#/components/schemas/trace-request-names" }
160 "trace-request-names": {
161 "title": "name of traceable items of requests",
191 "subcallsync_result",
199 "trace-add-daemon": {
201 { "type": "array", "items": { "$ref": "#/components/schemas/trace-daemon-names" } },
202 { "$ref": "#/components/schemas/trace-daemon-names" }
205 "trace-daemon-names": {
206 "title": "name of traceable items of daemons",
211 "event_broadcast_after",
212 "event_broadcast_before",
220 "require_api_result",
222 "rootdir_open_locale",
227 "trace-add-service": {
229 { "type": "array", "items": { "$ref": "#/components/schemas/trace-service-names" } },
230 { "$ref": "#/components/schemas/trace-service-names" }
233 "trace-service-names": {
234 "title": "name of traceable items of services",
250 { "type": "array", "items": { "$ref": "#/components/schemas/trace-event-names" } },
251 { "$ref": "#/components/schemas/trace-event-names" }
254 "trace-event-names": {
255 "title": "name of traceable items of events",
270 "trace-add-session": {
272 { "type": "array", "items": { "$ref": "#/components/schemas/trace-session-names" } },
273 { "$ref": "#/components/schemas/trace-session-names" }
276 "trace-session-names": {
277 "title": "name of traceable items for sessions",
292 { "type": "boolean" },
296 "event": { "anyOf": [ { "type": "string" }, { "type": "array", "items": "string" } ] },
297 "tag": { "anyOf": [ { "type": "string" }, { "type": "array", "items": "string" } ] },
298 "uuid": { "anyOf": [ { "type": "string" }, { "type": "array", "items": "string" } ] }
307 "description": "Get monitoring data.",
308 "x-permissions": { "session": "check" },
315 "schema": { "$ref": "#/components/schemas/get-verbosity" }
321 "schema": { "$ref": "#/components/schemas/get-apis" }
326 "description": "A complex object array response",
328 "application/json": {
330 "$ref": "#/components/schemas/afb-reply"
339 "description": "Set monitoring actions.",
340 "x-permissions": { "session": "check" },
347 "schema": { "$ref": "#/components/schemas/set-verbosity" }
352 "description": "A complex object array response",
354 "application/json": {
356 "$ref": "#/components/schemas/afb-reply"
365 "description": "Set monitoring actions.",
366 "x-permissions": { "session": "check" },
373 "schema": { "$ref": "#/components/schemas/trace-add" }
379 "schema": { "$ref": "#/components/schemas/trace-drop" }
384 "description": "A complex object array response",
386 "application/json": {
388 "$ref": "#/components/schemas/afb-reply"
397 "description": "describes the session.",
398 "x-permissions": { "session": "check" },
403 "name": "refresh-token",
405 "schema": { "type": "boolean" }
410 "description": "A complex object array response",
412 "application/json": {
414 "$ref": "#/components/schemas/afb-reply"