elasticsearch-api 9.4.1 → 9.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/elasticsearch/api/actions/cancel_reindex.rb +4 -3
- data/lib/elasticsearch/api/actions/cat/tasks.rb +4 -3
- data/lib/elasticsearch/api/actions/connector/check_in.rb +4 -3
- data/lib/elasticsearch/api/actions/connector/delete.rb +4 -4
- data/lib/elasticsearch/api/actions/connector/get.rb +4 -4
- data/lib/elasticsearch/api/actions/connector/list.rb +4 -4
- data/lib/elasticsearch/api/actions/connector/post.rb +4 -4
- data/lib/elasticsearch/api/actions/connector/put.rb +4 -4
- data/lib/elasticsearch/api/actions/connector/sync_job_cancel.rb +4 -4
- data/lib/elasticsearch/api/actions/connector/sync_job_check_in.rb +4 -3
- data/lib/elasticsearch/api/actions/connector/sync_job_claim.rb +4 -3
- data/lib/elasticsearch/api/actions/connector/sync_job_delete.rb +4 -4
- data/lib/elasticsearch/api/actions/connector/sync_job_error.rb +4 -3
- data/lib/elasticsearch/api/actions/connector/sync_job_get.rb +4 -4
- data/lib/elasticsearch/api/actions/connector/sync_job_list.rb +4 -4
- data/lib/elasticsearch/api/actions/connector/sync_job_post.rb +4 -4
- data/lib/elasticsearch/api/actions/connector/sync_job_update_stats.rb +4 -3
- data/lib/elasticsearch/api/actions/connector/update_active_filtering.rb +4 -3
- data/lib/elasticsearch/api/actions/connector/update_api_key_id.rb +4 -4
- data/lib/elasticsearch/api/actions/connector/update_configuration.rb +4 -4
- data/lib/elasticsearch/api/actions/connector/update_error.rb +4 -3
- data/lib/elasticsearch/api/actions/connector/update_features.rb +4 -3
- data/lib/elasticsearch/api/actions/connector/update_filtering.rb +4 -4
- data/lib/elasticsearch/api/actions/connector/update_filtering_validation.rb +4 -3
- data/lib/elasticsearch/api/actions/connector/update_index_name.rb +4 -4
- data/lib/elasticsearch/api/actions/connector/update_name.rb +4 -4
- data/lib/elasticsearch/api/actions/connector/update_native.rb +4 -4
- data/lib/elasticsearch/api/actions/connector/update_pipeline.rb +4 -4
- data/lib/elasticsearch/api/actions/connector/update_scheduling.rb +4 -4
- data/lib/elasticsearch/api/actions/connector/update_service_type.rb +4 -4
- data/lib/elasticsearch/api/actions/connector/update_status.rb +4 -3
- data/lib/elasticsearch/api/actions/esql/delete_view.rb +4 -3
- data/lib/elasticsearch/api/actions/esql/get_query.rb +4 -3
- data/lib/elasticsearch/api/actions/esql/get_view.rb +4 -3
- data/lib/elasticsearch/api/actions/esql/list_queries.rb +4 -3
- data/lib/elasticsearch/api/actions/esql/put_view.rb +4 -3
- data/lib/elasticsearch/api/actions/features/reset_features.rb +4 -3
- data/lib/elasticsearch/api/actions/fleet/msearch.rb +4 -3
- data/lib/elasticsearch/api/actions/fleet/search.rb +4 -3
- data/lib/elasticsearch/api/actions/get_reindex.rb +4 -3
- data/lib/elasticsearch/api/actions/indices/disk_usage.rb +4 -3
- data/lib/elasticsearch/api/actions/indices/field_usage_stats.rb +4 -3
- data/lib/elasticsearch/api/actions/inference/embedding.rb +4 -3
- data/lib/elasticsearch/api/actions/list_reindex.rb +4 -3
- data/lib/elasticsearch/api/actions/nodes/clear_repositories_metering_archive.rb +4 -3
- data/lib/elasticsearch/api/actions/nodes/get_repositories_metering_info.rb +4 -3
- data/lib/elasticsearch/api/actions/project/create_many_routing.rb +4 -3
- data/lib/elasticsearch/api/actions/project/create_routing.rb +4 -3
- data/lib/elasticsearch/api/actions/project/delete_routing.rb +4 -3
- data/lib/elasticsearch/api/actions/project/get_many_routing.rb +4 -3
- data/lib/elasticsearch/api/actions/project/get_routing.rb +4 -3
- data/lib/elasticsearch/api/actions/project/tags.rb +4 -3
- data/lib/elasticsearch/api/actions/reindex.rb +2 -1
- data/lib/elasticsearch/api/actions/scripts_painless_execute.rb +4 -3
- data/lib/elasticsearch/api/actions/search_application/delete.rb +4 -4
- data/lib/elasticsearch/api/actions/search_application/delete_behavioral_analytics.rb +4 -3
- data/lib/elasticsearch/api/actions/search_application/get.rb +4 -4
- data/lib/elasticsearch/api/actions/search_application/get_behavioral_analytics.rb +4 -3
- data/lib/elasticsearch/api/actions/search_application/list.rb +4 -4
- data/lib/elasticsearch/api/actions/search_application/post_behavioral_analytics_event.rb +4 -3
- data/lib/elasticsearch/api/actions/search_application/put.rb +4 -4
- data/lib/elasticsearch/api/actions/search_application/put_behavioral_analytics.rb +4 -3
- data/lib/elasticsearch/api/actions/search_application/render_query.rb +4 -3
- data/lib/elasticsearch/api/actions/search_application/search.rb +4 -4
- data/lib/elasticsearch/api/actions/searchable_snapshots/cache_stats.rb +4 -3
- data/lib/elasticsearch/api/actions/searchable_snapshots/clear_cache.rb +4 -3
- data/lib/elasticsearch/api/actions/security/clone_api_key.rb +4 -3
- data/lib/elasticsearch/api/actions/simulate/ingest.rb +4 -3
- data/lib/elasticsearch/api/actions/snapshot/repository_verify_integrity.rb +4 -3
- data/lib/elasticsearch/api/actions/streams/logs_disable.rb +4 -3
- data/lib/elasticsearch/api/actions/streams/logs_enable.rb +4 -3
- data/lib/elasticsearch/api/actions/streams/status.rb +4 -3
- data/lib/elasticsearch/api/actions/tasks/cancel.rb +4 -3
- data/lib/elasticsearch/api/actions/tasks/get.rb +4 -3
- data/lib/elasticsearch/api/actions/tasks/list.rb +4 -3
- data/lib/elasticsearch/api/utils.rb +1 -1
- data/lib/elasticsearch/api/version.rb +2 -2
- metadata +1 -1
|
@@ -27,9 +27,10 @@ module Elasticsearch
|
|
|
27
27
|
# WARNING: The task management API is new and should still be considered a beta feature.
|
|
28
28
|
# The API may change in ways that are not backwards compatible.
|
|
29
29
|
# If the task identifier is not found, a 404 response code indicates that there are no resources that match the request.
|
|
30
|
-
# This functionality is
|
|
31
|
-
#
|
|
32
|
-
#
|
|
30
|
+
# This functionality is experimental and is not ready for production usage. Experimental
|
|
31
|
+
# features may change or be removed at any time. Elastic will work to fix any issues, but
|
|
32
|
+
# experimental features are not subject to the support SLA of official GA features. Specific
|
|
33
|
+
# Support terms apply.
|
|
33
34
|
#
|
|
34
35
|
# @option arguments [String] :task_id The task identifier. (*Required*)
|
|
35
36
|
# @option arguments [Time] :timeout The period to wait for a response.
|
|
@@ -78,9 +78,10 @@ module Elasticsearch
|
|
|
78
78
|
# In this example, `X-Opaque-Id: 123456` is the ID as a part of the response header.
|
|
79
79
|
# The `X-Opaque-Id` in the task `headers` is the ID for the task that was initiated by the REST request.
|
|
80
80
|
# The `X-Opaque-Id` in the children `headers` is the child task of the task that was initiated by the REST request.
|
|
81
|
-
# This functionality is
|
|
82
|
-
#
|
|
83
|
-
#
|
|
81
|
+
# This functionality is experimental and is not ready for production usage. Experimental
|
|
82
|
+
# features may change or be removed at any time. Elastic will work to fix any issues, but
|
|
83
|
+
# experimental features are not subject to the support SLA of official GA features. Specific
|
|
84
|
+
# Support terms apply.
|
|
84
85
|
#
|
|
85
86
|
# @option arguments [String, Array<String>] :actions A comma-separated list or wildcard expression of actions used to limit the request.
|
|
86
87
|
# For example, you can use `cluser:*` to retrieve all cluster-related tasks.
|
|
@@ -178,7 +178,7 @@ module Elasticsearch
|
|
|
178
178
|
def update_ndjson_headers!(headers, client_headers)
|
|
179
179
|
current_content = client_headers.keys.find { |c| c.match?(/content-?_?type/i) } || 'content-type'
|
|
180
180
|
current_accept = client_headers.keys.find { |c| c.match?(/accept/i) } || 'accept'
|
|
181
|
-
version = client_headers[current_content].match(/compatible-with=([0-9]+)/)[1
|
|
181
|
+
version = client_headers[current_content].match(/compatible-with=([0-9]+)/)&.[](1) || 9
|
|
182
182
|
|
|
183
183
|
headers.merge!(
|
|
184
184
|
{
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
module Elasticsearch
|
|
19
19
|
module API
|
|
20
|
-
VERSION = '9.4.
|
|
21
|
-
ES_SPECIFICATION_COMMIT = '
|
|
20
|
+
VERSION = '9.4.2'.freeze
|
|
21
|
+
ES_SPECIFICATION_COMMIT = '90feb8f8da6b8538a2a3ad837747a0856a19367e'.freeze
|
|
22
22
|
end
|
|
23
23
|
end
|