Update APIs to latest 8.9.0
This commit is contained in:
@ -979,6 +979,16 @@ Returns basic information about the health of the cluster.
|
||||
client.cluster.health(...)
|
||||
----
|
||||
|
||||
[discrete]
|
||||
==== info
|
||||
Returns different information about the cluster.
|
||||
|
||||
{ref}/cluster-info.html[Endpoint documentation]
|
||||
[source,ts]
|
||||
----
|
||||
client.cluster.info(...)
|
||||
----
|
||||
|
||||
[discrete]
|
||||
==== pending_tasks
|
||||
Returns a list of any cluster-level changes (e.g. create index, update mapping,
|
||||
@ -3089,6 +3099,16 @@ Creates a behavioral analytics collection.
|
||||
client.searchApplication.putBehavioralAnalytics(...)
|
||||
----
|
||||
|
||||
[discrete]
|
||||
==== render_query
|
||||
Renders a query for given search application search parameters
|
||||
|
||||
{ref}/search-application-render-query.html[Endpoint documentation]
|
||||
[source,ts]
|
||||
----
|
||||
client.searchApplication.renderQuery(...)
|
||||
----
|
||||
|
||||
[discrete]
|
||||
==== search
|
||||
Perform a search against a search application
|
||||
@ -3233,6 +3253,16 @@ Creates an API key for access without requiring basic authentication.
|
||||
client.security.createApiKey(...)
|
||||
----
|
||||
|
||||
[discrete]
|
||||
==== create_cross_cluster_api_key
|
||||
Creates a cross-cluster API key for API key based remote cluster access.
|
||||
|
||||
{ref}/security-api-create-cross-cluster-api-key.html[Endpoint documentation]
|
||||
[source,ts]
|
||||
----
|
||||
client.security.createCrossClusterApiKey(...)
|
||||
----
|
||||
|
||||
[discrete]
|
||||
==== create_service_token
|
||||
Creates a service account token for access without requiring basic authentication.
|
||||
@ -3623,6 +3653,16 @@ Updates attributes of an existing API key.
|
||||
client.security.updateApiKey(...)
|
||||
----
|
||||
|
||||
[discrete]
|
||||
==== update_cross_cluster_api_key
|
||||
Updates attributes of an existing cross-cluster API key.
|
||||
|
||||
{ref}/security-api-update-cross-cluster-api-key.html[Endpoint documentation]
|
||||
[source,ts]
|
||||
----
|
||||
client.security.updateCrossClusterApiKey(...)
|
||||
----
|
||||
|
||||
[discrete]
|
||||
=== slm
|
||||
[discrete]
|
||||
@ -3911,6 +3951,38 @@ Retrieves information about the X.509 certificates used to encrypt communication
|
||||
client.ssl.certificates(...)
|
||||
----
|
||||
|
||||
[discrete]
|
||||
=== synonyms
|
||||
[discrete]
|
||||
==== delete
|
||||
Deletes a synonym set
|
||||
|
||||
{ref}/delete-synonyms.html[Endpoint documentation]
|
||||
[source,ts]
|
||||
----
|
||||
client.synonyms.delete(...)
|
||||
----
|
||||
|
||||
[discrete]
|
||||
==== get
|
||||
Retrieves a synonym set
|
||||
|
||||
{ref}/get-synonyms.html[Endpoint documentation]
|
||||
[source,ts]
|
||||
----
|
||||
client.synonyms.get(...)
|
||||
----
|
||||
|
||||
[discrete]
|
||||
==== put
|
||||
Creates or updates a synonyms set
|
||||
|
||||
{ref}/put-synonyms.html[Endpoint documentation]
|
||||
[source,ts]
|
||||
----
|
||||
client.synonyms.put(...)
|
||||
----
|
||||
|
||||
[discrete]
|
||||
=== tasks
|
||||
[discrete]
|
||||
@ -4119,6 +4191,16 @@ Forces the execution of a stored watch.
|
||||
client.watcher.executeWatch(...)
|
||||
----
|
||||
|
||||
[discrete]
|
||||
==== get_settings
|
||||
Retrieve settings for the watcher system index
|
||||
|
||||
{ref}/watcher-api-get-settings.html[Endpoint documentation]
|
||||
[source,ts]
|
||||
----
|
||||
client.watcher.getSettings(...)
|
||||
----
|
||||
|
||||
[discrete]
|
||||
==== get_watch
|
||||
Retrieves a watch by its ID.
|
||||
@ -4179,6 +4261,16 @@ Stops Watcher if it is running.
|
||||
client.watcher.stop(...)
|
||||
----
|
||||
|
||||
[discrete]
|
||||
==== update_settings
|
||||
Update settings for the watcher system index
|
||||
|
||||
{ref}/watcher-api-update-settings.html[Endpoint documentation]
|
||||
[source,ts]
|
||||
----
|
||||
client.watcher.updateSettings(...)
|
||||
----
|
||||
|
||||
[discrete]
|
||||
=== xpack
|
||||
[discrete]
|
||||
|
||||
Reference in New Issue
Block a user