]> 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)
committerMarcin Haba <marcin.haba@bacula.pl>
Tue, 26 Sep 2023 12:47:39 +0000 (14:47 +0200)
gui/baculum/protected/API/openapi_baculum.json

index c4653de13560ed01fc25387a2d32ecbd762ee6b5..c6df4c177c698e9cccc2e88aa120f8953e400895 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"
+                                               }
                                        }
                                ]
                        }