Pārlūkot izejas kodu

[DOCS] Adjust high-level client x-pack docs (#32747)

- Expose x-pack usage docs page which was not linked in supported-apis page
- make watcher a top-level dir outside of x-pack directory
- move x-pack info and usage pages to miscellaneous
- add new Watcher category to supported-apis (they were under miscellaneous)
- remove x-pack prefix from watcher docs titles
Luca Cavanna 7 gadi atpakaļ
vecāks
revīzija
40b0a3a014

+ 0 - 0
docs/java-rest/high-level/x-pack/x-pack-info.asciidoc → docs/java-rest/high-level/miscellaneous/x-pack-info.asciidoc


+ 1 - 1
docs/java-rest/high-level/x-pack/x-pack-usage.asciidoc → docs/java-rest/high-level/miscellaneous/x-pack-usage.asciidoc

@@ -12,7 +12,7 @@ retrieved using the `usage()` method:
 include-tagged::{doc-tests}/MiscellaneousDocumentationIT.java[x-pack-usage-execute]
 --------------------------------------------------
 
-[[java-rest-high-x-pack-info-response]]
+[[java-rest-high-x-pack-usage-response]]
 ==== Response
 
 The returned `XPackUsageResponse` contains a `Map` keyed by feature name.

+ 13 - 6
docs/java-rest/high-level/supported-apis.asciidoc

@@ -54,14 +54,12 @@ The Java High Level REST Client supports the following Miscellaneous APIs:
 * <<java-rest-high-main>>
 * <<java-rest-high-ping>>
 * <<java-rest-high-x-pack-info>>
-* <<java-rest-high-x-pack-watcher-put-watch>>
-* <<java-rest-high-x-pack-watcher-delete-watch>>
+* <<java-rest-high-x-pack-usage>>
 
 include::miscellaneous/main.asciidoc[]
 include::miscellaneous/ping.asciidoc[]
-include::x-pack/x-pack-info.asciidoc[]
-include::x-pack/watcher/put-watch.asciidoc[]
-include::x-pack/watcher/delete-watch.asciidoc[]
+include::miscellaneous/x-pack-info.asciidoc[]
+include::miscellaneous/x-pack-usage.asciidoc[]
 
 == Indices APIs
 
@@ -190,7 +188,6 @@ The Java High Level REST Client supports the following Scripts APIs:
 include::script/get_script.asciidoc[]
 include::script/delete_script.asciidoc[]
 
-
 == Licensing APIs
 
 The Java High Level REST Client supports the following Licensing APIs:
@@ -200,3 +197,13 @@ The Java High Level REST Client supports the following Licensing APIs:
 
 include::licensing/put-license.asciidoc[]
 include::licensing/get-license.asciidoc[]
+
+== Watcher APIs
+
+The Java High Level REST Client supports the following Watcher APIs:
+
+* <<java-rest-high-x-pack-watcher-put-watch>>
+* <<java-rest-high-x-pack-watcher-delete-watch>>
+
+include::watcher/put-watch.asciidoc[]
+include::watcher/delete-watch.asciidoc[]

+ 1 - 1
docs/java-rest/high-level/x-pack/watcher/delete-watch.asciidoc → docs/java-rest/high-level/watcher/delete-watch.asciidoc

@@ -1,5 +1,5 @@
 [[java-rest-high-x-pack-watcher-delete-watch]]
-=== X-Pack Delete Watch API
+=== Delete Watch API
 
 [[java-rest-high-x-pack-watcher-delete-watch-execution]]
 ==== Execution

+ 1 - 1
docs/java-rest/high-level/x-pack/watcher/put-watch.asciidoc → docs/java-rest/high-level/watcher/put-watch.asciidoc

@@ -1,5 +1,5 @@
 [[java-rest-high-x-pack-watcher-put-watch]]
-=== X-Pack Put Watch API
+=== Put Watch API
 
 [[java-rest-high-x-pack-watcher-put-watch-execution]]
 ==== Execution