2017-08-01 16:38:56 +08:00
|
|
|
[[java-rest-high-supported-apis]]
|
2017-02-24 20:52:36 +08:00
|
|
|
|
2018-02-03 00:19:50 +08:00
|
|
|
== Document APIs
|
2017-07-03 16:48:16 +08:00
|
|
|
|
2018-10-01 21:59:36 +08:00
|
|
|
:upid: {mainid}-document
|
|
|
|
:doc-tests-file: {doc-tests}/CRUDDocumentationIT.java
|
|
|
|
|
2018-02-03 00:19:50 +08:00
|
|
|
The Java High Level REST Client supports the following Document APIs:
|
2017-10-26 15:52:46 +08:00
|
|
|
|
2018-02-03 00:19:50 +08:00
|
|
|
[[single-doc]]
|
2017-09-06 20:06:41 +08:00
|
|
|
Single document APIs::
|
2018-10-01 21:59:36 +08:00
|
|
|
* <<{upid}-index>>
|
|
|
|
* <<{upid}-get>>
|
2018-10-05 23:41:03 +08:00
|
|
|
* <<{upid}-exists>>
|
2018-10-01 21:59:36 +08:00
|
|
|
* <<{upid}-delete>>
|
|
|
|
* <<{upid}-update>>
|
2018-10-25 02:27:22 +08:00
|
|
|
* <<{upid}-term-vectors>>
|
2017-07-03 16:48:16 +08:00
|
|
|
|
2018-02-03 00:19:50 +08:00
|
|
|
[[multi-doc]]
|
|
|
|
Multi-document APIs::
|
2018-10-01 21:59:36 +08:00
|
|
|
* <<{upid}-bulk>>
|
|
|
|
* <<{upid}-multi-get>>
|
|
|
|
* <<{upid}-reindex>>
|
|
|
|
* <<{upid}-update-by-query>>
|
|
|
|
* <<{upid}-delete-by-query>>
|
2018-10-03 05:13:08 +08:00
|
|
|
* <<{upid}-rethrottle>>
|
2018-11-20 01:24:31 +08:00
|
|
|
* <<{upid}-multi-term-vectors>>
|
2017-07-03 16:48:16 +08:00
|
|
|
|
2018-02-03 00:19:50 +08:00
|
|
|
include::document/index.asciidoc[]
|
|
|
|
include::document/get.asciidoc[]
|
2018-03-16 00:10:30 +08:00
|
|
|
include::document/exists.asciidoc[]
|
2018-02-03 00:19:50 +08:00
|
|
|
include::document/delete.asciidoc[]
|
|
|
|
include::document/update.asciidoc[]
|
2018-10-25 02:27:22 +08:00
|
|
|
include::document/term-vectors.asciidoc[]
|
2018-02-03 00:19:50 +08:00
|
|
|
include::document/bulk.asciidoc[]
|
2018-03-17 06:52:34 +08:00
|
|
|
include::document/multi-get.asciidoc[]
|
2018-08-29 01:02:23 +08:00
|
|
|
include::document/reindex.asciidoc[]
|
2018-09-03 03:15:00 +08:00
|
|
|
include::document/update-by-query.asciidoc[]
|
2018-09-04 20:56:26 +08:00
|
|
|
include::document/delete-by-query.asciidoc[]
|
2018-10-03 03:44:15 +08:00
|
|
|
include::document/rethrottle.asciidoc[]
|
2018-11-20 01:24:31 +08:00
|
|
|
include::document/multi-term-vectors.asciidoc[]
|
|
|
|
|
2018-02-03 00:19:50 +08:00
|
|
|
|
|
|
|
== Search APIs
|
|
|
|
|
2018-10-01 21:59:36 +08:00
|
|
|
:upid: {mainid}
|
|
|
|
:doc-tests-file: {doc-tests}/SearchDocumentationIT.java
|
|
|
|
|
2018-02-03 00:19:50 +08:00
|
|
|
The Java High Level REST Client supports the following Search APIs:
|
|
|
|
|
2018-10-01 21:59:36 +08:00
|
|
|
* <<{upid}-search>>
|
|
|
|
* <<{upid}-search-scroll>>
|
|
|
|
* <<{upid}-clear-scroll>>
|
|
|
|
* <<{upid}-search-template>>
|
|
|
|
* <<{upid}-multi-search-template>>
|
|
|
|
* <<{upid}-multi-search>>
|
|
|
|
* <<{upid}-field-caps>>
|
|
|
|
* <<{upid}-rank-eval>>
|
|
|
|
* <<{upid}-explain>>
|
2018-11-02 21:21:19 +08:00
|
|
|
* <<{upid}-count>>
|
2017-08-01 16:38:56 +08:00
|
|
|
|
2018-02-03 00:19:50 +08:00
|
|
|
include::search/search.asciidoc[]
|
|
|
|
include::search/scroll.asciidoc[]
|
2018-03-23 22:11:50 +08:00
|
|
|
include::search/multi-search.asciidoc[]
|
2018-05-16 04:07:58 +08:00
|
|
|
include::search/search-template.asciidoc[]
|
2018-06-28 21:05:26 +08:00
|
|
|
include::search/multi-search-template.asciidoc[]
|
2018-04-27 00:50:37 +08:00
|
|
|
include::search/field-caps.asciidoc[]
|
2018-04-10 16:15:31 +08:00
|
|
|
include::search/rank-eval.asciidoc[]
|
2018-06-27 21:20:56 +08:00
|
|
|
include::search/explain.asciidoc[]
|
2018-11-02 21:21:19 +08:00
|
|
|
include::search/count.asciidoc[]
|
2018-02-03 00:19:50 +08:00
|
|
|
|
|
|
|
== Miscellaneous APIs
|
|
|
|
|
|
|
|
The Java High Level REST Client supports the following Miscellaneous APIs:
|
|
|
|
|
2017-08-01 16:38:56 +08:00
|
|
|
* <<java-rest-high-main>>
|
2018-03-15 02:27:01 +08:00
|
|
|
* <<java-rest-high-ping>>
|
2018-07-08 23:03:56 +08:00
|
|
|
* <<java-rest-high-x-pack-info>>
|
2018-08-10 20:12:42 +08:00
|
|
|
* <<java-rest-high-x-pack-usage>>
|
2017-09-06 20:06:41 +08:00
|
|
|
|
2018-02-03 00:19:50 +08:00
|
|
|
include::miscellaneous/main.asciidoc[]
|
2018-03-15 02:27:01 +08:00
|
|
|
include::miscellaneous/ping.asciidoc[]
|
2018-08-10 20:12:42 +08:00
|
|
|
include::miscellaneous/x-pack-info.asciidoc[]
|
|
|
|
include::miscellaneous/x-pack-usage.asciidoc[]
|
2018-02-03 00:19:50 +08:00
|
|
|
|
|
|
|
== Indices APIs
|
|
|
|
|
2018-11-28 09:40:49 +08:00
|
|
|
:upid: {mainid}
|
|
|
|
:doc-tests-file: {doc-tests}/IndicesClientDocumentationIT.java
|
|
|
|
|
2018-02-03 00:19:50 +08:00
|
|
|
The Java High Level REST Client supports the following Indices APIs:
|
|
|
|
|
|
|
|
Index Management::
|
2018-11-28 09:40:49 +08:00
|
|
|
* <<{upid}-analyze>>
|
|
|
|
* <<{upid}-create-index>>
|
|
|
|
* <<{upid}-delete-index>>
|
|
|
|
* <<{upid}-indices-exists>>
|
|
|
|
* <<{upid}-open-index>>
|
|
|
|
* <<{upid}-close-index>>
|
|
|
|
* <<{upid}-shrink-index>>
|
|
|
|
* <<{upid}-split-index>>
|
|
|
|
* <<{upid}-refresh>>
|
|
|
|
* <<{upid}-flush>>
|
|
|
|
* <<{upid}-flush-synced>>
|
|
|
|
* <<{upid}-clear-cache>>
|
|
|
|
* <<{upid}-force-merge>>
|
|
|
|
* <<{upid}-rollover-index>>
|
|
|
|
* <<{upid}-indices-put-settings>>
|
|
|
|
* <<{upid}-get-settings>>
|
|
|
|
* <<{upid}-indices-validate-query>>
|
|
|
|
* <<{upid}-get-index>>
|
2018-02-03 00:19:50 +08:00
|
|
|
|
|
|
|
Mapping Management::
|
2018-11-28 09:40:49 +08:00
|
|
|
* <<{upid}-put-mapping>>
|
|
|
|
* <<{upid}-get-mappings>>
|
|
|
|
* <<{upid}-get-field-mappings>>
|
2018-02-03 00:19:50 +08:00
|
|
|
|
|
|
|
Alias Management::
|
2018-11-28 09:40:49 +08:00
|
|
|
* <<{upid}-update-aliases>>
|
|
|
|
* <<{upid}-exists-alias>>
|
|
|
|
* <<{upid}-get-alias>>
|
2018-02-03 00:19:50 +08:00
|
|
|
|
2018-07-03 22:57:02 +08:00
|
|
|
include::indices/analyze.asciidoc[]
|
2018-02-03 00:19:50 +08:00
|
|
|
include::indices/create_index.asciidoc[]
|
|
|
|
include::indices/delete_index.asciidoc[]
|
|
|
|
include::indices/indices_exists.asciidoc[]
|
|
|
|
include::indices/open_index.asciidoc[]
|
|
|
|
include::indices/close_index.asciidoc[]
|
|
|
|
include::indices/shrink_index.asciidoc[]
|
|
|
|
include::indices/split_index.asciidoc[]
|
2018-02-28 18:49:14 +08:00
|
|
|
include::indices/refresh.asciidoc[]
|
2018-03-01 17:56:03 +08:00
|
|
|
include::indices/flush.asciidoc[]
|
2018-05-30 19:32:52 +08:00
|
|
|
include::indices/flush_synced.asciidoc[]
|
2018-03-20 17:39:36 +08:00
|
|
|
include::indices/clear_cache.asciidoc[]
|
2018-03-23 00:17:16 +08:00
|
|
|
include::indices/force_merge.asciidoc[]
|
2018-02-20 22:58:58 +08:00
|
|
|
include::indices/rollover.asciidoc[]
|
2018-02-03 00:19:50 +08:00
|
|
|
include::indices/put_mapping.asciidoc[]
|
2018-06-05 04:31:08 +08:00
|
|
|
include::indices/get_mappings.asciidoc[]
|
2018-06-23 15:39:17 +08:00
|
|
|
include::indices/get_field_mappings.asciidoc[]
|
2018-02-03 00:19:50 +08:00
|
|
|
include::indices/update_aliases.asciidoc[]
|
|
|
|
include::indices/exists_alias.asciidoc[]
|
2018-06-12 16:26:17 +08:00
|
|
|
include::indices/get_alias.asciidoc[]
|
2018-04-17 03:39:11 +08:00
|
|
|
include::indices/put_settings.asciidoc[]
|
2018-05-04 23:14:28 +08:00
|
|
|
include::indices/get_settings.asciidoc[]
|
2018-05-06 21:47:36 +08:00
|
|
|
include::indices/put_template.asciidoc[]
|
2018-06-18 21:59:29 +08:00
|
|
|
include::indices/validate_query.asciidoc[]
|
2018-06-11 23:06:28 +08:00
|
|
|
include::indices/get_templates.asciidoc[]
|
2018-07-06 01:52:25 +08:00
|
|
|
include::indices/get_index.asciidoc[]
|
2018-11-28 22:42:12 +08:00
|
|
|
include::indices/freeze_index.asciidoc[]
|
|
|
|
include::indices/unfreeze_index.asciidoc[]
|
2018-02-03 00:19:50 +08:00
|
|
|
|
2018-02-16 00:21:45 +08:00
|
|
|
== Cluster APIs
|
|
|
|
|
|
|
|
The Java High Level REST Client supports the following Cluster APIs:
|
|
|
|
|
|
|
|
* <<java-rest-high-cluster-put-settings>>
|
2018-07-03 01:25:17 +08:00
|
|
|
* <<java-rest-high-cluster-get-settings>>
|
2018-06-12 19:34:06 +08:00
|
|
|
* <<java-rest-high-cluster-health>>
|
2018-02-16 00:21:45 +08:00
|
|
|
|
2018-09-29 02:48:11 +08:00
|
|
|
:upid: {mainid}-cluster
|
|
|
|
:doc-tests-file: {doc-tests}/ClusterClientDocumentationIT.java
|
2018-02-16 00:21:45 +08:00
|
|
|
include::cluster/put_settings.asciidoc[]
|
2018-07-03 01:25:17 +08:00
|
|
|
include::cluster/get_settings.asciidoc[]
|
2018-06-12 19:34:06 +08:00
|
|
|
include::cluster/health.asciidoc[]
|
2018-06-04 16:34:55 +08:00
|
|
|
|
|
|
|
== Ingest APIs
|
|
|
|
The Java High Level REST Client supports the following Ingest APIs:
|
|
|
|
|
|
|
|
* <<java-rest-high-ingest-put-pipeline>>
|
|
|
|
* <<java-rest-high-ingest-get-pipeline>>
|
|
|
|
* <<java-rest-high-ingest-delete-pipeline>>
|
2018-06-22 15:59:04 +08:00
|
|
|
* <<java-rest-high-ingest-simulate-pipeline>>
|
2018-06-04 16:34:55 +08:00
|
|
|
|
|
|
|
include::ingest/put_pipeline.asciidoc[]
|
|
|
|
include::ingest/get_pipeline.asciidoc[]
|
|
|
|
include::ingest/delete_pipeline.asciidoc[]
|
2018-06-22 15:59:04 +08:00
|
|
|
include::ingest/simulate_pipeline.asciidoc[]
|
2018-05-09 20:25:23 +08:00
|
|
|
|
|
|
|
== Snapshot APIs
|
|
|
|
|
|
|
|
The Java High Level REST Client supports the following Snapshot APIs:
|
|
|
|
|
|
|
|
* <<java-rest-high-snapshot-get-repository>>
|
2018-05-22 08:52:21 +08:00
|
|
|
* <<java-rest-high-snapshot-create-repository>>
|
|
|
|
* <<java-rest-high-snapshot-delete-repository>>
|
2018-05-31 00:10:00 +08:00
|
|
|
* <<java-rest-high-snapshot-verify-repository>>
|
2018-06-28 00:30:10 +08:00
|
|
|
* <<java-rest-high-snapshot-create-snapshot>>
|
2018-06-28 08:04:34 +08:00
|
|
|
* <<java-rest-high-snapshot-get-snapshots>>
|
2018-07-12 00:07:31 +08:00
|
|
|
* <<java-rest-high-snapshot-snapshots-status>>
|
2018-06-20 22:42:50 +08:00
|
|
|
* <<java-rest-high-snapshot-delete-snapshot>>
|
2018-05-09 20:25:23 +08:00
|
|
|
|
2018-05-16 10:21:11 +08:00
|
|
|
include::snapshot/get_repository.asciidoc[]
|
2018-05-16 19:31:37 +08:00
|
|
|
include::snapshot/create_repository.asciidoc[]
|
2018-05-22 08:52:21 +08:00
|
|
|
include::snapshot/delete_repository.asciidoc[]
|
2018-05-31 00:10:00 +08:00
|
|
|
include::snapshot/verify_repository.asciidoc[]
|
2018-06-28 00:30:10 +08:00
|
|
|
include::snapshot/create_snapshot.asciidoc[]
|
2018-06-28 08:04:34 +08:00
|
|
|
include::snapshot/get_snapshots.asciidoc[]
|
2018-07-12 00:07:31 +08:00
|
|
|
include::snapshot/snapshots_status.asciidoc[]
|
2018-06-20 22:42:50 +08:00
|
|
|
include::snapshot/delete_snapshot.asciidoc[]
|
2018-05-29 16:54:41 +08:00
|
|
|
|
|
|
|
== Tasks APIs
|
|
|
|
|
|
|
|
The Java High Level REST Client supports the following Tasks APIs:
|
|
|
|
|
|
|
|
* <<java-rest-high-tasks-list>>
|
2018-06-08 05:02:23 +08:00
|
|
|
* <<java-rest-high-cluster-cancel-tasks>>
|
2018-05-29 16:54:41 +08:00
|
|
|
|
|
|
|
include::tasks/list_tasks.asciidoc[]
|
2018-06-08 05:02:23 +08:00
|
|
|
include::tasks/cancel_tasks.asciidoc[]
|
2018-06-19 20:21:11 +08:00
|
|
|
|
|
|
|
== Script APIs
|
|
|
|
|
|
|
|
The Java High Level REST Client supports the following Scripts APIs:
|
|
|
|
|
|
|
|
* <<java-rest-high-get-stored-script>>
|
2018-09-09 19:47:47 +08:00
|
|
|
* <<java-rest-high-put-stored-script>>
|
2018-06-19 20:21:11 +08:00
|
|
|
* <<java-rest-high-delete-stored-script>>
|
|
|
|
|
|
|
|
include::script/get_script.asciidoc[]
|
2018-09-09 19:47:47 +08:00
|
|
|
include::script/put_script.asciidoc[]
|
2018-06-19 20:21:11 +08:00
|
|
|
include::script/delete_script.asciidoc[]
|
2018-07-25 02:19:07 +08:00
|
|
|
|
|
|
|
== Licensing APIs
|
|
|
|
|
|
|
|
The Java High Level REST Client supports the following Licensing APIs:
|
|
|
|
|
|
|
|
* <<java-rest-high-put-license>>
|
2018-08-10 16:55:25 +08:00
|
|
|
* <<java-rest-high-get-license>>
|
2018-08-14 17:55:54 +08:00
|
|
|
* <<java-rest-high-delete-license>>
|
2018-10-17 23:02:04 +08:00
|
|
|
* <<java-rest-high-start-trial>>
|
2018-10-16 21:21:30 +08:00
|
|
|
* <<java-rest-high-start-basic>>
|
2018-11-13 22:52:59 +08:00
|
|
|
* <<java-rest-high-get-trial-status>>
|
|
|
|
* <<java-rest-high-get-basic-status>>
|
2018-07-25 02:19:07 +08:00
|
|
|
|
|
|
|
include::licensing/put-license.asciidoc[]
|
2018-08-10 16:55:25 +08:00
|
|
|
include::licensing/get-license.asciidoc[]
|
2018-08-14 17:55:54 +08:00
|
|
|
include::licensing/delete-license.asciidoc[]
|
2018-10-17 23:02:04 +08:00
|
|
|
include::licensing/start-trial.asciidoc[]
|
2018-10-16 21:21:30 +08:00
|
|
|
include::licensing/start-basic.asciidoc[]
|
2018-11-13 22:52:59 +08:00
|
|
|
include::licensing/get-trial-status.asciidoc[]
|
|
|
|
include::licensing/get-basic-status.asciidoc[]
|
2018-08-10 20:12:42 +08:00
|
|
|
|
2018-08-15 02:52:54 +08:00
|
|
|
== Machine Learning APIs
|
2018-10-05 02:28:44 +08:00
|
|
|
:upid: {mainid}-x-pack-ml
|
|
|
|
:doc-tests-file: {doc-tests}/MlClientDocumentationIT.java
|
2018-08-15 02:52:54 +08:00
|
|
|
|
|
|
|
The Java High Level REST Client supports the following Machine Learning APIs:
|
|
|
|
|
2018-10-05 02:28:44 +08:00
|
|
|
* <<{upid}-put-job>>
|
|
|
|
* <<{upid}-get-job>>
|
|
|
|
* <<{upid}-delete-job>>
|
|
|
|
* <<{upid}-open-job>>
|
|
|
|
* <<{upid}-close-job>>
|
|
|
|
* <<{upid}-flush-job>>
|
|
|
|
* <<{upid}-update-job>>
|
|
|
|
* <<{upid}-get-job-stats>>
|
|
|
|
* <<{upid}-put-datafeed>>
|
2018-10-27 05:44:12 +08:00
|
|
|
* <<{upid}-update-datafeed>>
|
2018-10-05 02:28:44 +08:00
|
|
|
* <<{upid}-get-datafeed>>
|
|
|
|
* <<{upid}-delete-datafeed>>
|
|
|
|
* <<{upid}-preview-datafeed>>
|
|
|
|
* <<{upid}-start-datafeed>>
|
|
|
|
* <<{upid}-stop-datafeed>>
|
2018-10-05 05:43:06 +08:00
|
|
|
* <<{upid}-get-datafeed-stats>>
|
2018-10-05 02:28:44 +08:00
|
|
|
* <<{upid}-forecast-job>>
|
|
|
|
* <<{upid}-delete-forecast>>
|
|
|
|
* <<{upid}-get-buckets>>
|
|
|
|
* <<{upid}-get-overall-buckets>>
|
|
|
|
* <<{upid}-get-records>>
|
|
|
|
* <<{upid}-post-data>>
|
|
|
|
* <<{upid}-get-influencers>>
|
|
|
|
* <<{upid}-get-categories>>
|
|
|
|
* <<{upid}-get-calendars>>
|
|
|
|
* <<{upid}-put-calendar>>
|
2018-11-21 06:40:31 +08:00
|
|
|
* <<{upid}-get-calendar-events>>
|
2018-11-20 22:15:21 +08:00
|
|
|
* <<{upid}-post-calendar-event>>
|
2018-11-22 06:22:04 +08:00
|
|
|
* <<{upid}-delete-calendar-event>>
|
2018-11-20 01:41:49 +08:00
|
|
|
* <<{upid}-put-calendar-job>>
|
2018-11-20 21:43:34 +08:00
|
|
|
* <<{upid}-delete-calendar-job>>
|
2018-10-05 02:28:44 +08:00
|
|
|
* <<{upid}-delete-calendar>>
|
2018-11-05 22:56:53 +08:00
|
|
|
* <<{upid}-put-filter>>
|
2018-11-14 04:53:32 +08:00
|
|
|
* <<{upid}-get-filters>>
|
2018-11-15 01:13:11 +08:00
|
|
|
* <<{upid}-update-filter>>
|
2018-11-19 18:25:35 +08:00
|
|
|
* <<{upid}-delete-filter>>
|
|
|
|
* <<{upid}-get-model-snapshots>>
|
2018-11-21 17:10:37 +08:00
|
|
|
* <<{upid}-delete-model-snapshot>>
|
|
|
|
* <<{upid}-revert-model-snapshot>>
|
2018-11-20 20:18:29 +08:00
|
|
|
* <<{upid}-update-model-snapshot>>
|
2018-11-28 18:58:20 +08:00
|
|
|
* <<{upid}-get-ml-info>>
|
2018-11-27 00:15:54 +08:00
|
|
|
* <<{upid}-delete-expired-data>>
|
2018-08-15 02:52:54 +08:00
|
|
|
|
2018-08-16 02:19:41 +08:00
|
|
|
include::ml/put-job.asciidoc[]
|
2018-08-22 10:02:28 +08:00
|
|
|
include::ml/get-job.asciidoc[]
|
2018-08-16 20:18:43 +08:00
|
|
|
include::ml/delete-job.asciidoc[]
|
2018-08-16 02:19:41 +08:00
|
|
|
include::ml/open-job.asciidoc[]
|
2018-08-21 05:05:56 +08:00
|
|
|
include::ml/close-job.asciidoc[]
|
2018-09-06 20:18:09 +08:00
|
|
|
include::ml/update-job.asciidoc[]
|
2018-09-02 05:01:23 +08:00
|
|
|
include::ml/flush-job.asciidoc[]
|
2018-09-12 21:52:36 +08:00
|
|
|
include::ml/put-datafeed.asciidoc[]
|
2018-10-27 05:44:12 +08:00
|
|
|
include::ml/update-datafeed.asciidoc[]
|
2018-09-16 18:54:55 +08:00
|
|
|
include::ml/get-datafeed.asciidoc[]
|
2018-09-14 00:13:36 +08:00
|
|
|
include::ml/delete-datafeed.asciidoc[]
|
2018-10-05 02:28:44 +08:00
|
|
|
include::ml/preview-datafeed.asciidoc[]
|
2018-09-21 20:56:38 +08:00
|
|
|
include::ml/start-datafeed.asciidoc[]
|
2018-09-22 03:13:35 +08:00
|
|
|
include::ml/stop-datafeed.asciidoc[]
|
2018-10-05 05:43:06 +08:00
|
|
|
include::ml/get-datafeed-stats.asciidoc[]
|
2018-09-02 02:32:18 +08:00
|
|
|
include::ml/get-job-stats.asciidoc[]
|
2018-09-08 00:16:58 +08:00
|
|
|
include::ml/forecast-job.asciidoc[]
|
2018-09-12 07:32:52 +08:00
|
|
|
include::ml/delete-forecast.asciidoc[]
|
2018-08-23 16:35:06 +08:00
|
|
|
include::ml/get-buckets.asciidoc[]
|
2018-09-03 20:34:36 +08:00
|
|
|
include::ml/get-overall-buckets.asciidoc[]
|
2018-08-29 22:03:58 +08:00
|
|
|
include::ml/get-records.asciidoc[]
|
2018-09-07 20:04:27 +08:00
|
|
|
include::ml/post-data.asciidoc[]
|
2018-09-05 22:06:55 +08:00
|
|
|
include::ml/get-influencers.asciidoc[]
|
2018-09-11 19:48:14 +08:00
|
|
|
include::ml/get-categories.asciidoc[]
|
2018-09-18 18:51:11 +08:00
|
|
|
include::ml/get-calendars.asciidoc[]
|
2018-09-14 22:00:18 +08:00
|
|
|
include::ml/put-calendar.asciidoc[]
|
2018-11-21 06:40:31 +08:00
|
|
|
include::ml/get-calendar-events.asciidoc[]
|
2018-11-20 22:15:21 +08:00
|
|
|
include::ml/post-calendar-event.asciidoc[]
|
2018-11-22 06:22:04 +08:00
|
|
|
include::ml/delete-calendar-event.asciidoc[]
|
2018-11-20 01:41:49 +08:00
|
|
|
include::ml/put-calendar-job.asciidoc[]
|
2018-11-20 21:43:34 +08:00
|
|
|
include::ml/delete-calendar-job.asciidoc[]
|
2018-09-19 17:20:21 +08:00
|
|
|
include::ml/delete-calendar.asciidoc[]
|
2018-11-05 22:56:53 +08:00
|
|
|
include::ml/put-filter.asciidoc[]
|
2018-11-14 04:53:32 +08:00
|
|
|
include::ml/get-filters.asciidoc[]
|
2018-11-15 01:13:11 +08:00
|
|
|
include::ml/update-filter.asciidoc[]
|
2018-11-19 18:25:35 +08:00
|
|
|
include::ml/delete-filter.asciidoc[]
|
2018-11-21 17:10:37 +08:00
|
|
|
include::ml/get-model-snapshots.asciidoc[]
|
|
|
|
include::ml/delete-model-snapshot.asciidoc[]
|
|
|
|
include::ml/revert-model-snapshot.asciidoc[]
|
2018-11-20 20:18:29 +08:00
|
|
|
include::ml/update-model-snapshot.asciidoc[]
|
2018-11-28 18:58:20 +08:00
|
|
|
include::ml/get-info.asciidoc[]
|
2018-11-27 00:15:54 +08:00
|
|
|
include::ml/delete-expired-data.asciidoc[]
|
2018-08-15 02:52:54 +08:00
|
|
|
|
2018-08-13 17:05:27 +08:00
|
|
|
== Migration APIs
|
|
|
|
|
|
|
|
The Java High Level REST Client supports the following Migration APIs:
|
|
|
|
|
|
|
|
* <<java-rest-high-migration-get-assistance>>
|
2018-11-13 22:01:53 +08:00
|
|
|
* <<java-rest-high-migration-upgrade>>
|
2018-08-13 17:05:27 +08:00
|
|
|
|
|
|
|
include::migration/get-assistance.asciidoc[]
|
2018-11-13 22:01:53 +08:00
|
|
|
include::migration/upgrade.asciidoc[]
|
2018-08-13 17:05:27 +08:00
|
|
|
|
2018-09-17 15:10:23 +08:00
|
|
|
== Rollup APIs
|
|
|
|
|
2018-10-16 21:02:29 +08:00
|
|
|
:upid: {mainid}-rollup
|
|
|
|
:doc-tests-file: {doc-tests}/RollupDocumentationIT.java
|
|
|
|
|
2018-09-17 15:10:23 +08:00
|
|
|
The Java High Level REST Client supports the following Rollup APIs:
|
|
|
|
|
|
|
|
* <<java-rest-high-x-pack-rollup-put-job>>
|
2018-10-29 16:28:11 +08:00
|
|
|
* <<{upid}-rollup-start-job>>
|
2018-11-14 12:40:42 +08:00
|
|
|
* <<{upid}-rollup-stop-job>>
|
2018-10-16 21:02:29 +08:00
|
|
|
* <<{upid}-rollup-delete-job>>
|
2018-10-02 21:11:29 +08:00
|
|
|
* <<java-rest-high-x-pack-rollup-get-job>>
|
2018-10-19 05:12:38 +08:00
|
|
|
* <<{upid}-x-pack-rollup-get-rollup-caps>>
|
2018-11-13 04:05:03 +08:00
|
|
|
* <<{upid}-x-pack-rollup-get-rollup-index-caps>>
|
2018-09-17 15:10:23 +08:00
|
|
|
|
|
|
|
include::rollup/put_job.asciidoc[]
|
2018-10-29 16:28:11 +08:00
|
|
|
include::rollup/start_job.asciidoc[]
|
2018-11-14 12:40:42 +08:00
|
|
|
include::rollup/stop_job.asciidoc[]
|
2018-10-16 21:02:29 +08:00
|
|
|
include::rollup/delete_job.asciidoc[]
|
2018-10-02 21:11:29 +08:00
|
|
|
include::rollup/get_job.asciidoc[]
|
2018-10-19 05:12:38 +08:00
|
|
|
include::rollup/get_rollup_caps.asciidoc[]
|
2018-11-13 04:05:03 +08:00
|
|
|
include::rollup/get_rollup_index_caps.asciidoc[]
|
2018-09-17 15:10:23 +08:00
|
|
|
|
2018-09-08 01:51:37 +08:00
|
|
|
== Security APIs
|
|
|
|
|
2018-10-20 18:11:36 +08:00
|
|
|
:upid: {mainid}-security
|
|
|
|
:doc-tests-file: {doc-tests}/SecurityDocumentationIT.java
|
|
|
|
|
2018-09-08 01:51:37 +08:00
|
|
|
The Java High Level REST Client supports the following Security APIs:
|
|
|
|
|
|
|
|
* <<java-rest-high-security-put-user>>
|
2018-11-29 14:52:56 +08:00
|
|
|
* <<{upid}-delete-user>>
|
2018-09-08 01:51:37 +08:00
|
|
|
* <<java-rest-high-security-enable-user>>
|
|
|
|
* <<java-rest-high-security-disable-user>>
|
2018-10-02 18:23:13 +08:00
|
|
|
* <<java-rest-high-security-change-password>>
|
2018-11-26 17:25:07 +08:00
|
|
|
* <<{upid}-get-roles>>
|
2018-10-20 18:11:36 +08:00
|
|
|
* <<java-rest-high-security-delete-role>>
|
2018-10-27 02:16:44 +08:00
|
|
|
* <<{upid}-clear-roles-cache>>
|
2018-11-07 04:12:24 +08:00
|
|
|
* <<{upid}-clear-realm-cache>>
|
2018-10-31 20:49:33 +08:00
|
|
|
* <<{upid}-authenticate>>
|
2018-11-16 10:52:06 +08:00
|
|
|
* <<{upid}-has-privileges>>
|
2018-10-16 00:20:34 +08:00
|
|
|
* <<java-rest-high-security-get-certificates>>
|
2018-10-16 10:05:46 +08:00
|
|
|
* <<java-rest-high-security-put-role-mapping>>
|
2018-10-29 08:15:42 +08:00
|
|
|
* <<java-rest-high-security-get-role-mappings>>
|
2018-10-19 10:46:26 +08:00
|
|
|
* <<java-rest-high-security-delete-role-mapping>>
|
2018-10-29 14:17:56 +08:00
|
|
|
* <<java-rest-high-security-create-token>>
|
2018-11-06 12:26:12 +08:00
|
|
|
* <<{upid}-invalidate-token>>
|
2018-11-21 22:38:17 +08:00
|
|
|
* <<{upid}-get-privileges>>
|
2018-11-14 21:04:30 +08:00
|
|
|
* <<{upid}-delete-privileges>>
|
2018-09-08 01:51:37 +08:00
|
|
|
|
|
|
|
include::security/put-user.asciidoc[]
|
2018-11-29 14:52:56 +08:00
|
|
|
include::security/delete-user.asciidoc[]
|
2018-09-08 01:51:37 +08:00
|
|
|
include::security/enable-user.asciidoc[]
|
|
|
|
include::security/disable-user.asciidoc[]
|
2018-10-02 18:23:13 +08:00
|
|
|
include::security/change-password.asciidoc[]
|
2018-11-26 17:45:03 +08:00
|
|
|
include::security/get-roles.asciidoc[]
|
2018-10-20 18:11:36 +08:00
|
|
|
include::security/delete-role.asciidoc[]
|
2018-11-14 21:04:30 +08:00
|
|
|
include::security/delete-privileges.asciidoc[]
|
2018-11-21 22:38:17 +08:00
|
|
|
include::security/get-privileges.asciidoc[]
|
2018-10-27 02:16:44 +08:00
|
|
|
include::security/clear-roles-cache.asciidoc[]
|
2018-11-07 04:12:24 +08:00
|
|
|
include::security/clear-realm-cache.asciidoc[]
|
2018-10-31 20:49:33 +08:00
|
|
|
include::security/authenticate.asciidoc[]
|
2018-11-16 10:52:06 +08:00
|
|
|
include::security/has-privileges.asciidoc[]
|
2018-10-16 00:20:34 +08:00
|
|
|
include::security/get-certificates.asciidoc[]
|
2018-10-16 10:05:46 +08:00
|
|
|
include::security/put-role-mapping.asciidoc[]
|
2018-10-29 08:15:42 +08:00
|
|
|
include::security/get-role-mappings.asciidoc[]
|
2018-10-19 10:46:26 +08:00
|
|
|
include::security/delete-role-mapping.asciidoc[]
|
2018-10-29 14:17:56 +08:00
|
|
|
include::security/create-token.asciidoc[]
|
2018-11-06 12:26:12 +08:00
|
|
|
include::security/invalidate-token.asciidoc[]
|
2018-09-08 01:51:37 +08:00
|
|
|
|
2018-08-10 20:12:42 +08:00
|
|
|
== Watcher APIs
|
|
|
|
|
2018-10-05 05:30:20 +08:00
|
|
|
:upid: {mainid}-watcher
|
2018-10-04 18:49:52 +08:00
|
|
|
:doc-tests-file: {doc-tests}/WatcherDocumentationIT.java
|
|
|
|
|
2018-08-10 20:12:42 +08:00
|
|
|
The Java High Level REST Client supports the following Watcher APIs:
|
|
|
|
|
2018-10-20 02:52:15 +08:00
|
|
|
* <<{upid}-start-watch-service>>
|
|
|
|
* <<{upid}-stop-watch-service>>
|
2018-08-10 20:12:42 +08:00
|
|
|
* <<java-rest-high-x-pack-watcher-put-watch>>
|
|
|
|
* <<java-rest-high-x-pack-watcher-delete-watch>>
|
2018-10-25 05:01:22 +08:00
|
|
|
* <<java-rest-high-watcher-deactivate-watch>>
|
2018-10-05 05:30:20 +08:00
|
|
|
* <<{upid}-ack-watch>>
|
2018-10-04 18:49:52 +08:00
|
|
|
* <<{upid}-activate-watch>>
|
2018-11-13 22:47:35 +08:00
|
|
|
* <<{upid}-watcher-stats>>
|
2018-08-10 20:12:42 +08:00
|
|
|
|
2018-10-20 00:42:57 +08:00
|
|
|
include::watcher/start-watch-service.asciidoc[]
|
|
|
|
include::watcher/stop-watch-service.asciidoc[]
|
2018-08-10 20:12:42 +08:00
|
|
|
include::watcher/put-watch.asciidoc[]
|
|
|
|
include::watcher/delete-watch.asciidoc[]
|
2018-10-03 17:03:03 +08:00
|
|
|
include::watcher/ack-watch.asciidoc[]
|
2018-10-25 05:01:22 +08:00
|
|
|
include::watcher/deactivate-watch.asciidoc[]
|
2018-10-04 18:49:52 +08:00
|
|
|
include::watcher/activate-watch.asciidoc[]
|
2018-11-13 22:47:35 +08:00
|
|
|
include::watcher/watcher-stats.asciidoc[]
|
2018-08-21 20:29:18 +08:00
|
|
|
|
|
|
|
== Graph APIs
|
|
|
|
|
|
|
|
The Java High Level REST Client supports the following Graph APIs:
|
|
|
|
|
|
|
|
* <<java-rest-high-x-pack-graph-explore>>
|
|
|
|
|
|
|
|
include::graph/explore.asciidoc[]
|
2018-09-29 02:48:11 +08:00
|
|
|
|
|
|
|
////
|
|
|
|
Clear attributes that we use to document that APIs included above so they
|
|
|
|
don't leak into the rest of the documentation.
|
|
|
|
////
|
|
|
|
--
|
|
|
|
:api!:
|
|
|
|
:request!:
|
|
|
|
:response!:
|
|
|
|
:doc-tests-file!:
|
|
|
|
:upid!:
|
2018-10-31 20:49:33 +08:00
|
|
|
--
|
2018-11-08 00:08:35 +08:00
|
|
|
|
|
|
|
== CCR APIs
|
|
|
|
|
|
|
|
:upid: {mainid}-ccr
|
|
|
|
:doc-tests-file: {doc-tests}/CCRDocumentationIT.java
|
|
|
|
|
|
|
|
The Java High Level REST Client supports the following CCR APIs:
|
|
|
|
|
2018-11-13 20:22:49 +08:00
|
|
|
* <<{upid}-ccr-put-follow>>
|
2018-11-08 00:08:35 +08:00
|
|
|
* <<{upid}-ccr-pause-follow>>
|
2018-11-21 17:52:03 +08:00
|
|
|
* <<{upid}-ccr-resume-follow>>
|
2018-11-21 14:48:29 +08:00
|
|
|
* <<{upid}-ccr-unfollow>>
|
2018-11-27 15:53:22 +08:00
|
|
|
* <<{upid}-ccr-put-auto-follow-pattern>>
|
2018-11-08 00:08:35 +08:00
|
|
|
|
2018-11-13 20:22:49 +08:00
|
|
|
include::ccr/put_follow.asciidoc[]
|
2018-11-08 00:08:35 +08:00
|
|
|
include::ccr/pause_follow.asciidoc[]
|
2018-11-21 17:52:03 +08:00
|
|
|
include::ccr/resume_follow.asciidoc[]
|
2018-11-21 14:48:29 +08:00
|
|
|
include::ccr/unfollow.asciidoc[]
|
2018-11-27 15:53:22 +08:00
|
|
|
include::ccr/put_auto_follow_pattern.asciidoc[]
|
2018-11-14 04:40:53 +08:00
|
|
|
|
|
|
|
== Index Lifecycle Management APIs
|
|
|
|
|
|
|
|
:upid: {mainid}-ilm
|
|
|
|
:doc-tests-file: {doc-tests}/ILMDocumentationIT.java
|
|
|
|
|
|
|
|
The Java High Level REST Client supports the following Index Lifecycle
|
|
|
|
Management APIs:
|
|
|
|
|
|
|
|
* <<{upid}-ilm-put-lifecycle-policy>>
|
2018-11-21 02:32:41 +08:00
|
|
|
* <<{upid}-ilm-delete-lifecycle-policy>>
|
2018-11-17 09:16:30 +08:00
|
|
|
* <<{upid}-ilm-get-lifecycle-policy>>
|
2018-11-27 06:25:56 +08:00
|
|
|
* <<{upid}-ilm-explain-lifecycle>>
|
2018-11-20 08:17:01 +08:00
|
|
|
* <<{upid}-ilm-start-ilm>>
|
|
|
|
* <<{upid}-ilm-stop-ilm>>
|
|
|
|
* <<{upid}-ilm-status>>
|
2018-11-20 23:05:27 +08:00
|
|
|
* <<{upid}-ilm-retry-lifecycle-policy>>
|
2018-11-28 05:28:58 +08:00
|
|
|
* <<{upid}-ilm-remove-lifecycle-policy-from-index>>
|
2018-11-20 08:17:01 +08:00
|
|
|
|
2018-11-14 04:40:53 +08:00
|
|
|
|
|
|
|
include::ilm/put_lifecycle_policy.asciidoc[]
|
2018-11-21 02:32:41 +08:00
|
|
|
include::ilm/delete_lifecycle_policy.asciidoc[]
|
2018-11-17 09:16:30 +08:00
|
|
|
include::ilm/get_lifecycle_policy.asciidoc[]
|
2018-11-27 06:25:56 +08:00
|
|
|
include::ilm/explain_lifecycle.asciidoc[]
|
2018-11-20 08:17:01 +08:00
|
|
|
include::ilm/start_lifecycle_management.asciidoc[]
|
|
|
|
include::ilm/stop_lifecycle_management.asciidoc[]
|
2018-11-20 23:05:27 +08:00
|
|
|
include::ilm/lifecycle_management_status.asciidoc[]
|
|
|
|
include::ilm/retry_lifecycle_policy.asciidoc[]
|
2018-11-28 05:28:58 +08:00
|
|
|
include::ilm/remove_lifecycle_policy_from_index.asciidoc[]
|