Skip to content

Commit e51c98d

Browse files
committed
[API] watcher.put_watch - body is now required
1 parent 85fb65a commit e51c98d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/watcher/put_watch.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ def put_watch(arguments = {})
6262
end
6363
request_opts[:defined_params] = defined_params unless defined_params.empty?
6464

65+
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
6566
raise ArgumentError, "Required argument 'id' missing" unless arguments[:id]
6667

6768
arguments = arguments.clone

elasticsearch-api/lib/elasticsearch/api/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
module Elasticsearch
1919
module API
2020
VERSION = '9.2.0'.freeze
21-
ES_SPECIFICATION_COMMIT = 'a4676aabf1b13839ec5bef82f775aad25dbdec22'.freeze
21+
ES_SPECIFICATION_COMMIT = 'e22c10134264a91aca0f736153460a3e988c27b5'.freeze
2222
end
2323
end

0 commit comments

Comments
 (0)