This was forgotten in commit 52194140.

Signed-off-by: Michael Hanselmann <[email protected]>
---
 doc/rapi.rst |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/doc/rapi.rst b/doc/rapi.rst
index b01d217..354e747 100644
--- a/doc/rapi.rst
+++ b/doc/rapi.rst
@@ -1004,10 +1004,14 @@ It supports the following commands: ``POST``.
 ``POST``
 ~~~~~~~~
 
-No parameters are required, but the bool parameter ``live`` can be set
-to use live migration (if available).
+Query parameters:
+
+``live`` (bool)
+  If set, use live migration if available.
+``mode`` (string)
+  Sets migration mode, ``live`` for live migration and ``non-live`` for
+  non-live migration. Supported by Ganeti 2.2 and above.
 
-    migrate?live=[0|1]
 
 ``/2/nodes/[node_name]/role``
 +++++++++++++++++++++++++++++
-- 
1.7.0.4

Reply via email to