]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
baculum: Update API documentation
authorMarcin Haba <marcin.haba@bacula.pl>
Tue, 13 Jul 2021 03:22:03 +0000 (05:22 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:25 +0000 (09:03 +0100)
gui/baculum/protected/API/openapi_baculum.json

index b577fd34ec83eaf4f44ee9f8d7d0c9d46769251f..472c55d48d98e61d4c672658dd5fe40f4e50533f 100644 (file)
                                        "type": "string",
                                        "pattern": "[a-zA-Z0-9:.-_ ]+"
                                }
+                       },
+                       "ApplyJobDefs": {
+                               "name": "apply_jobdefs",
+                               "in": "query",
+                               "description": "Apply JobDefs in results (this parameter is taken into account only for Job resources)",
+                               "required": false,
+                               "schema": {
+                                       "type": "boolean",
+                                       "default": 0
+                               }
                        }
                }
        },
                                "parameters": [
                                        {
                                                "$ref": "#/components/parameters/ComponentType"
+                                       },
+                                       {
+                                               "$ref": "#/components/parameters/ApplyJobDefs"
                                        }
                                ]
                        },
                                        },
                                        {
                                                "$ref": "#/components/parameters/ResourceType"
+                                       },
+                                       {
+                                               "$ref": "#/components/parameters/ApplyJobDefs"
                                        }
                                ]
                        },
                                        },
                                        {
                                                "$ref": "#/components/parameters/ResourceName"
+                                       },
+                                       {
+                                               "$ref": "#/components/parameters/ApplyJobDefs"
                                        }
                                ]
                        },