Signed-off-by: Daniel Kral <d.k...@proxmox.com>
---
This patch is more of a show-case how the static files changed.

changes since v1:
    - NEW!

 api-viewer/apidata.js | 28 ++++++++++++++++++++++++++--
 1 file changed, 26 insertions(+), 2 deletions(-)

diff --git a/api-viewer/apidata.js b/api-viewer/apidata.js
index bbfc7b7..e07e3a5 100644
--- a/api-viewer/apidata.js
+++ b/api-viewer/apidata.js
@@ -7159,7 +7159,19 @@ const apiSchema = [
                                     },
                                     "protected" : 1,
                                     "returns" : {
-                                       "type" : "null"
+                                       "properties" : {
+                                          "requested-node" : {
+                                             "description" : "Node, which was 
requested to be migrated to.",
+                                             "optional" : 0,
+                                             "type" : "string"
+                                          },
+                                          "side-effects" : {
+                                             "description" : "Positively 
colocated HA resources, which are relocated to the same requested target node.",
+                                             "optional" : 1,
+                                             "type" : "array"
+                                          }
+                                       },
+                                       "type" : "object"
                                     }
                                  }
                               },
@@ -7202,7 +7214,19 @@ const apiSchema = [
                                     },
                                     "protected" : 1,
                                     "returns" : {
-                                       "type" : "null"
+                                       "properties" : {
+                                          "requested-node" : {
+                                             "description" : "Node, which was 
requested to be relocated to.",
+                                             "optional" : 0,
+                                             "type" : "string"
+                                          },
+                                          "side-effects" : {
+                                             "description" : "Positively 
colocated HA resources, which are relocated to the same requested target node.",
+                                             "optional" : 1,
+                                             "type" : "array"
+                                          }
+                                       },
+                                       "type" : "object"
                                     }
                                  }
                               },
-- 
2.39.5



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to