Skip to content

Commit c94fd52

Browse files
Auto-generated API code
1 parent f9fcc86 commit c94fd52

16 files changed

+44
-804
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/cat/help.rb

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,30 +15,29 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717
#
18-
# Auto generated from commit f284cc16f4d4b4289bc679aa1529bb504190fe80
19-
# @see https://github.com/elastic/elasticsearch-specification
18+
# Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19+
# @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
2020
#
2121
module Elasticsearch
2222
module API
2323
module Cat
2424
module Actions
25-
# Get CAT help.
26-
# Get help for the CAT APIs.
25+
# Returns help for the Cat APIs.
2726
#
2827
# @option arguments [Hash] :headers Custom HTTP headers
2928
#
30-
# @see https://www.elastic.co/docs/api/doc/elasticsearch/group/endpoint-cat
29+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat.html
3130
#
3231
def help(arguments = {})
3332
request_opts = { endpoint: arguments[:endpoint] || 'cat.help' }
3433

3534
arguments = arguments.clone
3635
headers = arguments.delete(:headers) || {}
3736

38-
body = nil
37+
body = nil
3938

4039
method = Elasticsearch::API::HTTP_GET
41-
path = "_cat"
40+
path = '_cat'
4241
params = {}
4342

4443
Elasticsearch::API::Response.new(

elasticsearch-api/lib/elasticsearch/api/actions/esql/async_query_stop.rb

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,25 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717
#
18-
# Auto generated from commit f284cc16f4d4b4289bc679aa1529bb504190fe80
19-
# @see https://github.com/elastic/elasticsearch-specification
18+
# Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19+
# @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
2020
#
2121
module Elasticsearch
2222
module API
2323
module Esql
2424
module Actions
25-
# Stop async ES|QL query.
26-
# This API interrupts the query execution and returns the results so far.
27-
# If the Elasticsearch security features are enabled, only the user who first submitted the ES|QL query can stop it.
25+
# Stops a previously submitted async query request given its ID and collects the results.
2826
#
29-
# @option arguments [String] :id The unique identifier of the query.
30-
# A query ID is provided in the ES|QL async query API response for a query that does not complete in the designated time.
31-
# A query ID is also provided when the request was submitted with the +keep_on_completion+ parameter set to +true+. (*Required*)
32-
# @option arguments [Boolean] :drop_null_columns Indicates whether columns that are entirely +null+ will be removed from the +columns+ and +values+ portion of the results.
33-
# If +true+, the response will include an extra section under the name +all_columns+ which has the name of all the columns.
27+
# @option arguments [String] :id The async query ID
3428
# @option arguments [Hash] :headers Custom HTTP headers
3529
#
3630
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/esql-async-query-stop-api.html
3731
#
3832
def async_query_stop(arguments = {})
3933
request_opts = { endpoint: arguments[:endpoint] || 'esql.async_query_stop' }
4034

41-
defined_params = [:id].inject({}) do |set_variables, variable|
35+
defined_params = [:id].each_with_object({}) do |variable, set_variables|
4236
set_variables[variable] = arguments[variable] if arguments.key?(variable)
43-
set_variables
4437
end
4538
request_opts[:defined_params] = defined_params unless defined_params.empty?
4639

@@ -55,7 +48,7 @@ def async_query_stop(arguments = {})
5548

5649
method = Elasticsearch::API::HTTP_POST
5750
path = "_query/async/#{Utils.__listify(_id)}/stop"
58-
params = Utils.process_params(arguments)
51+
params = {}
5952

6053
Elasticsearch::API::Response.new(
6154
perform_request(method, path, params, body, headers, request_opts)

elasticsearch-api/lib/elasticsearch/api/actions/indices/cancel_migrate_reindex.rb

Lines changed: 0 additions & 66 deletions
This file was deleted.

elasticsearch-api/lib/elasticsearch/api/actions/indices/create_from.rb

Lines changed: 0 additions & 72 deletions
This file was deleted.

elasticsearch-api/lib/elasticsearch/api/actions/indices/get_migrate_reindex_status.rb

Lines changed: 0 additions & 66 deletions
This file was deleted.

elasticsearch-api/lib/elasticsearch/api/actions/indices/migrate_reindex.rb

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)