lib/elasticsearch/api/actions/indices/put_template.rb in elasticsearch-api-8.11.2 vs lib/elasticsearch/api/actions/indices/put_template.rb in elasticsearch-api-8.12.0
- old
+ new
@@ -29,10 +29,10 @@
# @option arguments [Boolean] :create Whether the index template should only be added if new or can also replace an existing one
# @option arguments [Time] :master_timeout Specify timeout for connection to master
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body The template definition (*Required*)
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.11/indices-templates-v1.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.12/indices-templates-v1.html
#
def put_template(arguments = {})
request_opts = { endpoint: arguments[:endpoint] || "indices.put_template" }
defined_params = [:name].inject({}) do |set_variables, variable|