Skip to content

Commit 1410f5e

Browse files
algolia-botkai687
andcommitted
fix(specs): add x-acl to insights endpoints (generated)
algolia/api-clients-automation#4822 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Kai Welke <kai.welke@algolia.com>
1 parent a9d0f19 commit 1410f5e

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

lib/algolia/api/insights_client.rb

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,9 @@ def custom_put(path, parameters = nil, body = nil, request_options = {})
246246
end
247247

248248
# Deletes all events related to the specified user token from events metrics and analytics. The deletion is asynchronous, and processed within 48 hours. To delete a personalization user profile, see `Delete a user profile` in the Personalization API.
249-
249+
#
250+
# Required API Key ACLs:
251+
# - deleteObject
250252
# @param user_token [String] User token for which to delete all associated events. (required)
251253
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
252254
# @return [Http::Response] the response
@@ -276,7 +278,9 @@ def delete_user_token_with_http_info(user_token, request_options = {})
276278
end
277279

278280
# Deletes all events related to the specified user token from events metrics and analytics. The deletion is asynchronous, and processed within 48 hours. To delete a personalization user profile, see `Delete a user profile` in the Personalization API.
279-
281+
#
282+
# Required API Key ACLs:
283+
# - deleteObject
280284
# @param user_token [String] User token for which to delete all associated events. (required)
281285
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
282286
# @return [nil]
@@ -286,7 +290,9 @@ def delete_user_token(user_token, request_options = {})
286290
end
287291

288292
# Sends a list of events to the Insights API. You can include up to 1,000 events in a single request, but the request body must be smaller than 2&nbsp;MB.
289-
293+
#
294+
# Required API Key ACLs:
295+
# - search
290296
# @param insights_events [InsightsEvents] (required)
291297
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
292298
# @return [Http::Response] the response
@@ -316,7 +322,9 @@ def push_events_with_http_info(insights_events, request_options = {})
316322
end
317323

318324
# Sends a list of events to the Insights API. You can include up to 1,000 events in a single request, but the request body must be smaller than 2&nbsp;MB.
319-
325+
#
326+
# Required API Key ACLs:
327+
# - search
320328
# @param insights_events [InsightsEvents] (required)
321329
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
322330
# @return [EventsResponse]

0 commit comments

Comments
 (0)