Skip to content

Commit 1ba57db

Browse files
committed
[Docs] add missing snapshot restore reference (#45256)
1 parent c353ad7 commit 1ba57db

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

client/rest-high-level/src/test/java/org/elasticsearch/client/documentation/SnapshotClientDocumentationIT.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ public void testRestoreSnapshot() throws IOException {
307307

308308

309309
// tag::restore-snapshot-request-indices
310-
request.indices("test_index");
310+
request.indices("test_index"); // <1>
311311
// end::restore-snapshot-request-indices
312312

313313
String restoredIndexName = "restored_index";

docs/java-rest/high-level/supported-apis.asciidoc

+2
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ The Java High Level REST Client supports the following Snapshot APIs:
198198
* <<java-rest-high-snapshot-get-snapshots>>
199199
* <<java-rest-high-snapshot-snapshots-status>>
200200
* <<java-rest-high-snapshot-delete-snapshot>>
201+
* <<java-rest-high-snapshot-restore-snapshot>>
201202

202203
include::snapshot/get_repository.asciidoc[]
203204
include::snapshot/create_repository.asciidoc[]
@@ -207,6 +208,7 @@ include::snapshot/create_snapshot.asciidoc[]
207208
include::snapshot/get_snapshots.asciidoc[]
208209
include::snapshot/snapshots_status.asciidoc[]
209210
include::snapshot/delete_snapshot.asciidoc[]
211+
include::snapshot/restore_snapshot.asciidoc[]
210212

211213
== Tasks APIs
212214

0 commit comments

Comments
 (0)