Skip to content

Commit 7749d6a

Browse files
committed
Fix get-snapshot-api :docs:integTest (#83273)
1 parent 5c4ddbc commit 7749d6a

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Comma-separated list of data streams and indices to include in the snapshot.
116116
Supports <<multi-index,multi-index syntax>>. Defaults to an empty array (`[]`),
117117
which includes all data streams and indices, including system indices.
118118
+
119-
To exclude all data streams and indices, use `-*` or `none`.
119+
To exclude all data streams and indices, use `-*`.
120120

121121
[id="{page-id}-feature-states"]
122122
`feature_states`::

docs/reference/snapshot-restore/apis/get-snapshot-api.asciidoc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,24 @@ PUT /_snapshot/my_repository
1818
}
1919
2020
PUT /_snapshot/my_repository/my_snapshot?wait_for_completion=true
21+
{
22+
"indices":"-*"
23+
}
2124
2225
PUT /_snapshot/my_repository/snapshot_1?wait_for_completion=true
26+
{
27+
"indices":"-*"
28+
}
29+
2330
PUT /_snapshot/my_repository/snapshot_2?wait_for_completion=true
31+
{
32+
"indices":"-*"
33+
}
34+
2435
PUT /_snapshot/my_repository/snapshot_3?wait_for_completion=true
36+
{
37+
"indices":"-*"
38+
}
2539
----
2640
// TESTSETUP
2741
////

0 commit comments

Comments
 (0)