Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ module Esql
module Actions
# Delete an ES|QL view.
# Deletes a stored ES|QL view.
#
# This API is only available behind a feature flag: `esql_views`.
#
# This functionality is in technical preview and may be changed or removed in a future
# release. Elastic will apply best effort to fix any issues, but features in technical
# preview are not subject to the support SLA of official GA features.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ module Esql
module Actions
# Get an ES|QL view.
# Returns a stored ES|QL view.
#
# This API is only available behind a feature flag: `esql_views`.
#
# This functionality is in technical preview and may be changed or removed in a future
# release. Elastic will apply best effort to fix any issues, but features in technical
# preview are not subject to the support SLA of official GA features.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ module API
module Esql
module Actions
# Create or update an ES|QL view.
#
# This API is only available behind a feature flag: `esql_views`.
#
# This functionality is in technical preview and may be changed or removed in a future
# release. Elastic will apply best effort to fix any issues, but features in technical
# preview are not subject to the support SLA of official GA features.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ module Indices
module Actions
# Delete sampling configuration.
# Delete the sampling configuration for the specified index.
#
# This API is only available behind a feature flag: `random_sampling`.
#
# This functionality is in technical preview and may be changed or removed in a future
# release. Elastic will apply best effort to fix any issues, but features in technical
# preview are not subject to the support SLA of official GA features.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ module Indices
module Actions
# Get all sampling configurations.
# Get the sampling configurations for all indices.
#
# This API is only available behind a feature flag: `random_sampling`.
#
# This functionality is in technical preview and may be changed or removed in a future
# release. Elastic will apply best effort to fix any issues, but features in technical
# preview are not subject to the support SLA of official GA features.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ module API
module Indices
module Actions
# Request for a random sample of raw documents ingested into the given index or data stream.
#
# This API is only available behind a feature flag: `random_sampling`.
#
# This functionality is in technical preview and may be changed or removed in a future
# release. Elastic will apply best effort to fix any issues, but features in technical
# preview are not subject to the support SLA of official GA features.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ module Indices
module Actions
# Get sampling configuration.
# Get the sampling configuration for the specified index.
#
# This API is only available behind a feature flag: `random_sampling`.
#
# This functionality is in technical preview and may be changed or removed in a future
# release. Elastic will apply best effort to fix any issues, but features in technical
# preview are not subject to the support SLA of official GA features.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ module API
module Indices
module Actions
# Request stats for a random sample of raw documents ingested into the given index or data stream.
#
# This API is only available behind a feature flag: `random_sampling`.
#
# This functionality is in technical preview and may be changed or removed in a future
# release. Elastic will apply best effort to fix any issues, but features in technical
# preview are not subject to the support SLA of official GA features.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ module Indices
module Actions
# Create or update sampling configuration.
# Create or update the sampling configuration for the specified index.
#
# This API is only available behind a feature flag: `random_sampling`.
#
# This functionality is in technical preview and may be changed or removed in a future
# release. Elastic will apply best effort to fix any issues, but features in technical
# preview are not subject to the support SLA of official GA features.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ module Actions
# Get an inference endpoint.
# This API requires the `monitor_inference` cluster privilege (the built-in `inference_admin` and `inference_user` roles grant this privilege).
#
# @option arguments [String] :task_type The task type
# @option arguments [String] :inference_id The inference Id
# @option arguments [String] :task_type The task type of the endpoint to return
# @option arguments [String] :inference_id The inference Id of the endpoint to return. Using `_all` or `*` will return all endpoints with the specified
# `task_type` if one is specified, or all endpoints for all task types if no `task_type` is specified
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
# when they occur.
# @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response
Expand Down Expand Up @@ -62,6 +63,8 @@ def get(arguments = {})
method = Elasticsearch::API::HTTP_GET
path = if _task_type && _inference_id
"_inference/#{Utils.listify(_task_type)}/#{Utils.listify(_inference_id)}"
elsif _task_type
"_inference/#{Utils.listify(_task_type)}/_all"
elsif _inference_id
"_inference/#{Utils.listify(_inference_id)}"
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ module Project
module Actions
# Get tags.
# Get the tags that are defined for the project.
#
# This API is only available in Serverless.
#
# This functionality is in technical preview and may be changed or removed in a future
# release. Elastic will apply best effort to fix any issues, but features in technical
# preview are not subject to the support SLA of official GA features.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ module Streams
module Actions
# Disable logs stream.
# Turn off the logs stream feature for this cluster.
#
# This API is only available behind a feature flag: `logs_stream`.
#
# This functionality is in technical preview and may be changed or removed in a future
# release. Elastic will apply best effort to fix any issues, but features in technical
# preview are not subject to the support SLA of official GA features.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ module Actions
# NOTE: To protect existing data, this feature can be turned on only if the
# cluster does not have existing indices or data streams that match the pattern `logs|logs.*`.
# If those indices or data streams exist, a `409 - Conflict` response and error is returned.
#
# This API is only available behind a feature flag: `logs_stream`.
#
# This functionality is in technical preview and may be changed or removed in a future
# release. Elastic will apply best effort to fix any issues, but features in technical
# preview are not subject to the support SLA of official GA features.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ module Streams
module Actions
# Get the status of streams.
# Get the current status for all types of streams.
#
# This API is only available behind a feature flag: `logs_stream`.
#
# This functionality is in technical preview and may be changed or removed in a future
# release. Elastic will apply best effort to fix any issues, but features in technical
# preview are not subject to the support SLA of official GA features.
Expand Down
2 changes: 1 addition & 1 deletion elasticsearch-api/lib/elasticsearch/api/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
module Elasticsearch
module API
VERSION = '9.3.0'.freeze
ES_SPECIFICATION_COMMIT = '6e9a671c38d875602bda0957eb6af0e7e3657eec'.freeze
ES_SPECIFICATION_COMMIT = 'e7c19dcd3aa9fd34b15509f0453af0e4756ea080'.freeze
end
end