Browse Source

Fix get-snapshot-api :docs:integTest (#83273)

Joe Gallo 3 years ago
parent
commit
0935485684

+ 1 - 1
docs/reference/snapshot-restore/apis/create-snapshot-api.asciidoc

@@ -115,7 +115,7 @@ include::restore-snapshot-api.asciidoc[tag=cluster-state-contents]
 Comma-separated list of data streams and indices to include in the snapshot.
 Supports <<api-multi-index,multi-index syntax>>. Defaults to an empty array
 (`[]`), which includes all regular data streams and regular indices. To exclude
-all data streams and indices, use `-*` or `none`.
+all data streams and indices, use `-*`.
 +
 You can't use this parameter to include or exclude <<system-indices,system
 indices or system data streams>> from a snapshot. Use

+ 14 - 0
docs/reference/snapshot-restore/apis/get-snapshot-api.asciidoc

@@ -18,10 +18,24 @@ PUT /_snapshot/my_repository
 }
 
 PUT /_snapshot/my_repository/my_snapshot?wait_for_completion=true
+{
+  "indices":"-*"
+}
 
 PUT /_snapshot/my_repository/snapshot_1?wait_for_completion=true
+{
+  "indices":"-*"
+}
+
 PUT /_snapshot/my_repository/snapshot_2?wait_for_completion=true
+{
+  "indices":"-*"
+}
+
 PUT /_snapshot/my_repository/snapshot_3?wait_for_completion=true
+{
+  "indices":"-*"
+}
 ----
 // TESTSETUP
 ////