[pve-devel] [PATCH docs v2 5/5] update static files to include ha service motion return value schema

Daniel Kral d.kral at proxmox.com
Fri Jun 20 16:31:43 CEST 2025


Signed-off-by: Daniel Kral <d.kral at 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





More information about the pve-devel mailing list