Skip to content

Commit

Permalink
[Docs] add missing snapshot restore reference (#45256)
Browse files Browse the repository at this point in the history
  • Loading branch information
hub-cap committed Oct 28, 2019
1 parent c353ad7 commit 1ba57db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,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";
Expand Down
2 changes: 2 additions & 0 deletions docs/java-rest/high-level/supported-apis.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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[]
Expand All @@ -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

Expand Down

0 comments on commit 1ba57db

Please sign in to comment.