Skip to content

Commit e9490f6

Browse files
committed
[API] Generates bc9f508a529ed807271275ff6294a5c2e87bcc99
1 parent b91799e commit e9490f6

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module Actions
3535
#
3636
# @option arguments [String] :time The unit used to display time values.
3737
# @option arguments [Boolean] :ts If true, returns `HH:MM:SS` and Unix epoch timestamps. Server default: true.
38-
# @option arguments [String, Array<String>] :h List of columns to appear in the response. Supports simple wildcards.
38+
# @option arguments [String, Array<String>] :h A comma-separated list of columns names to display. It supports simple wildcards.
3939
# @option arguments [String, Array<String>] :s List of columns that determine how the table should be sorted.
4040
# Sorting defaults to ascending and can be changed by setting `:asc`
4141
# or `:desc` as a suffix to the column name.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module Actions
4444
# @option arguments [Boolean] :pri If true, the response only includes information from primary shards.
4545
# @option arguments [String] :time The unit used to display time values.
4646
# @option arguments [Time] :master_timeout Period to wait for a connection to the master node. Server default: 30s.
47-
# @option arguments [String, Array<String>] :h List of columns to appear in the response. Supports simple wildcards.
47+
# @option arguments [String, Array<String>] :h A comma-separated list of columns names to display. It supports simple wildcards.
4848
# @option arguments [String, Array<String>] :s List of columns that determine how the table should be sorted.
4949
# Sorting defaults to ascending and can be changed by setting `:asc`
5050
# or `:desc` as a suffix to the column name.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module Actions
2626
# Get information about the master node, including the ID, bound IP address, and name.
2727
# IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
2828
#
29-
# @option arguments [String, Array<String>] :h List of columns to appear in the response. Supports simple wildcards.
29+
# @option arguments [String, Array<String>] :h A comma-separated list of columns names to display. It supports simple wildcards.
3030
# @option arguments [String, Array<String>] :s List of columns that determine how the table should be sorted.
3131
# Sorting defaults to ascending and can be changed by setting `:asc`
3232
# or `:desc` as a suffix to the column name.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module Actions
2626
# Get information about custom node attributes.
2727
# IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
2828
#
29-
# @option arguments [String, Array<String>] :h List of columns to appear in the response. Supports simple wildcards.
29+
# @option arguments [String, Array<String>] :h A comma-separated list of columns names to display. It supports simple wildcards.
3030
# @option arguments [String, Array<String>] :s List of columns that determine how the table should be sorted.
3131
# Sorting defaults to ascending and can be changed by setting `:asc`
3232
# or `:desc` as a suffix to the column name.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module Actions
2626
# Get information about cluster-level changes that have not yet taken effect.
2727
# IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the pending cluster tasks API.
2828
#
29-
# @option arguments [String, Array<String>] :h List of columns to appear in the response. Supports simple wildcards.
29+
# @option arguments [String, Array<String>] :h A comma-separated list of columns names to display. It supports simple wildcards.
3030
# @option arguments [String, Array<String>] :s List of columns that determine how the table should be sorted.
3131
# Sorting defaults to ascending and can be changed by setting `:asc`
3232
# or `:desc` as a suffix to the column name.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module Actions
2626
# Get a list of plugins running on each node of a cluster.
2727
# IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
2828
#
29-
# @option arguments [String, Array<String>] :h List of columns to appear in the response. Supports simple wildcards.
29+
# @option arguments [String, Array<String>] :h A comma-separated list of columns names to display. It supports simple wildcards.
3030
# @option arguments [String, Array<String>] :s List of columns that determine how the table should be sorted.
3131
# Sorting defaults to ascending and can be changed by setting `:asc`
3232
# or `:desc` as a suffix to the column name.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module Actions
3434
# @option arguments [Boolean] :detailed If `true`, the response includes detailed information about shard recoveries.
3535
# @option arguments [Array<String>] :nodes Unique node identifiers, which are used to limit the response.
3636
# @option arguments [String] :parent_task_id The parent task identifier, which is used to limit the response.
37-
# @option arguments [String, Array<String>] :h List of columns to appear in the response. Supports simple wildcards.
37+
# @option arguments [String, Array<String>] :h A comma-separated list of columns names to display. It supports simple wildcards.
3838
# @option arguments [String, Array<String>] :s List of columns that determine how the table should be sorted.
3939
# Sorting defaults to ascending and can be changed by setting `:asc`
4040
# or `:desc` as a suffix to the column name.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module Actions
2929
#
3030
# @option arguments [String] :name The name of the template to return.
3131
# Accepts wildcard expressions. If omitted, all templates are returned.
32-
# @option arguments [String, Array<String>] :h List of columns to appear in the response. Supports simple wildcards.
32+
# @option arguments [String, Array<String>] :h A comma-separated list of columns names to display. It supports simple wildcards.
3333
# @option arguments [String, Array<String>] :s List of columns that determine how the table should be sorted.
3434
# Sorting defaults to ascending and can be changed by setting `:asc`
3535
# or `:desc` as a suffix to the column name.

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ def create_from(arguments = {})
5555
end
5656
request_opts[:defined_params] = defined_params unless defined_params.empty?
5757

58-
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
5958
raise ArgumentError, "Required argument 'source' missing" unless arguments[:source]
6059
raise ArgumentError, "Required argument 'dest' missing" unless arguments[:dest]
6160

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ module Actions
4242
# @option arguments [Boolean] :pretty If set to `true` the returned JSON will be "pretty-formatted". Only use
4343
# this option for debugging only.
4444
# @option arguments [Hash] :headers Custom HTTP headers
45+
# @option arguments [Hash] :body index_template
4546
#
4647
# @see https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-simulate-index-template
4748
#
@@ -58,7 +59,7 @@ def simulate_index_template(arguments = {})
5859
arguments = arguments.clone
5960
headers = arguments.delete(:headers) || {}
6061

61-
body = nil
62+
body = arguments.delete(:body)
6263

6364
_name = arguments.delete(:name)
6465

0 commit comments

Comments
 (0)