| 1 | { |
| 2 | "_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.", |
| 3 | "_author": "David M. Lee, II <[email protected]>", |
| 4 | "_svn_revision": "$Revision$", |
| 5 | "apiVersion": "2.0.0", |
| 6 | "swaggerVersion": "1.1", |
| 7 | "basePath": "http://localhost:8088/ari", |
| 8 | "resourcePath": "/api-docs/asterisk.{format}", |
| 9 | "since": [ |
| 10 | "12.0.0" |
| 11 | ], |
| 12 | "apis": [ |
| 13 | { |
| 14 | "path": "/asterisk/config/dynamic/{configClass}/{objectType}/{id}", |
| 15 | "description": "Asterisk dynamic configuration", |
| 16 | "operations": [ |
| 17 | { |
| 18 | "httpMethod": "GET", |
| 19 | "since": [ |
| 20 | "13.5.0" |
| 21 | ], |
| 22 | "summary": "Retrieve a dynamic configuration object.", |
| 23 | "nickname": "getObject", |
| 24 | "responseClass": "List[ConfigTuple]", |
| 25 | "parameters": [ |
| 26 | { |
| 27 | "name": "configClass", |
| 28 | "description": "The configuration class containing dynamic configuration objects.", |
| 29 | "paramType": "path", |
| 30 | "required": true, |
| 31 | "allowMultiple": false, |
| 32 | "dataType": "string" |
| 33 | }, |
| 34 | { |
| 35 | "name": "objectType", |
| 36 | "description": "The type of configuration object to retrieve.", |
| 37 | "paramType": "path", |
| 38 | "required": true, |
| 39 | "allowMultiple": false, |
| 40 | "dataType": "string" |
| 41 | }, |
| 42 | { |
| 43 | "name": "id", |
| 44 | "description": "The unique identifier of the object to retrieve.", |
| 45 | "paramType": "path", |
| 46 | "required": true, |
| 47 | "allowMultiple": false, |
| 48 | "dataType": "string" |
| 49 | } |
| 50 | ], |
| 51 | "errorResponses": [ |
| 52 | { |
| 53 | "code": 404, |
| 54 | "reason": "{configClass|objectType|id} not found" |
| 55 | } |
| 56 | ] |
| 57 | }, |
| 58 | { |
| 59 | "httpMethod": "PUT", |
| 60 | "since": [ |
| 61 | "13.5.0" |
| 62 | ], |
| 63 | "summary": "Create or update a dynamic configuration object.", |
| 64 | "nickname": "updateObject", |
| 65 | "responseClass": "List[ConfigTuple]", |
| 66 | "parameters": [ |
| 67 | { |
| 68 | "name": "configClass", |
| 69 | "description": "The configuration class containing dynamic configuration objects.", |
| 70 | "paramType": "path", |
| 71 | "required": true, |
| 72 | "allowMultiple": false, |
| 73 | "dataType": "string" |
| 74 | }, |
| 75 | { |
| 76 | "name": "objectType", |
| 77 | "description": "The type of configuration object to create or update.", |
| 78 | "paramType": "path", |
| 79 | "required": true, |
| 80 | "allowMultiple": false, |
| 81 | "dataType": "string" |
| 82 | }, |
| 83 | { |
| 84 | "name": "id", |
| 85 | "description": "The unique identifier of the object to create or update.", |
| 86 | "paramType": "path", |
| 87 | "required": true, |
| 88 | "allowMultiple": false, |
| 89 | "dataType": "string" |
| 90 | }, |
| 91 | { |
| 92 | "name": "fields", |
| 93 | "description": "The body object should have a value that is a list of ConfigTuples, which provide the fields to update. Ex. [ { \"attribute\": \"directmedia\", \"value\": \"false\" } ]", |
| 94 | "paramType": "body", |
| 95 | "required": false, |
| 96 | "dataType": "containers", |
| 97 | "allowMultiple": false |
| 98 | } |
| 99 | ], |
| 100 | "errorResponses": [ |
| 101 | { |
| 102 | "code": 400, |
| 103 | "reason": "Bad request body" |
| 104 | }, |
| 105 | { |
| 106 | "code": 403, |
| 107 | "reason": "Could not create or update object" |
| 108 | }, |
| 109 | { |
| 110 | "code": 404, |
| 111 | "reason": "{configClass|objectType} not found" |
| 112 | } |
| 113 | ] |
| 114 | }, |
| 115 | { |
| 116 | "httpMethod": "DELETE", |
| 117 | "since": [ |
| 118 | "13.5.0" |
| 119 | ], |
| 120 | "summary": "Delete a dynamic configuration object.", |
| 121 | "nickname": "deleteObject", |
| 122 | "responseClass": "void", |
| 123 | "parameters": [ |
| 124 | { |
| 125 | "name": "configClass", |
| 126 | "description": "The configuration class containing dynamic configuration objects.", |
| 127 | "paramType": "path", |
| 128 | "required": true, |
| 129 | "allowMultiple": false, |
| 130 | "dataType": "string" |
| 131 | }, |
| 132 | { |
| 133 | "name": "objectType", |
| 134 | "description": "The type of configuration object to delete.", |
| 135 | "paramType": "path", |
| 136 | "required": true, |
| 137 | "allowMultiple": false, |
| 138 | "dataType": "string" |
| 139 | }, |
| 140 | { |
| 141 | "name": "id", |
| 142 | "description": "The unique identifier of the object to delete.", |
| 143 | "paramType": "path", |
| 144 | "required": true, |
| 145 | "allowMultiple": false, |
| 146 | "dataType": "string" |
| 147 | } |
| 148 | ], |
| 149 | "errorResponses": [ |
| 150 | { |
| 151 | "code": 403, |
| 152 | "reason": "Could not delete object" |
| 153 | }, |
| 154 | { |
| 155 | "code": 404, |
| 156 | "reason": "{configClass|objectType|id} not found" |
| 157 | } |
| 158 | ] |
| 159 | } |
| 160 | ] |
| 161 | }, |
| 162 | { |
| 163 | "path": "/asterisk/info", |
| 164 | "description": "Asterisk system information (similar to core show settings)", |
| 165 | "operations": [ |
| 166 | { |
| 167 | "httpMethod": "GET", |
| 168 | "since": [ |
| 169 | "12.0.0" |
| 170 | ], |
| 171 | "summary": "Gets Asterisk system information.", |
| 172 | "nickname": "getInfo", |
| 173 | "responseClass": "AsteriskInfo", |
| 174 | "parameters": [ |
| 175 | { |
| 176 | "name": "only", |
| 177 | "description": "Filter information returned", |
| 178 | "paramType": "query", |
| 179 | "required": false, |
| 180 | "allowMultiple": true, |
| 181 | "dataType": "string", |
| 182 | "allowableValues": { |
| 183 | "valueType": "LIST", |
| 184 | "values": [ |
| 185 | "build", |
| 186 | "system", |
| 187 | "config", |
| 188 | "status" |
| 189 | ] |
| 190 | } |
| 191 | } |
| 192 | ] |
| 193 | } |
| 194 | ] |
| 195 | }, |
| 196 | { |
| 197 | "path": "/asterisk/ping", |
| 198 | "description": "Asterisk ping", |
| 199 | "operations": [ |
| 200 | { |
| 201 | "httpMethod": "GET", |
| 202 | "since": [ |
| 203 | "13.25.0", |
| 204 | "16.2.0" |
| 205 | ], |
| 206 | "summary": "Response pong message.", |
| 207 | "nickname": "ping", |
| 208 | "responseClass": "AsteriskPing" |
| 209 | } |
| 210 | ] |
| 211 | }, |
| 212 | { |
| 213 | "path": "/asterisk/modules", |
| 214 | "description": "Asterisk modules", |
| 215 | "operations": [ |
| 216 | { |
| 217 | "httpMethod": "GET", |
| 218 | "since": [ |
| 219 | "13.5.0" |
| 220 | ], |
| 221 | "summary": "List Asterisk modules.", |
| 222 | "nickname": "listModules", |
| 223 | "responseClass": "List[Module]" |
| 224 | } |
| 225 | ] |
| 226 | }, |
| 227 | { |
| 228 | "path": "/asterisk/modules/{moduleName}", |
| 229 | "description": "Asterisk module", |
| 230 | "operations": [ |
| 231 | { |
| 232 | "httpMethod": "GET", |
| 233 | "since": [ |
| 234 | "13.5.0" |
| 235 | ], |
| 236 | "summary": "Get Asterisk module information.", |
| 237 | "nickname": "getModule", |
| 238 | "responseClass": "Module", |
| 239 | "parameters": [ |
| 240 | { |
| 241 | "name": "moduleName", |
| 242 | "description": "Module's name", |
| 243 | "paramType": "path", |
| 244 | "required": true, |
| 245 | "allowMultiple": false, |
| 246 | "dataType": "string" |
| 247 | } |
| 248 | ], |
| 249 | "errorResponses": [ |
| 250 | { |
| 251 | "code": 404, |
| 252 | "reason": "Module could not be found in running modules." |
| 253 | }, |
| 254 | { |
| 255 | "code": 409, |
| 256 | "reason": "Module information could not be retrieved." |
| 257 | } |
| 258 | ] |
| 259 | }, |
| 260 | { |
| 261 | "httpMethod": "POST", |
| 262 | "since": [ |
| 263 | "13.5.0" |
| 264 | ], |
| 265 | "summary": "Load an Asterisk module.", |
| 266 | "nickname": "loadModule", |
| 267 | "responseClass": "void", |
| 268 | "parameters": [ |
| 269 | { |
| 270 | "name": "moduleName", |
| 271 | "description": "Module's name", |
| 272 | "paramType": "path", |
| 273 | "required": true, |
| 274 | "allowMultiple": false, |
| 275 | "dataType": "string" |
| 276 | } |
| 277 | ], |
| 278 | "errorResponses": [ |
| 279 | { |
| 280 | "code": 409, |
| 281 | "reason": "Module could not be loaded." |
| 282 | } |
| 283 | ] |
| 284 | }, |
| 285 | { |
| 286 | "httpMethod": "DELETE", |
| 287 | "since": [ |
| 288 | "13.5.0" |
| 289 | ], |
| 290 | "summary": "Unload an Asterisk module.", |
| 291 | "nickname": "unloadModule", |
| 292 | "responseClass": "void", |
| 293 | "parameters": [ |
| 294 | { |
| 295 | "name": "moduleName", |
| 296 | "description": "Module's name", |
| 297 | "paramType": "path", |
| 298 | "required": true, |
| 299 | "allowMultiple": false, |
| 300 | "dataType": "string" |
| 301 | } |
| 302 | ], |
| 303 | "errorResponses": [ |
| 304 | { |
| 305 | "code": 404, |
| 306 | "reason": "Module not found in running modules." |
| 307 | }, |
| 308 | { |
| 309 | "code": 409, |
| 310 | "reason": "Module could not be unloaded." |
| 311 | } |
| 312 | ] |
| 313 | }, |
| 314 | { |
| 315 | "httpMethod": "PUT", |
| 316 | "since": [ |
| 317 | "13.5.0" |
| 318 | ], |
| 319 | "summary": "Reload an Asterisk module.", |
| 320 | "nickname": "reloadModule", |
| 321 | "responseClass": "void", |
| 322 | "parameters": [ |
| 323 | { |
| 324 | "name": "moduleName", |
| 325 | "description": "Module's name", |
| 326 | "paramType": "path", |
| 327 | "required": true, |
| 328 | "allowMultiple": false, |
| 329 | "dataType": "string" |
| 330 | } |
| 331 | ], |
| 332 | "errorResponses": [ |
| 333 | { |
| 334 | "code": 404, |
| 335 | "reason": "Module not found in running modules." |
| 336 | }, |
| 337 | { |
| 338 | "code": 409, |
| 339 | "reason": "Module could not be reloaded." |
| 340 | } |
| 341 | ] |
| 342 | } |
| 343 | ] |
| 344 | }, |
| 345 | { |
| 346 | "path": "/asterisk/logging", |
| 347 | "description": "Asterisk log channels", |
| 348 | "operations": [ |
| 349 | { |
| 350 | "httpMethod": "GET", |
| 351 | "since": [ |
| 352 | "13.6.0" |
| 353 | ], |
| 354 | "summary": "Gets Asterisk log channel information.", |
| 355 | "nickname": "listLogChannels", |
| 356 | "responseClass": "List[LogChannel]" |
| 357 | } |
| 358 | ] |
| 359 | }, |
| 360 | { |
| 361 | "path": "/asterisk/logging/{logChannelName}", |
| 362 | "description": "Asterisk log channel", |
| 363 | "operations": [ |
| 364 | { |
| 365 | "httpMethod": "POST", |
| 366 | "since": [ |
| 367 | "13.6.0" |
| 368 | ], |
| 369 | "summary": "Adds a log channel.", |
| 370 | "nickname": "addLog", |
| 371 | "responseClass": "void", |
| 372 | "parameters": [ |
| 373 | { |
| 374 | "name": "logChannelName", |
| 375 | "description": "The log channel to add", |
| 376 | "paramType": "path", |
| 377 | "required": true, |
| 378 | "allowMultiple": false, |
| 379 | "dataType": "string" |
| 380 | }, |
| 381 | { |
| 382 | "name": "configuration", |
| 383 | "description": "levels of the log channel", |
| 384 | "paramType": "query", |
| 385 | "required": true, |
| 386 | "allowMultiple": false, |
| 387 | "dataType": "string" |
| 388 | } |
| 389 | ], |
| 390 | "errorResponses": [ |
| 391 | { |
| 392 | "code": 400, |
| 393 | "reason": "Bad request body" |
| 394 | }, |
| 395 | { |
| 396 | "code": 409, |
| 397 | "reason": "Log channel could not be created." |
| 398 | } |
| 399 | ] |
| 400 | }, |
| 401 | { |
| 402 | "httpMethod": "DELETE", |
| 403 | "since": [ |
| 404 | "13.6.0" |
| 405 | ], |
| 406 | "summary": "Deletes a log channel.", |
| 407 | "nickname": "deleteLog", |
| 408 | "responseClass": "void", |
| 409 | "parameters": [ |
| 410 | { |
| 411 | "name": "logChannelName", |
| 412 | "description": "Log channels name", |
| 413 | "paramType": "path", |
| 414 | "required": true, |
| 415 | "allowMultiple": false, |
| 416 | "dataType": "string" |
| 417 | } |
| 418 | ], |
| 419 | "errorResponses": [ |
| 420 | { |
| 421 | "code": 404, |
| 422 | "reason": "Log channel does not exist." |
| 423 | } |
| 424 | ] |
| 425 | } |
| 426 | ] |
| 427 | }, |
| 428 | { |
| 429 | "path": "/asterisk/logging/{logChannelName}/rotate", |
| 430 | "description": "Asterisk log channel", |
| 431 | "operations": [ |
| 432 | { |
| 433 | "httpMethod": "PUT", |
| 434 | "since": [ |
| 435 | "13.6.0" |
| 436 | ], |
| 437 | "summary": "Rotates a log channel.", |
| 438 | "nickname": "rotateLog", |
| 439 | "responseClass": "void", |
| 440 | "parameters": [ |
| 441 | { |
| 442 | "name": "logChannelName", |
| 443 | "description": "Log channel's name", |
| 444 | "paramType": "path", |
| 445 | "required": true, |
| 446 | "allowMultiple": false, |
| 447 | "dataType": "string" |
| 448 | } |
| 449 | ], |
| 450 | "errorResponses": [ |
| 451 | { |
| 452 | "code": 404, |
| 453 | "reason": "Log channel does not exist." |
| 454 | } |
| 455 | ] |
| 456 | } |
| 457 | ] |
| 458 | }, |
| 459 | { |
| 460 | "path": "/asterisk/variable", |
| 461 | "description": "Global variables", |
| 462 | "operations": [ |
| 463 | { |
| 464 | "httpMethod": "GET", |
| 465 | "since": [ |
| 466 | "12.0.0" |
| 467 | ], |
| 468 | "summary": "Get the value of a global variable.", |
| 469 | "nickname": "getGlobalVar", |
| 470 | "responseClass": "Variable", |
| 471 | "parameters": [ |
| 472 | { |
| 473 | "name": "variable", |
| 474 | "description": "The variable to get", |
| 475 | "paramType": "query", |
| 476 | "required": true, |
| 477 | "allowMultiple": false, |
| 478 | "dataType": "string" |
| 479 | } |
| 480 | ], |
| 481 | "errorResponses": [ |
| 482 | { |
| 483 | "code": 400, |
| 484 | "reason": "Missing variable parameter." |
| 485 | } |
| 486 | ] |
| 487 | }, |
| 488 | { |
| 489 | "httpMethod": "POST", |
| 490 | "since": [ |
| 491 | "12.0.0" |
| 492 | ], |
| 493 | "summary": "Set the value of a global variable.", |
| 494 | "nickname": "setGlobalVar", |
| 495 | "responseClass": "void", |
| 496 | "parameters": [ |
| 497 | { |
| 498 | "name": "variable", |
| 499 | "description": "The variable to set", |
| 500 | "paramType": "query", |
| 501 | "required": true, |
| 502 | "allowMultiple": false, |
| 503 | "dataType": "string" |
| 504 | }, |
| 505 | { |
| 506 | "name": "value", |
| 507 | "description": "The value to set the variable to", |
| 508 | "paramType": "query", |
| 509 | "required": false, |
| 510 | "allowMultiple": false, |
| 511 | "dataType": "string" |
| 512 | } |
| 513 | ], |
| 514 | "errorResponses": [ |
| 515 | { |
| 516 | "code": 400, |
| 517 | "reason": "Missing variable parameter." |
| 518 | } |
| 519 | ] |
| 520 | } |
| 521 | ] |
| 522 | } |
| 523 | ], |
| 524 | "models": { |
| 525 | "BuildInfo": { |
| 526 | "id": "BuildInfo", |
| 527 | "description": "Info about how Asterisk was built", |
| 528 | "properties": { |
| 529 | "os": { |
| 530 | "required": true, |
| 531 | "type": "string", |
| 532 | "description": "OS Asterisk was built on." |
| 533 | }, |
| 534 | "kernel": { |
| 535 | "required": true, |
| 536 | "type": "string", |
| 537 | "description": "Kernel version Asterisk was built on." |
| 538 | }, |
| 539 | "options": { |
| 540 | "required": true, |
| 541 | "type": "string", |
| 542 | "description": "Compile time options, or empty string if default." |
| 543 | }, |
| 544 | "machine": { |
| 545 | "required": true, |
| 546 | "type": "string", |
| 547 | "description": "Machine architecture (x86_64, i686, ppc, etc.)" |
| 548 | }, |
| 549 | "date": { |
| 550 | "required": true, |
| 551 | "type": "string", |
| 552 | "description": "Date and time when Asterisk was built." |
| 553 | }, |
| 554 | "user": { |
| 555 | "required": true, |
| 556 | "type": "string", |
| 557 | "description": "Username that build Asterisk" |
| 558 | } |
| 559 | } |
| 560 | }, |
| 561 | "SystemInfo": { |
| 562 | "id": "SystemInfo", |
| 563 | "description": "Info about Asterisk", |
| 564 | "properties": { |
| 565 | "version": { |
| 566 | "required": true, |
| 567 | "type": "string", |
| 568 | "description": "Asterisk version." |
| 569 | }, |
| 570 | "entity_id": { |
| 571 | "required": true, |
| 572 | "type": "string", |
| 573 | "description": "" |
| 574 | } |
| 575 | } |
| 576 | }, |
| 577 | "SetId": { |
| 578 | "id": "SetId", |
| 579 | "description": "Effective user/group id", |
| 580 | "properties": { |
| 581 | "user": { |
| 582 | "required": true, |
| 583 | "type": "string", |
| 584 | "description": "Effective user id." |
| 585 | }, |
| 586 | "group": { |
| 587 | "required": true, |
| 588 | "type": "string", |
| 589 | "description": "Effective group id." |
| 590 | } |
| 591 | } |
| 592 | }, |
| 593 | "ConfigInfo": { |
| 594 | "id": "ConfigInfo", |
| 595 | "description": "Info about Asterisk configuration", |
| 596 | "properties": { |
| 597 | "name": { |
| 598 | "required": true, |
| 599 | "type": "string", |
| 600 | "description": "Asterisk system name." |
| 601 | }, |
| 602 | "default_language": { |
| 603 | "required": true, |
| 604 | "type": "string", |
| 605 | "description": "Default language for media playback." |
| 606 | }, |
| 607 | "max_channels": { |
| 608 | "required": false, |
| 609 | "type": "int", |
| 610 | "description": "Maximum number of simultaneous channels." |
| 611 | }, |
| 612 | "max_open_files": { |
| 613 | "required": false, |
| 614 | "type": "int", |
| 615 | "description": "Maximum number of open file handles (files, sockets)." |
| 616 | }, |
| 617 | "max_load": { |
| 618 | "required": false, |
| 619 | "type": "double", |
| 620 | "description": "Maximum load avg on system." |
| 621 | }, |
| 622 | "setid": { |
| 623 | "required": true, |
| 624 | "type": "SetId", |
| 625 | "description": "Effective user/group id for running Asterisk." |
| 626 | } |
| 627 | } |
| 628 | }, |
| 629 | "StatusInfo": { |
| 630 | "id": "StatusInfo", |
| 631 | "description": "Info about Asterisk status", |
| 632 | "properties": { |
| 633 | "startup_time": { |
| 634 | "required": true, |
| 635 | "type": "Date", |
| 636 | "description": "Time when Asterisk was started." |
| 637 | }, |
| 638 | "last_reload_time": { |
| 639 | "required": true, |
| 640 | "type": "Date", |
| 641 | "description": "Time when Asterisk was last reloaded." |
| 642 | } |
| 643 | } |
| 644 | }, |
| 645 | "AsteriskInfo": { |
| 646 | "id": "AsteriskInfo", |
| 647 | "description": "Asterisk system information", |
| 648 | "properties": { |
| 649 | "build": { |
| 650 | "required": false, |
| 651 | "type": "BuildInfo", |
| 652 | "description": "Info about how Asterisk was built" |
| 653 | }, |
| 654 | "system": { |
| 655 | "required": false, |
| 656 | "type": "SystemInfo", |
| 657 | "description": "Info about the system running Asterisk" |
| 658 | }, |
| 659 | "config": { |
| 660 | "required": false, |
| 661 | "type": "ConfigInfo", |
| 662 | "description": "Info about Asterisk configuration" |
| 663 | }, |
| 664 | "status": { |
| 665 | "required": false, |
| 666 | "type": "StatusInfo", |
| 667 | "description": "Info about Asterisk status" |
| 668 | } |
| 669 | } |
| 670 | }, |
| 671 | "AsteriskPing": { |
| 672 | "id": "AsteriskPing", |
| 673 | "description": "Asterisk ping information", |
| 674 | "properties": { |
| 675 | "asterisk_id": { |
| 676 | "required": true, |
| 677 | "type": "string", |
| 678 | "description": "Asterisk id info" |
| 679 | }, |
| 680 | "ping": { |
| 681 | "required": true, |
| 682 | "type": "string", |
| 683 | "description": "Always string value is pong" |
| 684 | }, |
| 685 | "timestamp": { |
| 686 | "required": true, |
| 687 | "type": "string", |
| 688 | "description": "The timestamp string of request received time" |
| 689 | } |
| 690 | } |
| 691 | }, |
| 692 | "Module": { |
| 693 | "id": "Module", |
| 694 | "description": "Details of an Asterisk module", |
| 695 | "properties": { |
| 696 | "name": { |
| 697 | "type": "string", |
| 698 | "description": "The name of this module", |
| 699 | "required": true |
| 700 | }, |
| 701 | "description": { |
| 702 | "type": "string", |
| 703 | "description": "The description of this module", |
| 704 | "required": true |
| 705 | }, |
| 706 | "use_count": { |
| 707 | "type": "int", |
| 708 | "description": "The number of times this module is being used", |
| 709 | "required": true |
| 710 | }, |
| 711 | "status": { |
| 712 | "type": "string", |
| 713 | "description": "The running status of this module", |
| 714 | "required": true |
| 715 | }, |
| 716 | "support_level": { |
| 717 | "type": "string", |
| 718 | "description": "The support state of this module", |
| 719 | "required": true |
| 720 | } |
| 721 | } |
| 722 | }, |
| 723 | "LogChannel": { |
| 724 | "id": "LogChannel", |
| 725 | "description": "Details of an Asterisk log channel", |
| 726 | "properties": { |
| 727 | "channel": { |
| 728 | "type": "string", |
| 729 | "description": "The log channel path", |
| 730 | "required": true |
| 731 | }, |
| 732 | "type": { |
| 733 | "type": "string", |
| 734 | "description": "Types of logs for the log channel", |
| 735 | "required": true |
| 736 | }, |
| 737 | "status": { |
| 738 | "type": "string", |
| 739 | "description": "Whether or not a log type is enabled", |
| 740 | "required": true |
| 741 | }, |
| 742 | "configuration": { |
| 743 | "type": "string", |
| 744 | "description": "The various log levels", |
| 745 | "required": true |
| 746 | } |
| 747 | } |
| 748 | }, |
| 749 | "Variable": { |
| 750 | "id": "Variable", |
| 751 | "description": "The value of a channel variable", |
| 752 | "properties": { |
| 753 | "value": { |
| 754 | "required": true, |
| 755 | "type": "string", |
| 756 | "description": "The value of the variable requested" |
| 757 | } |
| 758 | } |
| 759 | }, |
| 760 | "Variables": { |
| 761 | "id": "Variables", |
| 762 | "description": "A dictionary of channel variables", |
| 763 | "properties": { |
| 764 | "variables": { |
| 765 | "required": true, |
| 766 | "type": "object", |
| 767 | "description": "A dictionary of channel variables" |
| 768 | } |
| 769 | } |
| 770 | }, |
| 771 | "ConfigTuple": { |
| 772 | "id": "ConfigTuple", |
| 773 | "description": "A key/value pair that makes up part of a configuration object.", |
| 774 | "properties": { |
| 775 | "attribute": { |
| 776 | "required": true, |
| 777 | "type": "string", |
| 778 | "description": "A configuration object attribute." |
| 779 | }, |
| 780 | "value": { |
| 781 | "required": true, |
| 782 | "type": "string", |
| 783 | "description": "The value for the attribute." |
| 784 | } |
| 785 | } |
| 786 | } |
| 787 | } |
| 788 | } |