From c6b60bd8912956c23b4bf8a6f7a44cf9aa415b83 Mon Sep 17 00:00:00 2001 From: Michael Basnight Date: Tue, 6 Aug 2019 14:09:06 -0500 Subject: [PATCH] [Docs] add missing snapshot restore reference --- .../client/documentation/SnapshotClientDocumentationIT.java | 2 +- docs/java-rest/high-level/supported-apis.asciidoc | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/client/rest-high-level/src/test/java/org/elasticsearch/client/documentation/SnapshotClientDocumentationIT.java b/client/rest-high-level/src/test/java/org/elasticsearch/client/documentation/SnapshotClientDocumentationIT.java index b8149c99a5473..a20e75b3e9249 100644 --- a/client/rest-high-level/src/test/java/org/elasticsearch/client/documentation/SnapshotClientDocumentationIT.java +++ b/client/rest-high-level/src/test/java/org/elasticsearch/client/documentation/SnapshotClientDocumentationIT.java @@ -301,7 +301,7 @@ public void testRestoreSnapshot() throws IOException { // tag::restore-snapshot-request-indices - request.indices("test_index"); + request.indices("test_index"); // <1> // end::restore-snapshot-request-indices String restoredIndexName = "restored_index"; diff --git a/docs/java-rest/high-level/supported-apis.asciidoc b/docs/java-rest/high-level/supported-apis.asciidoc index 386b09f37992a..a7b4ed6944763 100644 --- a/docs/java-rest/high-level/supported-apis.asciidoc +++ b/docs/java-rest/high-level/supported-apis.asciidoc @@ -198,6 +198,7 @@ The Java High Level REST Client supports the following Snapshot APIs: * <> * <> * <> +* <> 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