]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
baculum: Add group_order_by and group_order_direction parameters to documentation
authorMarcin Haba <marcin.haba@bacula.pl>
Tue, 20 Jun 2023 11:10:27 +0000 (13:10 +0200)
committerMarcin Haba <marcin.haba@bacula.pl>
Mon, 3 Jul 2023 08:46:57 +0000 (10:46 +0200)
gui/baculum/protected/API/openapi_baculum.json

index cb21cd964bb79652adf31d7a2ce8e8662725c0b8..cff09ffee1c26c54d8563db64159191ad4bbf7ea 100644 (file)
                                                        "enum": ["asc", "desc"]
                                                }
                                        },
+                                       {
+                                               "name": "group_order_by",
+                                               "in": "query",
+                                               "required": false,
+                                               "description": "Sort groups by selected object property (default objectid).",
+                                               "schema": {
+                                                       "type": "string"
+                                               }
+                                       },
+                                       {
+                                               "name": "group_order_direction",
+                                               "in": "query",
+                                               "required": false,
+                                               "description": "Group order direction. It can be 'asc' (ascending order - default) or 'desc' (descending order)",
+                                               "schema": {
+                                                       "type": "string",
+                                                       "enum": ["asc", "desc"]
+                                               }
+                                       },
                                        {
                                                "name": "schedtime_from",
                                                "in": "query",