Skip to content

Commit 39031ff

Browse files
committed
[Docs] add missing snapshot restore reference (#45256)
1 parent ed3563a commit 39031ff

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ public void testRestoreSnapshot() throws IOException {
301301

302302

303303
// tag::restore-snapshot-request-indices
304-
request.indices("test_index");
304+
request.indices("test_index"); // <1>
305305
// end::restore-snapshot-request-indices
306306

307307
String restoredIndexName = "restored_index";

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ The Java High Level REST Client supports the following Snapshot APIs:
195195
* <<java-rest-high-snapshot-get-snapshots>>
196196
* <<java-rest-high-snapshot-snapshots-status>>
197197
* <<java-rest-high-snapshot-delete-snapshot>>
198+
* <<java-rest-high-snapshot-restore-snapshot>>
198199

199200
include::snapshot/get_repository.asciidoc[]
200201
include::snapshot/create_repository.asciidoc[]
@@ -204,6 +205,7 @@ include::snapshot/create_snapshot.asciidoc[]
204205
include::snapshot/get_snapshots.asciidoc[]
205206
include::snapshot/snapshots_status.asciidoc[]
206207
include::snapshot/delete_snapshot.asciidoc[]
208+
include::snapshot/restore_snapshot.asciidoc[]
207209

208210
== Tasks APIs
209211

0 commit comments

Comments
 (0)