]> git.proxmox.com Git - pmg-docs.git/commitdiff
update static schema info
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 29 Nov 2022 14:55:00 +0000 (15:55 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 29 Nov 2022 14:55:00 +0000 (15:55 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
api-viewer/apidata.js
pmgqm.1-synopsis.adoc

index db6899ba9077dc1b4be3b80b946d6df7bd85ada6..a1662b0673fe61c850ac5aa925e89609aee40d61 100644 (file)
@@ -12547,7 +12547,14 @@ var apiSchema = [
                                     "parameters" : {
                                        "additionalProperties" : 0,
                                        "properties" : {
+                                          "download" : {
+                                             "description" : "Whether the tasklog file should be downloaded. This parameter can't be used in conjunction with other parameters",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
                                           "limit" : {
+                                             "description" : "The amount of lines to read from the tasklog.",
                                              "minimum" : 0,
                                              "optional" : 1,
                                              "type" : "integer",
@@ -12560,6 +12567,7 @@ var apiSchema = [
                                              "typetext" : "<string>"
                                           },
                                           "start" : {
+                                             "description" : "Start at this line when reading the tasklog",
                                              "minimum" : 0,
                                              "optional" : 1,
                                              "type" : "integer",
@@ -17632,6 +17640,17 @@ var apiSchema = [
                            "type" : "integer",
                            "typetext" : "<integer> (1 - N)"
                         },
+                        "quarantine-type" : {
+                           "default" : "spam",
+                           "description" : "Query this type of quarantine for users.",
+                           "enum" : [
+                              "attachment",
+                              "virus",
+                              "spam"
+                           ],
+                           "optional" : 1,
+                           "type" : "string"
+                        },
                         "starttime" : {
                            "description" : "Only consider entries newer than 'starttime' (unix epoch). Default is 'now - 1day'.",
                            "minimum" : 0,
@@ -17866,6 +17885,14 @@ var apiSchema = [
                            "type" : "integer",
                            "typetext" : "<integer> (1 - N)"
                         },
+                        "pmail" : {
+                           "description" : "List entries for the user with this primary email address. Quarantine users cannot specify this parameter, but it is required for all other roles.",
+                           "maxLength" : 512,
+                           "minLength" : 3,
+                           "optional" : 1,
+                           "pattern" : "(?:[^\\s\\\\@]+\\@[^\\s\\/\\\\@]+)",
+                           "type" : "string"
+                        },
                         "starttime" : {
                            "description" : "Only consider entries newer than 'starttime' (unix epoch). Default is 'now - 1day'.",
                            "minimum" : 0,
@@ -17950,6 +17977,14 @@ var apiSchema = [
                            "type" : "integer",
                            "typetext" : "<integer> (1 - N)"
                         },
+                        "pmail" : {
+                           "description" : "List entries for the user with this primary email address. Quarantine users cannot specify this parameter, but it is required for all other roles.",
+                           "maxLength" : 512,
+                           "minLength" : 3,
+                           "optional" : 1,
+                           "pattern" : "(?:[^\\s\\\\@]+\\@[^\\s\\/\\\\@]+)",
+                           "type" : "string"
+                        },
                         "starttime" : {
                            "description" : "Only consider entries newer than 'starttime' (unix epoch). Default is 'now - 1day'.",
                            "minimum" : 0,
@@ -18205,7 +18240,8 @@ var apiSchema = [
                      "check" : [
                         "admin",
                         "qmanager",
-                        "audit"
+                        "audit",
+                        "quser"
                      ]
                   },
                   "returns" : {
index 9400f9442e676b21cae09d47b6eb70e732f492e0..373b55b608074b4dfbe9265a195124962ee8f671 100644 (file)
@@ -29,11 +29,11 @@ Generate and send spam report emails.
 
 Debug mode. Print raw email to stdout instead of sending them.
 
-`--receiver` `<string>` ::
+`--receiver` `(?:[^\s\\@]+\@[^\s\/\\@]+)` ::
 
 Generate report for a single email address. If not specified, generate reports for all users.
 
-`--redirect` `<string>` ::
+`--redirect` `(?:[^\s\\@]+\@[^\s\/\\@]+)` ::
 
 Redirect spam report email to this address.