Skip to content

Commit d419b0d

Browse files
committed
[API] Adds debug parameter to search_application.post_behavioral_analytics_event
Auto-generated API code
1 parent 82ab86e commit d419b0d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/search_application/post_behavioral_analytics_event.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ module Actions
3030
#
3131
# @option arguments [String] :collection_name The name of behavioral analytics collection
3232
# @option arguments [String] :event_type Behavioral analytics event type. Available: page_view, search, search_click
33+
# @option arguments [Boolean] :debug If true, returns event information that will be stored
3334
# @option arguments [Hash] :headers Custom HTTP headers
3435
# @option arguments [Hash] :body The event definition (*Required*)
3536
#
@@ -51,7 +52,7 @@ def post_behavioral_analytics_event(arguments = {})
5152

5253
method = Elasticsearch::API::HTTP_POST
5354
path = "_application/analytics/#{Utils.__listify(_collection_name)}/event/#{Utils.__listify(_event_type)}"
54-
params = {}
55+
params = Utils.process_params(arguments)
5556

5657
Elasticsearch::API::Response.new(
5758
perform_request(method, path, params, body, headers)

0 commit comments

Comments
 (0)