]> arthur.barton.de Git - netdata.git/blobdiff - web/netdata-swagger.json
updated to latest yaml
[netdata.git] / web / netdata-swagger.json
index fd7896bc0a25e7e7c79c201ff9d5d9a8b98fa1fb..ba674d5058d6947c7553947c30a15e98e8589018 100755 (executable)
                         "required": false,
                         "type": "number",
                         "format": "integer",
-                        "allowEmptyValue": false,
                         "default": 0
                     },
                     {
                             "datatable",
                             "datasource",
                             "html",
-                            "array"
+                            "array",
+                            "csvjsonarray"
                         ],
                         "default": "json",
                         "allowEmptyValue": false
                                 "absolute-sum",
                                 "null2zero",
                                 "objectrows",
-                                "google_json"
+                                "google_json",
+                                "percentage"
                             ],
-                            "collectionFormat": "pipes",
-                            "format": ""
+                            "collectionFormat": "pipes"
                         },
-                        "default": "seconds|jsonwrap",
+                        "default": [
+                            "seconds",
+                            "jsonwrap"
+                        ],
                         "allowEmptyValue": false
                     },
                     {
                         "description": "For JSONP responses, the callback function name.",
                         "required": false,
                         "type": "string",
-                        "allowEmptyValue": false
+                        "allowEmptyValue": true
                     },
                     {
                         "name": "filename",
                         "description": "Add Content-Disposition: attachment; filename=<filename> header to the response, that will instruct the browser to save the response with the given filename.",
                         "required": false,
                         "type": "string",
-                        "allowEmptyValue": false
+                        "allowEmptyValue": true
                     },
                     {
                         "name": "tqx",
                         "in": "query",
                         "description": "[Google Visualization API](https://developers.google.com/chart/interactive/docs/dev/implementing_data_source?hl=en) formatted parameter.",
                         "required": false,
-                        "type": "string"
+                        "type": "string",
+                        "allowEmptyValue": true
                     }
                 ],
                 "responses": {
             }
         }
     }
-}
+}
\ No newline at end of file