Skip to content

Commit eb92f24

Browse files
committed
Fix get-snapshot-api :docs:integTest (#83273)
1 parent 508ad77 commit eb92f24

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

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)