[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
This commit is contained in:
Luca Cavanna 2018-08-10 14:12:42 +02:00 committed by GitHub
parent ae0c303dad
commit 40b0a3a014
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 16 additions and 9 deletions

View File

@ -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.

View File

@ -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[]

View File

@ -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

View File

@ -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