Skip to content

Commit 4e1592d

Browse files
Auto-generated API code
1 parent 6e55472 commit 4e1592d

File tree

490 files changed

+508
-502
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

490 files changed

+508
-502
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/async_search/delete.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module Actions
2727
# @option arguments [String] :id The async search ID
2828
# @option arguments [Hash] :headers Custom HTTP headers
2929
#
30-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html
30+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/async-search.html
3131
#
3232
def delete(arguments = {})
3333
request_opts = { endpoint: arguments[:endpoint] || 'async_search.delete' }

elasticsearch-api/lib/elasticsearch/api/actions/async_search/get.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module Actions
3030
# @option arguments [Boolean] :typed_keys Specify whether aggregation and suggester names should be prefixed by their respective types in the response
3131
# @option arguments [Hash] :headers Custom HTTP headers
3232
#
33-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html
33+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/async-search.html
3434
#
3535
def get(arguments = {})
3636
request_opts = { endpoint: arguments[:endpoint] || 'async_search.get' }

elasticsearch-api/lib/elasticsearch/api/actions/async_search/status.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module Actions
2828
# @option arguments [Time] :keep_alive Specify the time interval in which the results (partial or final) for this search will be available
2929
# @option arguments [Hash] :headers Custom HTTP headers
3030
#
31-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html
31+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/async-search.html
3232
#
3333
def status(arguments = {})
3434
request_opts = { endpoint: arguments[:endpoint] || 'async_search.status' }

elasticsearch-api/lib/elasticsearch/api/actions/async_search/submit.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ module Actions
7171
# @option arguments [Hash] :headers Custom HTTP headers
7272
# @option arguments [Hash] :body The search definition using the Query DSL
7373
#
74-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html
74+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/async-search.html
7575
#
7676
def submit(arguments = {})
7777
request_opts = { endpoint: arguments[:endpoint] || 'async_search.submit' }

elasticsearch-api/lib/elasticsearch/api/actions/bulk.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module Actions
4040
# @option arguments [String|Array] :body The operation definition and data (action-data pairs), separated by newlines. Array of Strings, Header/Data pairs,
4141
# or the conveniency "combined" format can be passed, refer to Elasticsearch::API::Utils.__bulkify documentation.
4242
#
43-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html
43+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/docs-bulk.html
4444
#
4545
def bulk(arguments = {})
4646
request_opts = { endpoint: arguments[:endpoint] || 'bulk' }

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module Actions
3434
# @option arguments [Time] :master_timeout Timeout for waiting for new cluster state in case it is blocked
3535
# @option arguments [Hash] :headers Custom HTTP headers
3636
#
37-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-alias.html
37+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/cat-alias.html
3838
#
3939
def aliases(arguments = {})
4040
request_opts = { endpoint: arguments[:endpoint] || 'cat.aliases' }

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module Actions
3535
# @option arguments [Boolean] :v Verbose mode. Display column headers
3636
# @option arguments [Hash] :headers Custom HTTP headers
3737
#
38-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-allocation.html
38+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/cat-allocation.html
3939
#
4040
def allocation(arguments = {})
4141
request_opts = { endpoint: arguments[:endpoint] || 'cat.allocation' }

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module Actions
3434
# @option arguments [Boolean] :v Verbose mode. Display column headers
3535
# @option arguments [Hash] :headers Custom HTTP headers
3636
#
37-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-component-templates.html
37+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/cat-component-templates.html
3838
#
3939
def component_templates(arguments = {})
4040
request_opts = { endpoint: arguments[:endpoint] || 'cat.component_templates' }

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module Actions
3232
# @option arguments [Boolean] :v Verbose mode. Display column headers
3333
# @option arguments [Hash] :headers Custom HTTP headers
3434
#
35-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-count.html
35+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/cat-count.html
3636
#
3737
def count(arguments = {})
3838
request_opts = { endpoint: arguments[:endpoint] || 'cat.count' }

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module Actions
3333
# @option arguments [Boolean] :v Verbose mode. Display column headers
3434
# @option arguments [Hash] :headers Custom HTTP headers
3535
#
36-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-fielddata.html
36+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/cat-fielddata.html
3737
#
3838
def fielddata(arguments = {})
3939
request_opts = { endpoint: arguments[:endpoint] || 'cat.fielddata' }

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module Actions
3333
# @option arguments [Boolean] :v Verbose mode. Display column headers
3434
# @option arguments [Hash] :headers Custom HTTP headers
3535
#
36-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-health.html
36+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/cat-health.html
3737
#
3838
def health(arguments = {})
3939
request_opts = { endpoint: arguments[:endpoint] || 'cat.health' }

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

