Browse Source

[Docs] add missing snapshot restore reference (#45256)

Michael Basnight 6 years ago
parent
commit
db6adf8577

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

@@ -307,7 +307,7 @@ public class SnapshotClientDocumentationIT extends ESRestHighLevelClientTestCase
 
 
         // tag::restore-snapshot-request-indices
-        request.indices("test_index");
+        request.indices("test_index"); // <1>
         // end::restore-snapshot-request-indices
 
         String restoredIndexName = "restored_index";

+ 2 - 0
docs/java-rest/high-level/supported-apis.asciidoc

@@ -198,6 +198,7 @@ The Java High Level REST Client supports the following Snapshot APIs:
 * <<java-rest-high-snapshot-get-snapshots>>
 * <<java-rest-high-snapshot-snapshots-status>>
 * <<java-rest-high-snapshot-delete-snapshot>>
+* <<java-rest-high-snapshot-restore-snapshot>>
 
 include::snapshot/get_repository.asciidoc[]
 include::snapshot/create_repository.asciidoc[]
@@ -207,6 +208,7 @@ include::snapshot/create_snapshot.asciidoc[]
 include::snapshot/get_snapshots.asciidoc[]
 include::snapshot/snapshots_status.asciidoc[]
 include::snapshot/delete_snapshot.asciidoc[]
+include::snapshot/restore_snapshot.asciidoc[]
 
 == Tasks APIs