724 lines
22 KiB
Plaintext
724 lines
22 KiB
Plaintext
[[java-rest-high-supported-apis]]
|
|
|
|
== Document APIs
|
|
|
|
:upid: {mainid}-document
|
|
:doc-tests-file: {doc-tests}/CRUDDocumentationIT.java
|
|
|
|
The Java High Level REST Client supports the following Document APIs:
|
|
|
|
[[single-doc]]
|
|
Single document APIs::
|
|
* <<{upid}-index>>
|
|
* <<{upid}-get>>
|
|
* <<{upid}-get-source>>
|
|
* <<{upid}-exists>>
|
|
* <<{upid}-delete>>
|
|
* <<{upid}-update>>
|
|
* <<{upid}-term-vectors>>
|
|
|
|
[[multi-doc]]
|
|
Multi-document APIs::
|
|
* <<{upid}-bulk>>
|
|
* <<{upid}-multi-get>>
|
|
* <<{upid}-reindex>>
|
|
* <<{upid}-update-by-query>>
|
|
* <<{upid}-delete-by-query>>
|
|
* <<{upid}-rethrottle>>
|
|
* <<{upid}-multi-term-vectors>>
|
|
|
|
include::document/index.asciidoc[]
|
|
include::document/get.asciidoc[]
|
|
include::document/get-source.asciidoc[]
|
|
include::document/exists.asciidoc[]
|
|
include::document/delete.asciidoc[]
|
|
include::document/update.asciidoc[]
|
|
include::document/term-vectors.asciidoc[]
|
|
include::document/bulk.asciidoc[]
|
|
include::document/multi-get.asciidoc[]
|
|
include::document/reindex.asciidoc[]
|
|
include::document/update-by-query.asciidoc[]
|
|
include::document/delete-by-query.asciidoc[]
|
|
include::document/rethrottle.asciidoc[]
|
|
include::document/multi-term-vectors.asciidoc[]
|
|
|
|
|
|
== Search APIs
|
|
|
|
:upid: {mainid}
|
|
:doc-tests-file: {doc-tests}/SearchDocumentationIT.java
|
|
|
|
The Java High Level REST Client supports the following Search APIs:
|
|
|
|
* <<{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>>
|
|
* <<{upid}-count>>
|
|
|
|
include::search/search.asciidoc[]
|
|
include::search/scroll.asciidoc[]
|
|
include::search/multi-search.asciidoc[]
|
|
include::search/search-template.asciidoc[]
|
|
include::search/multi-search-template.asciidoc[]
|
|
include::search/field-caps.asciidoc[]
|
|
include::search/rank-eval.asciidoc[]
|
|
include::search/explain.asciidoc[]
|
|
include::search/count.asciidoc[]
|
|
|
|
[role="xpack"]
|
|
== Async Search APIs
|
|
|
|
:upid: {mainid}-asyncsearch
|
|
:doc-tests-file: {doc-tests}/AsyncSearchDocumentationIT.java
|
|
|
|
The Java High Level REST Client supports the following Async Search APIs:
|
|
|
|
* <<{upid}-asyncsearch-submit>>
|
|
* <<{upid}-asyncsearch-get>>
|
|
* <<{upid}-asyncsearch-delete>>
|
|
|
|
include::asyncsearch/submit.asciidoc[]
|
|
include::asyncsearch/get.asciidoc[]
|
|
include::asyncsearch/delete.asciidoc[]
|
|
|
|
== Miscellaneous APIs
|
|
|
|
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-usage>>
|
|
|
|
include::miscellaneous/main.asciidoc[]
|
|
include::miscellaneous/ping.asciidoc[]
|
|
include::miscellaneous/x-pack-info.asciidoc[]
|
|
include::miscellaneous/x-pack-usage.asciidoc[]
|
|
|
|
== Index APIs
|
|
|
|
:upid: {mainid}
|
|
:doc-tests-file: {doc-tests}/IndicesClientDocumentationIT.java
|
|
|
|
The Java High Level REST Client supports the following Index APIs:
|
|
|
|
Index Management::
|
|
* <<{upid}-analyze>>
|
|
* <<{upid}-create-index>>
|
|
* <<{upid}-delete-index>>
|
|
* <<{upid}-indices-exists>>
|
|
* <<{upid}-open-index>>
|
|
* <<{upid}-close-index>>
|
|
* <<{upid}-shrink-index>>
|
|
* <<{upid}-split-index>>
|
|
* <<{upid}-clone-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>>
|
|
|
|
Mapping Management::
|
|
* <<{upid}-put-mapping>>
|
|
* <<{upid}-get-mappings>>
|
|
* <<{upid}-get-field-mappings>>
|
|
|
|
Alias Management::
|
|
* <<{upid}-update-aliases>>
|
|
* <<{upid}-exists-alias>>
|
|
* <<{upid}-get-alias>>
|
|
* <<{upid}-delete-alias>>
|
|
|
|
Template Management::
|
|
* <<{upid}-get-templates>>
|
|
* <<{upid}-templates-exist>>
|
|
* <<{upid}-put-template>>
|
|
|
|
include::indices/analyze.asciidoc[]
|
|
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[]
|
|
include::indices/clone_index.asciidoc[]
|
|
include::indices/refresh.asciidoc[]
|
|
include::indices/flush.asciidoc[]
|
|
include::indices/flush_synced.asciidoc[]
|
|
include::indices/clear_cache.asciidoc[]
|
|
include::indices/force_merge.asciidoc[]
|
|
include::indices/rollover.asciidoc[]
|
|
include::indices/put_mapping.asciidoc[]
|
|
include::indices/get_mappings.asciidoc[]
|
|
include::indices/get_field_mappings.asciidoc[]
|
|
include::indices/update_aliases.asciidoc[]
|
|
include::indices/delete_alias.asciidoc[]
|
|
include::indices/exists_alias.asciidoc[]
|
|
include::indices/get_alias.asciidoc[]
|
|
include::indices/put_settings.asciidoc[]
|
|
include::indices/get_settings.asciidoc[]
|
|
include::indices/put_template.asciidoc[]
|
|
include::indices/validate_query.asciidoc[]
|
|
include::indices/get_templates.asciidoc[]
|
|
include::indices/templates_exist.asciidoc[]
|
|
include::indices/get_index.asciidoc[]
|
|
include::indices/freeze_index.asciidoc[]
|
|
include::indices/unfreeze_index.asciidoc[]
|
|
include::indices/delete_template.asciidoc[]
|
|
include::indices/reload_analyzers.asciidoc[]
|
|
include::indices/get_index_template.asciidoc[]
|
|
include::indices/put_index_template.asciidoc[]
|
|
include::indices/delete_index_template.asciidoc[]
|
|
include::indices/simulate_index_template.asciidoc[]
|
|
|
|
== Cluster APIs
|
|
|
|
The Java High Level REST Client supports the following Cluster APIs:
|
|
|
|
* <<java-rest-high-cluster-put-settings>>
|
|
* <<java-rest-high-cluster-get-settings>>
|
|
* <<java-rest-high-cluster-health>>
|
|
* <<java-rest-high-cluster-remote-info>>
|
|
|
|
:upid: {mainid}-cluster
|
|
:doc-tests-file: {doc-tests}/ClusterClientDocumentationIT.java
|
|
include::cluster/put_settings.asciidoc[]
|
|
include::cluster/get_settings.asciidoc[]
|
|
include::cluster/health.asciidoc[]
|
|
include::cluster/remote_info.asciidoc[]
|
|
include::cluster/get_component_template.asciidoc[]
|
|
include::cluster/put_component_template.asciidoc[]
|
|
include::cluster/delete_component_template.asciidoc[]
|
|
|
|
== 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>>
|
|
* <<java-rest-high-ingest-simulate-pipeline>>
|
|
|
|
include::ingest/put_pipeline.asciidoc[]
|
|
include::ingest/get_pipeline.asciidoc[]
|
|
include::ingest/delete_pipeline.asciidoc[]
|
|
include::ingest/simulate_pipeline.asciidoc[]
|
|
|
|
== Snapshot APIs
|
|
|
|
The Java High Level REST Client supports the following Snapshot APIs:
|
|
|
|
* <<java-rest-high-snapshot-get-repository>>
|
|
* <<java-rest-high-snapshot-create-repository>>
|
|
* <<java-rest-high-snapshot-delete-repository>>
|
|
* <<java-rest-high-snapshot-verify-repository>>
|
|
* <<java-rest-high-snapshot-create-snapshot>>
|
|
* <<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[]
|
|
include::snapshot/delete_repository.asciidoc[]
|
|
include::snapshot/verify_repository.asciidoc[]
|
|
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
|
|
|
|
The Java High Level REST Client supports the following Tasks APIs:
|
|
|
|
* <<java-rest-high-tasks-list>>
|
|
* <<java-rest-high-cluster-cancel-tasks>>
|
|
|
|
include::tasks/list_tasks.asciidoc[]
|
|
include::tasks/cancel_tasks.asciidoc[]
|
|
|
|
== Script APIs
|
|
|
|
The Java High Level REST Client supports the following Scripts APIs:
|
|
|
|
* <<java-rest-high-get-stored-script>>
|
|
* <<java-rest-high-put-stored-script>>
|
|
* <<java-rest-high-delete-stored-script>>
|
|
|
|
include::script/get_script.asciidoc[]
|
|
include::script/put_script.asciidoc[]
|
|
include::script/delete_script.asciidoc[]
|
|
|
|
== Licensing APIs
|
|
|
|
The Java High Level REST Client supports the following Licensing APIs:
|
|
|
|
* <<java-rest-high-put-license>>
|
|
* <<java-rest-high-get-license>>
|
|
* <<java-rest-high-delete-license>>
|
|
* <<java-rest-high-start-trial>>
|
|
* <<java-rest-high-start-basic>>
|
|
* <<java-rest-high-get-trial-status>>
|
|
* <<java-rest-high-get-basic-status>>
|
|
|
|
include::licensing/put-license.asciidoc[]
|
|
include::licensing/get-license.asciidoc[]
|
|
include::licensing/delete-license.asciidoc[]
|
|
include::licensing/start-trial.asciidoc[]
|
|
include::licensing/start-basic.asciidoc[]
|
|
include::licensing/get-trial-status.asciidoc[]
|
|
include::licensing/get-basic-status.asciidoc[]
|
|
|
|
[role="xpack"]
|
|
== Machine Learning APIs
|
|
:upid: {mainid}-x-pack-ml
|
|
:doc-tests-file: {doc-tests}/MlClientDocumentationIT.java
|
|
|
|
The Java High Level REST Client supports the following {ml} APIs:
|
|
|
|
* <<{upid}-close-job>>
|
|
* <<{upid}-delete-job>>
|
|
* <<{upid}-delete-calendar-job>>
|
|
* <<{upid}-delete-calendar>>
|
|
* <<{upid}-delete-calendar-event>>
|
|
* <<{upid}-delete-data-frame-analytics>>
|
|
* <<{upid}-delete-datafeed>>
|
|
* <<{upid}-delete-expired-data>>
|
|
* <<{upid}-delete-filter>>
|
|
* <<{upid}-delete-forecast>>
|
|
* <<{upid}-delete-model-snapshot>>
|
|
* <<{upid}-delete-trained-models>>
|
|
* <<{upid}-estimate-model-memory>>
|
|
* <<{upid}-evaluate-data-frame>>
|
|
* <<{upid}-explain-data-frame-analytics>>
|
|
* <<{upid}-find-file-structure>>
|
|
* <<{upid}-flush-job>>
|
|
* <<{upid}-forecast-job>>
|
|
* <<{upid}-get-job>>
|
|
* <<{upid}-get-job-stats>>
|
|
* <<{upid}-get-buckets>>
|
|
* <<{upid}-get-calendars>>
|
|
* <<{upid}-get-calendar-events>>
|
|
* <<{upid}-get-categories>>
|
|
* <<{upid}-get-data-frame-analytics>>
|
|
* <<{upid}-get-data-frame-analytics-stats>>
|
|
* <<{upid}-get-datafeed>>
|
|
* <<{upid}-get-datafeed-stats>>
|
|
* <<{upid}-get-filters>>
|
|
* <<{upid}-get-influencers>>
|
|
* <<{upid}-get-ml-info>>
|
|
* <<{upid}-get-model-snapshots>>
|
|
* <<{upid}-get-overall-buckets>>
|
|
* <<{upid}-get-records>>
|
|
* <<{upid}-get-trained-models>>
|
|
* <<{upid}-get-trained-models-stats>>
|
|
* <<{upid}-open-job>>
|
|
* <<{upid}-post-calendar-event>>
|
|
* <<{upid}-post-data>>
|
|
* <<{upid}-preview-datafeed>>
|
|
* <<{upid}-put-job>>
|
|
* <<{upid}-put-calendar-job>>
|
|
* <<{upid}-put-calendar>>
|
|
* <<{upid}-put-data-frame-analytics>>
|
|
* <<{upid}-put-datafeed>>
|
|
* <<{upid}-put-filter>>
|
|
* <<{upid}-put-trained-model>>
|
|
* <<{upid}-revert-model-snapshot>>
|
|
* <<{upid}-set-upgrade-mode>>
|
|
* <<{upid}-start-data-frame-analytics>>
|
|
* <<{upid}-start-datafeed>>
|
|
* <<{upid}-stop-data-frame-analytics>>
|
|
* <<{upid}-stop-datafeed>>
|
|
* <<{upid}-update-job>>
|
|
* <<{upid}-update-data-frame-analytics>>
|
|
* <<{upid}-update-datafeed>>
|
|
* <<{upid}-update-filter>>
|
|
* <<{upid}-update-model-snapshot>>
|
|
|
|
// CLOSE
|
|
include::ml/close-job.asciidoc[]
|
|
// DELETE
|
|
include::ml/delete-job.asciidoc[]
|
|
include::ml/delete-calendar-job.asciidoc[]
|
|
include::ml/delete-calendar-event.asciidoc[]
|
|
include::ml/delete-calendar.asciidoc[]
|
|
include::ml/delete-data-frame-analytics.asciidoc[]
|
|
include::ml/delete-datafeed.asciidoc[]
|
|
include::ml/delete-expired-data.asciidoc[]
|
|
include::ml/delete-filter.asciidoc[]
|
|
include::ml/delete-forecast.asciidoc[]
|
|
include::ml/delete-model-snapshot.asciidoc[]
|
|
include::ml/delete-trained-models.asciidoc[]
|
|
// ESTIMATE
|
|
include::ml/estimate-model-memory.asciidoc[]
|
|
// EVALUATE
|
|
include::ml/evaluate-data-frame.asciidoc[]
|
|
// EXPLAIN
|
|
include::ml/explain-data-frame-analytics.asciidoc[]
|
|
// FIND
|
|
include::ml/find-file-structure.asciidoc[]
|
|
// FLUSH
|
|
include::ml/flush-job.asciidoc[]
|
|
// FORECAST
|
|
include::ml/forecast-job.asciidoc[]
|
|
// GET
|
|
include::ml/get-job.asciidoc[]
|
|
include::ml/get-job-stats.asciidoc[]
|
|
include::ml/get-buckets.asciidoc[]
|
|
include::ml/get-calendar-events.asciidoc[]
|
|
include::ml/get-calendars.asciidoc[]
|
|
include::ml/get-categories.asciidoc[]
|
|
include::ml/get-data-frame-analytics.asciidoc[]
|
|
include::ml/get-data-frame-analytics-stats.asciidoc[]
|
|
include::ml/get-datafeed.asciidoc[]
|
|
include::ml/get-datafeed-stats.asciidoc[]
|
|
include::ml/get-filters.asciidoc[]
|
|
include::ml/get-influencers.asciidoc[]
|
|
include::ml/get-info.asciidoc[]
|
|
include::ml/get-model-snapshots.asciidoc[]
|
|
include::ml/get-overall-buckets.asciidoc[]
|
|
include::ml/get-records.asciidoc[]
|
|
include::ml/get-trained-models.asciidoc[]
|
|
include::ml/get-trained-models-stats.asciidoc[]
|
|
// OPEN
|
|
include::ml/open-job.asciidoc[]
|
|
// POST
|
|
include::ml/post-calendar-event.asciidoc[]
|
|
include::ml/post-data.asciidoc[]
|
|
// PREVIEW
|
|
include::ml/preview-datafeed.asciidoc[]
|
|
// PUT
|
|
include::ml/put-job.asciidoc[]
|
|
include::ml/put-calendar-job.asciidoc[]
|
|
include::ml/put-calendar.asciidoc[]
|
|
include::ml/put-data-frame-analytics.asciidoc[]
|
|
include::ml/put-datafeed.asciidoc[]
|
|
include::ml/put-filter.asciidoc[]
|
|
include::ml/put-trained-model.asciidoc[]
|
|
// REVERT
|
|
include::ml/revert-model-snapshot.asciidoc[]
|
|
// SET
|
|
include::ml/set-upgrade-mode.asciidoc[]
|
|
// START
|
|
include::ml/start-data-frame-analytics.asciidoc[]
|
|
include::ml/start-datafeed.asciidoc[]
|
|
// STOP
|
|
include::ml/stop-data-frame-analytics.asciidoc[]
|
|
include::ml/stop-datafeed.asciidoc[]
|
|
// UPDATE
|
|
include::ml/update-job.asciidoc[]
|
|
include::ml/update-data-frame-analytics.asciidoc[]
|
|
include::ml/update-datafeed.asciidoc[]
|
|
include::ml/update-filter.asciidoc[]
|
|
include::ml/update-model-snapshot.asciidoc[]
|
|
|
|
== Migration APIs
|
|
|
|
:upid: {mainid}-migration
|
|
:doc-tests-file: {doc-tests}/MigrationClientDocumentationIT.java
|
|
|
|
The Java High Level REST Client supports the following Migration APIs:
|
|
|
|
* <<{upid}-get-deprecation-info>>
|
|
|
|
include::migration/get-deprecation-info.asciidoc[]
|
|
|
|
[role="xpack"]
|
|
== Rollup APIs
|
|
|
|
:upid: {mainid}-rollup
|
|
:doc-tests-file: {doc-tests}/RollupDocumentationIT.java
|
|
|
|
The Java High Level REST Client supports the following Rollup APIs:
|
|
|
|
* <<java-rest-high-x-pack-rollup-put-job>>
|
|
* <<{upid}-rollup-start-job>>
|
|
* <<{upid}-rollup-stop-job>>
|
|
* <<{upid}-rollup-delete-job>>
|
|
* <<java-rest-high-x-pack-rollup-get-job>>
|
|
* <<{upid}-search>>
|
|
* <<{upid}-x-pack-rollup-get-rollup-caps>>
|
|
* <<{upid}-x-pack-rollup-get-rollup-index-caps>>
|
|
|
|
include::rollup/put_job.asciidoc[]
|
|
include::rollup/start_job.asciidoc[]
|
|
include::rollup/stop_job.asciidoc[]
|
|
include::rollup/delete_job.asciidoc[]
|
|
include::rollup/get_job.asciidoc[]
|
|
include::rollup/search.asciidoc[]
|
|
include::rollup/get_rollup_caps.asciidoc[]
|
|
include::rollup/get_rollup_index_caps.asciidoc[]
|
|
|
|
[role="xpack"]
|
|
== Security APIs
|
|
|
|
:upid: {mainid}-security
|
|
:doc-tests-file: {doc-tests}/SecurityDocumentationIT.java
|
|
|
|
The Java High Level REST Client supports the following Security APIs:
|
|
|
|
* <<java-rest-high-security-put-user>>
|
|
* <<{upid}-get-users>>
|
|
* <<{upid}-delete-user>>
|
|
* <<java-rest-high-security-enable-user>>
|
|
* <<java-rest-high-security-disable-user>>
|
|
* <<java-rest-high-security-change-password>>
|
|
* <<{upid}-put-role>>
|
|
* <<{upid}-get-roles>>
|
|
* <<java-rest-high-security-delete-role>>
|
|
* <<{upid}-clear-roles-cache>>
|
|
* <<{upid}-clear-privileges-cache>>
|
|
* <<{upid}-clear-realm-cache>>
|
|
* <<{upid}-clear-api-key-cache>>
|
|
* <<{upid}-authenticate>>
|
|
* <<{upid}-has-privileges>>
|
|
* <<{upid}-get-user-privileges>>
|
|
* <<java-rest-high-security-get-certificates>>
|
|
* <<java-rest-high-security-put-role-mapping>>
|
|
* <<java-rest-high-security-get-role-mappings>>
|
|
* <<java-rest-high-security-delete-role-mapping>>
|
|
* <<java-rest-high-security-create-token>>
|
|
* <<{upid}-invalidate-token>>
|
|
* <<{upid}-get-builtin-privileges>>
|
|
* <<{upid}-get-privileges>>
|
|
* <<{upid}-put-privileges>>
|
|
* <<{upid}-delete-privileges>>
|
|
* <<{upid}-create-api-key>>
|
|
* <<{upid}-get-api-key>>
|
|
* <<{upid}-invalidate-api-key>>
|
|
|
|
include::security/put-user.asciidoc[]
|
|
include::security/get-users.asciidoc[]
|
|
include::security/delete-user.asciidoc[]
|
|
include::security/enable-user.asciidoc[]
|
|
include::security/disable-user.asciidoc[]
|
|
include::security/change-password.asciidoc[]
|
|
include::security/put-role.asciidoc[]
|
|
include::security/get-roles.asciidoc[]
|
|
include::security/delete-role.asciidoc[]
|
|
include::security/delete-privileges.asciidoc[]
|
|
include::security/get-builtin-privileges.asciidoc[]
|
|
include::security/get-privileges.asciidoc[]
|
|
include::security/clear-roles-cache.asciidoc[]
|
|
include::security/clear-privileges-cache.asciidoc[]
|
|
include::security/clear-realm-cache.asciidoc[]
|
|
include::security/clear-api-key-cache.asciidoc[]
|
|
include::security/authenticate.asciidoc[]
|
|
include::security/has-privileges.asciidoc[]
|
|
include::security/get-user-privileges.asciidoc[]
|
|
include::security/get-certificates.asciidoc[]
|
|
include::security/put-role-mapping.asciidoc[]
|
|
include::security/get-role-mappings.asciidoc[]
|
|
include::security/delete-role-mapping.asciidoc[]
|
|
include::security/create-token.asciidoc[]
|
|
include::security/invalidate-token.asciidoc[]
|
|
include::security/put-privileges.asciidoc[]
|
|
include::security/create-api-key.asciidoc[]
|
|
include::security/get-api-key.asciidoc[]
|
|
include::security/invalidate-api-key.asciidoc[]
|
|
|
|
[role="xpack"]
|
|
== Watcher APIs
|
|
|
|
:upid: {mainid}-watcher
|
|
:doc-tests-file: {doc-tests}/WatcherDocumentationIT.java
|
|
|
|
The Java High Level REST Client supports the following Watcher APIs:
|
|
|
|
* <<{upid}-start-watch-service>>
|
|
* <<{upid}-stop-watch-service>>
|
|
* <<java-rest-high-x-pack-watcher-put-watch>>
|
|
* <<{upid}-get-watch>>
|
|
* <<java-rest-high-x-pack-watcher-delete-watch>>
|
|
* <<java-rest-high-watcher-deactivate-watch>>
|
|
* <<{upid}-ack-watch>>
|
|
* <<{upid}-activate-watch>>
|
|
* <<{upid}-execute-watch>>
|
|
* <<{upid}-watcher-stats>>
|
|
|
|
include::watcher/start-watch-service.asciidoc[]
|
|
include::watcher/stop-watch-service.asciidoc[]
|
|
include::watcher/put-watch.asciidoc[]
|
|
include::watcher/get-watch.asciidoc[]
|
|
include::watcher/delete-watch.asciidoc[]
|
|
include::watcher/ack-watch.asciidoc[]
|
|
include::watcher/deactivate-watch.asciidoc[]
|
|
include::watcher/activate-watch.asciidoc[]
|
|
include::watcher/execute-watch.asciidoc[]
|
|
include::watcher/watcher-stats.asciidoc[]
|
|
|
|
[role="xpack"]
|
|
== Graph APIs
|
|
|
|
The Java High Level REST Client supports the following Graph APIs:
|
|
|
|
* <<java-rest-high-x-pack-graph-explore>>
|
|
|
|
include::graph/explore.asciidoc[]
|
|
|
|
////
|
|
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!:
|
|
--
|
|
|
|
[role="xpack"]
|
|
== CCR APIs
|
|
|
|
:upid: {mainid}-ccr
|
|
:doc-tests-file: {doc-tests}/CCRDocumentationIT.java
|
|
|
|
The Java High Level REST Client supports the following CCR APIs:
|
|
|
|
* <<{upid}-ccr-put-follow>>
|
|
* <<{upid}-ccr-pause-follow>>
|
|
* <<{upid}-ccr-resume-follow>>
|
|
* <<{upid}-ccr-unfollow>>
|
|
* <<{upid}-ccr-forget-follower>>
|
|
* <<{upid}-ccr-put-auto-follow-pattern>>
|
|
* <<{upid}-ccr-delete-auto-follow-pattern>>
|
|
* <<{upid}-ccr-get-auto-follow-pattern>>
|
|
* <<{upid}-ccr-pause-auto-follow-pattern>>
|
|
* <<{upid}-ccr-resume-auto-follow-pattern>>
|
|
* <<{upid}-ccr-get-stats>>
|
|
* <<{upid}-ccr-get-follow-stats>>
|
|
* <<{upid}-ccr-get-follow-info>>
|
|
|
|
include::ccr/put_follow.asciidoc[]
|
|
include::ccr/pause_follow.asciidoc[]
|
|
include::ccr/resume_follow.asciidoc[]
|
|
include::ccr/unfollow.asciidoc[]
|
|
include::ccr/forget_follower.asciidoc[]
|
|
include::ccr/put_auto_follow_pattern.asciidoc[]
|
|
include::ccr/delete_auto_follow_pattern.asciidoc[]
|
|
include::ccr/get_auto_follow_pattern.asciidoc[]
|
|
include::ccr/pause_auto_follow_pattern.asciidoc[]
|
|
include::ccr/resume_auto_follow_pattern.asciidoc[]
|
|
include::ccr/get_stats.asciidoc[]
|
|
include::ccr/get_follow_stats.asciidoc[]
|
|
include::ccr/get_follow_info.asciidoc[]
|
|
|
|
[role="xpack"]
|
|
== 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>>
|
|
* <<{upid}-ilm-delete-lifecycle-policy>>
|
|
* <<{upid}-ilm-get-lifecycle-policy>>
|
|
* <<{upid}-ilm-explain-lifecycle>>
|
|
* <<{upid}-ilm-start-ilm>>
|
|
* <<{upid}-ilm-stop-ilm>>
|
|
* <<{upid}-ilm-status>>
|
|
* <<{upid}-ilm-retry-lifecycle-policy>>
|
|
* <<{upid}-ilm-remove-lifecycle-policy-from-index>>
|
|
|
|
|
|
include::ilm/put_lifecycle_policy.asciidoc[]
|
|
include::ilm/delete_lifecycle_policy.asciidoc[]
|
|
include::ilm/get_lifecycle_policy.asciidoc[]
|
|
include::ilm/explain_lifecycle.asciidoc[]
|
|
include::ilm/start_lifecycle_management.asciidoc[]
|
|
include::ilm/stop_lifecycle_management.asciidoc[]
|
|
include::ilm/lifecycle_management_status.asciidoc[]
|
|
include::ilm/retry_lifecycle_policy.asciidoc[]
|
|
include::ilm/remove_lifecycle_policy_from_index.asciidoc[]
|
|
|
|
[role="xpack"]
|
|
== Snapshot Lifecycle Management APIs
|
|
|
|
:upid: {mainid}-ilm
|
|
:doc-tests-file: {doc-tests}/ILMDocumentationIT.java
|
|
|
|
The Java High Level REST Client supports the following Snapshot Lifecycle
|
|
Management APIs:
|
|
|
|
* <<{upid}-slm-put-snapshot-lifecycle-policy>>
|
|
* <<{upid}-slm-delete-snapshot-lifecycle-policy>>
|
|
* <<{upid}-ilm-get-lifecycle-policy>>
|
|
* <<{upid}-slm-start-slm>>
|
|
* <<{upid}-slm-stop-slm>>
|
|
* <<{upid}-slm-status>>
|
|
* <<{upid}-slm-execute-snapshot-lifecycle-policy>>
|
|
* <<{upid}-slm-execute-snapshot-lifecycle-retention>>
|
|
|
|
|
|
include::ilm/put_snapshot_lifecycle_policy.asciidoc[]
|
|
include::ilm/delete_snapshot_lifecycle_policy.asciidoc[]
|
|
include::ilm/get_snapshot_lifecycle_policy.asciidoc[]
|
|
include::ilm/start_snapshot_lifecycle_management.asciidoc[]
|
|
include::ilm/stop_snapshot_lifecycle_management.asciidoc[]
|
|
include::ilm/snapshot_lifecycle_management_status.asciidoc[]
|
|
include::ilm/execute_snapshot_lifecycle_policy.asciidoc[]
|
|
include::ilm/execute_snapshot_lifecycle_retention.asciidoc[]
|
|
|
|
|
|
[role="xpack"]
|
|
[[transform_apis]]
|
|
== {transform-cap} APIs
|
|
|
|
:upid: {mainid}
|
|
:doc-tests-file: {doc-tests}/TransformDocumentationIT.java
|
|
|
|
The Java High Level REST Client supports the following {transform}
|
|
APIs:
|
|
|
|
* <<{upid}-get-transform>>
|
|
* <<{upid}-get-transform-stats>>
|
|
* <<{upid}-put-transform>>
|
|
* <<{upid}-update-transform>>
|
|
* <<{upid}-delete-transform>>
|
|
* <<{upid}-preview-transform>>
|
|
* <<{upid}-start-transform>>
|
|
* <<{upid}-stop-transform>>
|
|
|
|
include::transform/get_transform.asciidoc[]
|
|
include::transform/get_transform_stats.asciidoc[]
|
|
include::transform/put_transform.asciidoc[]
|
|
include::transform/update_transform.asciidoc[]
|
|
include::transform/delete_transform.asciidoc[]
|
|
include::transform/preview_transform.asciidoc[]
|
|
include::transform/start_transform.asciidoc[]
|
|
include::transform/stop_transform.asciidoc[]
|
|
|
|
== Enrich APIs
|
|
|
|
:upid: {mainid}-enrich
|
|
:doc-tests-file: {doc-tests}/EnrichDocumentationIT.java
|
|
|
|
The Java High Level REST Client supports the following Enrich APIs:
|
|
|
|
* <<{upid}-enrich-put-policy>>
|
|
* <<{upid}-enrich-delete-policy>>
|
|
* <<{upid}-enrich-get-policy>>
|
|
* <<{upid}-enrich-stats>>
|
|
* <<{upid}-enrich-execute-policy>>
|
|
|
|
include::enrich/put_policy.asciidoc[]
|
|
include::enrich/delete_policy.asciidoc[]
|
|
include::enrich/get_policy.asciidoc[]
|
|
include::enrich/stats.asciidoc[]
|
|
include::enrich/execute_policy.asciidoc[]
|