浏览代码

[DOCS] Fix query parameters for restore API (#73015)

James Rodewig 4 年之前
父节点
当前提交
81de369635
共有 1 个文件被更改,包括 10 次插入8 次删除
  1. 10 8
      docs/reference/snapshot-restore/apis/restore-snapshot-api.asciidoc

+ 10 - 8
docs/reference/snapshot-restore/apis/restore-snapshot-api.asciidoc

@@ -99,6 +99,16 @@ Name of the repository to restore a snapshot from.
 (Required, string)
 Name of the snapshot to restore.
 
+[[restore-snapshot-api-query-params]]
+==== {api-query-parms-title}
+
+include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=master-timeout]
+
+`wait_for_completion`::
+(Optional, Boolean) If `true`, the request returns a response when the restore
+operation completes. If `false`, the request returns a response when the restore
+operation initializes. Defaults to `false`.
+
 [role="child_attributes"]
 [[restore-snapshot-api-request-body]]
 ==== {api-request-body-title}
@@ -204,14 +214,6 @@ include::{es-ref-dir}/snapshot-restore/restore-snapshot.asciidoc[tag=rename-rest
 (Optional, string)
 Defines the rename replacement string. See <<restore-snapshot-api-rename-pattern,`rename_pattern`>> for more information.
 
-`wait_for_completion`::
-(Optional, Boolean)
-If `false`, the request returns a response when the restore operation initializes.
-Defaults to `false`.
-+
-If `true`, the request returns a response when the restore operation
-completes.
-
 [[restore-snapshot-api-example]]
 ==== {api-examples-title}