]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
baculum: Add documentation for os and version filters in clients endpoint
authorMarcin Haba <marcin.haba@bacula.pl>
Tue, 26 Sep 2023 12:47:39 +0000 (14:47 +0200)
committerEric Bollengier <eric@baculasystems.com>
Tue, 31 Oct 2023 15:00:30 +0000 (16:00 +0100)
gui/baculum/protected/API/openapi_baculum.json

index adc7dd326b7fea46b15cfe5dc182f80ebddcf874..f6d751a7119e8d5e58635bd81a33cd5f629a4c76 100644 (file)
                                                "schema": {
                                                        "type": "boolean"
                                                }
+                                       },
+                                       {
+                                               "name": "os",
+                                               "in": "query",
+                                               "required": false,
+                                               "description": "Operating system filter. Value provided here is sourrunded by regex .* and .* so there is possible to provide only a part of the operating system info. This parameter supports regexp and it is case insensitive.",
+                                               "schema": {
+                                                       "type": "string"
+                                               }
+                                       },
+                                       {
+                                               "name": "version",
+                                               "in": "query",
+                                               "required": false,
+                                               "description": "Client version filter. Value provided here is sourrunded by regex .* and .* so there is possible to provide only a part of the version. This parameter supports regexp and it is case insensitive.",
+                                               "schema": {
+                                                       "type": "string"
+                                               }
                                        }
                                ]
                        }