+2-4
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@ module Cat
2424
module Actions
2525
# Returns help for the Cat APIs.
2626
#
27-
# @option arguments [Boolean] :help Return help information
28-
# @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
2927
# @option arguments [Hash] :headers Custom HTTP headers
3028
#
31-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat.html
29+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/cat.html
3230
#
3331
def help(arguments = {})
3432
request_opts = { endpoint: arguments[:endpoint] || 'cat.help' }
@@ -40,7 +38,7 @@ def help(arguments = {})
4038

4139
method = Elasticsearch::API::HTTP_GET
4240
path = '_cat'
43-
params = Utils.process_params(arguments)
41+
params = {}
4442

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

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module Actions
3939
# @option arguments [String] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both. (options: open, closed, hidden, none, all)
4040
# @option arguments [Hash] :headers Custom HTTP headers
4141
#
42-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-indices.html
42+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/cat-indices.html
4343
#
4444
def indices(arguments = {})
4545
request_opts = { endpoint: arguments[:endpoint] || 'cat.indices' }

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module Actions
3333
# @option arguments [Boolean] :v Verbose mode. Display column headers
3434
# @option arguments [Hash] :headers Custom HTTP headers
3535
#
36-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-master.html
36+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/cat-master.html
3737
#
3838
def master(arguments = {})
3939
request_opts = { endpoint: arguments[:endpoint] || 'cat.master' }

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module Actions
3535
# @option arguments [Boolean] :v Verbose mode. Display column headers
3636
# @option arguments [Hash] :headers Custom HTTP headers
3737
#
38-
# @see http://www.elastic.co/guide/en/elasticsearch/reference/current/cat-dfanalytics.html
38+
# @see http://www.elastic.co/guide/en/elasticsearch/reference/9.0/cat-dfanalytics.html
3939
#
4040
def ml_data_frame_analytics(arguments = {})
4141
request_opts = { endpoint: arguments[:endpoint] || 'cat.ml_data_frame_analytics' }

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module Actions
3434
# @option arguments [Boolean] :v Verbose mode. Display column headers
3535
# @option arguments [Hash] :headers Custom HTTP headers
3636
#
37-
# @see http://www.elastic.co/guide/en/elasticsearch/reference/current/cat-datafeeds.html
37+
# @see http://www.elastic.co/guide/en/elasticsearch/reference/9.0/cat-datafeeds.html
3838
#
3939
def ml_datafeeds(arguments = {})
4040
request_opts = { endpoint: arguments[:endpoint] || 'cat.ml_datafeeds' }

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module Actions
3535
# @option arguments [Boolean] :v Verbose mode. Display column headers
3636
# @option arguments [Hash] :headers Custom HTTP headers
3737
#
38-
# @see http://www.elastic.co/guide/en/elasticsearch/reference/current/cat-anomaly-detectors.html
38+
# @see http://www.elastic.co/guide/en/elasticsearch/reference/9.0/cat-anomaly-detectors.html
3939
#
4040
def ml_jobs(arguments = {})
4141
request_opts = { endpoint: arguments[:endpoint] || 'cat.ml_jobs' }

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module Actions
3737
# @option arguments [Boolean] :v Verbose mode. Display column headers
3838
# @option arguments [Hash] :headers Custom HTTP headers
3939
#
40-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-trained-model.html
40+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/cat-trained-model.html
4141
#
4242
def ml_trained_models(arguments = {})
4343
request_opts = { endpoint: arguments[:endpoint] || 'cat.ml_trained_models' }

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module Actions
3333
# @option arguments [Boolean] :v Verbose mode. Display column headers
3434
# @option arguments [Hash] :headers Custom HTTP headers
3535
#
36-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-nodeattrs.html
36+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/cat-nodeattrs.html
3737
#
3838
def nodeattrs(arguments = {})
3939
request_opts = { endpoint: arguments[:endpoint] || 'cat.nodeattrs' }

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module Actions
3636
# @option arguments [Boolean] :include_unloaded_segments If set to true segment stats will include stats for segments that are not currently loaded into memory
3737
# @option arguments [Hash] :headers Custom HTTP headers
3838
#
39-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-nodes.html
39+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/cat-nodes.html
4040
#
4141
def nodes(arguments = {})
4242
request_opts = { endpoint: arguments[:endpoint] || 'cat.nodes' }

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module Actions
3434
# @option arguments [Boolean] :v Verbose mode. Display column headers
3535
# @option arguments [Hash] :headers Custom HTTP headers
3636
#
37-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-pending-tasks.html
37+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/cat-pending-tasks.html
3838
#
3939
def pending_tasks(arguments = {})
4040
request_opts = { endpoint: arguments[:endpoint] || 'cat.pending_tasks' }

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module Actions
3434
# @option arguments [Boolean] :v Verbose mode. Display column headers
3535
# @option arguments [Hash] :headers Custom HTTP headers
3636
#
37-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-plugins.html
37+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/cat-plugins.html
3838
#
3939
def plugins(arguments = {})
4040
request_opts = { endpoint: arguments[:endpoint] || 'cat.plugins' }

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module Actions
3636
# @option arguments [Boolean] :v Verbose mode. Display column headers
3737
# @option arguments [Hash] :headers Custom HTTP headers
3838
#
39-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-recovery.html
39+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/cat-recovery.html
4040
#
4141
def recovery(arguments = {})
4242
request_opts = { endpoint: arguments[:endpoint] || 'cat.recovery' }

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module Actions
3333
# @option arguments [Boolean] :v Verbose mode. Display column headers
3434
# @option arguments [Hash] :headers Custom HTTP headers
3535
#
36-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-repositories.html
36+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/cat-repositories.html
3737
#
3838
def repositories(arguments = {})
3939
request_opts = { endpoint: arguments[:endpoint] || 'cat.repositories' }

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,16 @@ module Actions
2626
#
2727
# @option arguments [List] :index A comma-separated list of index names to limit the returned information
2828
# @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
29+
# @option arguments [Boolean] :local Return local information, do not retrieve the state from master node (default: false)
30+
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
2931
# @option arguments [String] :bytes The unit in which to display byte values (options: b, k, kb, m, mb, g, gb, t, tb, p, pb)
3032
# @option arguments [List] :h Comma-separated list of column names to display
3133
# @option arguments [Boolean] :help Return help information
3234
# @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
3335
# @option arguments [Boolean] :v Verbose mode. Display column headers
3436
# @option arguments [Hash] :headers Custom HTTP headers
3537
#
36-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-segments.html
38+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/cat-segments.html
3739
#
3840
def segments(arguments = {})
3941
request_opts = { endpoint: arguments[:endpoint] || 'cat.segments' }

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module Actions
3535
# @option arguments [Boolean] :v Verbose mode. Display column headers
3636
# @option arguments [Hash] :headers Custom HTTP headers
3737
#
38-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-shards.html
38+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/cat-shards.html
3939
#
4040
def shards(arguments = {})
4141
request_opts = { endpoint: arguments[:endpoint] || 'cat.shards' }

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module Actions
3535
# @option arguments [Boolean] :v Verbose mode. Display column headers
3636
# @option arguments [Hash] :headers Custom HTTP headers
3737
#
38-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-snapshots.html
38+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/cat-snapshots.html
3939
#
4040
def snapshots(arguments = {})
4141
request_opts = { endpoint: arguments[:endpoint] || 'cat.snapshots' }

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,11 @@ module Actions
3838
# @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
3939
# @option arguments [String] :time The unit in which to display time values (options: d, h, m, s, ms, micros, nanos)
4040
# @option arguments [Boolean] :v Verbose mode. Display column headers
41+
# @option arguments [Time] :timeout Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
42+
# @option arguments [Boolean] :wait_for_completion If `true`, the request blocks until the task has completed.
4143
# @option arguments [Hash] :headers Custom HTTP headers
4244
#
43-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html
45+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/tasks.html
4446
#
4547
def tasks(arguments = {})
4648
request_opts = { endpoint: arguments[:endpoint] || 'cat.tasks' }

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module Actions
3434
# @option arguments [Boolean] :v Verbose mode. Display column headers
3535
# @option arguments [Hash] :headers Custom HTTP headers
3636
#
37-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-templates.html
37+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/cat-templates.html
3838
#
3939
def templates(arguments = {})
4040
request_opts = { endpoint: arguments[:endpoint] || 'cat.templates' }

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module Actions
3636
# @option arguments [Boolean] :v Verbose mode. Display column headers
3737
# @option arguments [Hash] :headers Custom HTTP headers
3838
#
39-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-thread-pool.html
39+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/cat-thread-pool.html
4040
#
4141
def thread_pool(arguments = {})
4242
request_opts = { endpoint: arguments[:endpoint] || 'cat.thread_pool' }

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module Actions
3636
# @option arguments [Boolean] :v Verbose mode. Display column headers
3737
# @option arguments [Hash] :headers Custom HTTP headers
3838
#
39-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-transforms.html
39+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/cat-transforms.html
4040
#
4141
def transforms(arguments = {})
4242
request_opts = { endpoint: arguments[:endpoint] || 'cat.transforms' }

