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