@cryptotaxi247 / netdata-1 / commits / 413d6a205

Add a missing parameter to the allmetrics endpoint in Swagger Editor (#7776)

Vladimir Kobal committed Jan 17, 2020 at 13:47 UTC 413d6a20539c50933553d6bc7f4f0cfbdeb5eed6
2 files changed +25
web/api/netdata-swagger.json
+14
@@ -561,6 +561,20 @@
561 "default": "shell"
562 }
563 },
564 + {
565 + "name": "variables",
566 + "in": "query",
567 + "description": "When enabled, netdata will expose various system configuration metrics.",
568 + "required": false,
569 + "schema": {
570 + "type": "string",
571 + "enum": [
572 + "yes",
573 + "no"
574 + ],
575 + "default": "no"
576 + }
577 + },
578 {
579 "name": "help",
580 "in": "query",
web/api/netdata-swagger.yaml
+11
@@ -481,6 +481,17 @@ paths:
481 - prometheus_all_hosts
482 - json
483 default: shell
484 + - name: variables
485 + in: query
486 + description: When enabled, netdata will expose various system
487 + configuration metrics.
488 + required: false
489 + schema:
490 + type: string
491 + enum:
492 + - yes
493 + - no
494 + default: no
495 - name: help
496 in: query
497 description: Enable or disable HELP lines in prometheus output.