elasticsearch-api/lib/elasticsearch/api/actions/clear_scroll.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module Actions
3232
# Deprecated since version 7.0.0
3333
#
3434
#
35-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-scroll-api.html
35+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/clear-scroll-api.html
3636
#
3737
def clear_scroll(arguments = {})
3838
request_opts = { endpoint: arguments[:endpoint] || 'clear_scroll' }

elasticsearch-api/lib/elasticsearch/api/actions/close_point_in_time.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module Actions
2626
# @option arguments [Hash] :headers Custom HTTP headers
2727
# @option arguments [Hash] :body a point-in-time id to close
2828
#
29-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/point-in-time-api.html
29+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/point-in-time-api.html
3030
#
3131
def close_point_in_time(arguments = {})
3232
request_opts = { endpoint: arguments[:endpoint] || 'close_point_in_time' }

elasticsearch-api/lib/elasticsearch/api/actions/cluster/allocation_explain.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module Actions
3030
# @option arguments [Hash] :headers Custom HTTP headers
3131
# @option arguments [Hash] :body The index, shard, and primary flag to explain. Empty means 'explain a randomly-chosen unassigned shard'
3232
#
33-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-allocation-explain.html
33+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/cluster-allocation-explain.html
3434
#
3535
def allocation_explain(arguments = {})
3636
request_opts = { endpoint: arguments[:endpoint] || 'cluster.allocation_explain' }

elasticsearch-api/lib/elasticsearch/api/actions/cluster/delete_component_template.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module Actions
2929
# @option arguments [Time] :master_timeout Specify timeout for connection to master
3030
# @option arguments [Hash] :headers Custom HTTP headers
3131
#
32-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html
32+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/9.0/indices-component-template.html
3333
#
3434
def delete_component_template(arguments = {})
3535
request_opts = { endpoint: arguments[:endpoint] || 'cluster.delete_component_template' }

0 commit comments

Comments
 (0)