algolia 3.0.0.alpha.16 → 3.0.0.alpha.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.openapi-generator/FILES +10 -167
- data/CHANGELOG.md +9 -0
- data/Gemfile.lock +1 -1
- data/lib/algolia/api/analytics_client.rb +76 -76
- data/lib/algolia/api/recommend_client.rb +22 -22
- data/lib/algolia/api/search_client.rb +8 -8
- data/lib/algolia/api/usage_client.rb +329 -0
- data/lib/algolia/models/analytics/get_status_response.rb +1 -1
- data/lib/algolia/models/ingestion/auth_algolia_insights.rb +212 -0
- data/lib/algolia/models/{recommend/consequence_query_object.rb → ingestion/auth_algolia_insights_partial.rb} +21 -24
- data/lib/algolia/models/ingestion/auth_input.rb +1 -0
- data/lib/algolia/models/ingestion/auth_input_partial.rb +1 -0
- data/lib/algolia/models/ingestion/authentication_type.rb +2 -1
- data/lib/algolia/models/insights/added_to_cart_object_ids.rb +1 -1
- data/lib/algolia/models/insights/added_to_cart_object_ids_after_search.rb +1 -1
- data/lib/algolia/models/insights/clicked_filters.rb +1 -1
- data/lib/algolia/models/insights/clicked_object_ids.rb +1 -1
- data/lib/algolia/models/insights/clicked_object_ids_after_search.rb +1 -1
- data/lib/algolia/models/insights/converted_filters.rb +1 -1
- data/lib/algolia/models/insights/converted_object_ids.rb +1 -1
- data/lib/algolia/models/insights/converted_object_ids_after_search.rb +1 -1
- data/lib/algolia/models/insights/purchased_object_ids.rb +1 -1
- data/lib/algolia/models/insights/purchased_object_ids_after_search.rb +1 -1
- data/lib/algolia/models/insights/viewed_filters.rb +1 -1
- data/lib/algolia/models/insights/viewed_object_ids.rb +1 -1
- data/lib/algolia/models/monitoring/incidents_inner.rb +1 -1
- data/lib/algolia/models/monitoring/probes_metric.rb +1 -1
- data/lib/algolia/models/monitoring/time_inner.rb +1 -1
- data/lib/algolia/models/query-suggestions/get_config_status200_response.rb +2 -2
- data/lib/algolia/models/query-suggestions/get_log_file200_response.rb +1 -1
- data/lib/algolia/models/recommend/auto_facet_filter.rb +208 -0
- data/lib/algolia/models/recommend/base_recommend_request.rb +36 -7
- data/lib/algolia/models/recommend/base_search_params.rb +1 -1
- data/lib/algolia/models/recommend/base_search_params_without_query.rb +1 -1
- data/lib/algolia/models/recommend/bought_together_query.rb +319 -0
- data/lib/algolia/models/recommend/condition.rb +12 -62
- data/lib/algolia/models/recommend/consequence.rb +32 -54
- data/lib/algolia/models/recommend/deleted_at_response.rb +1 -1
- data/lib/algolia/models/recommend/{recommended_for_you_query_parameters.rb → fallback_params.rb} +9 -12
- data/lib/algolia/models/recommend/{edit_type.rb → fbt_model.rb} +5 -6
- data/lib/algolia/models/recommend/{base_trending_facets_query.rb → frequently_bought_together.rb} +20 -18
- data/lib/algolia/models/recommend/get_recommendations_params.rb +2 -2
- data/lib/algolia/models/recommend/{consequence_hide.rb → hide_consequence_object.rb} +4 -6
- data/lib/algolia/models/recommend/index_settings_as_search_params.rb +5 -5
- data/lib/algolia/models/recommend/{base_recommendations_query.rb → looking_similar.rb} +6 -15
- data/lib/algolia/models/recommend/{anchoring.rb → looking_similar_model.rb} +5 -8
- data/lib/algolia/models/recommend/looking_similar_query.rb +328 -0
- data/lib/algolia/models/recommend/{params.rb → params_consequence.rb} +26 -28
- data/lib/algolia/models/recommend/{promote_object_id.rb → promote_consequence_object.rb} +19 -9
- data/lib/algolia/models/recommend/{rule_response.rb → recommend_rule.rb} +13 -18
- data/lib/algolia/models/recommend/{rule_response_metadata.rb → recommend_rule_metadata.rb} +5 -4
- data/lib/algolia/models/recommend/recommendations_hits.rb +4 -24
- data/lib/algolia/models/recommend/recommendations_request.rb +3 -1
- data/lib/algolia/models/recommend/recommendations_results.rb +4 -24
- data/lib/algolia/models/recommend/{base_recommended_for_you_query.rb → recommended_for_you.rb} +5 -14
- data/lib/algolia/models/recommend/recommended_for_you_query.rb +35 -15
- data/lib/algolia/models/recommend/{recommendation_models.rb → related_model.rb} +4 -5
- data/lib/algolia/models/recommend/{edit.rb → related_products.rb} +27 -24
- data/lib/algolia/models/recommend/{recommendations_query.rb → related_query.rb} +39 -19
- data/lib/algolia/models/recommend/{consequence_params.rb → search_params.rb} +25 -44
- data/lib/algolia/models/recommend/search_params_object.rb +6 -6
- data/lib/algolia/models/recommend/search_recommend_rules_params.rb +58 -10
- data/lib/algolia/models/recommend/search_recommend_rules_response.rb +2 -2
- data/lib/algolia/models/recommend/trending_facet_hit.rb +2 -2
- data/lib/algolia/models/recommend/trending_facets.rb +243 -0
- data/lib/algolia/models/recommend/trending_facets_query.rb +50 -10
- data/lib/algolia/models/recommend/{base_trending_items_query.rb → trending_items.rb} +12 -15
- data/lib/algolia/models/recommend/trending_items_query.rb +42 -16
- data/lib/algolia/models/search/add_api_key_response.rb +1 -1
- data/lib/algolia/models/search/base_get_api_key_response.rb +1 -1
- data/lib/algolia/models/search/base_index_settings.rb +4 -4
- data/lib/algolia/models/search/base_search_params.rb +1 -1
- data/lib/algolia/models/search/base_search_params_without_query.rb +1 -1
- data/lib/algolia/models/search/browse_params_object.rb +6 -6
- data/lib/algolia/models/search/consequence_params.rb +6 -6
- data/lib/algolia/models/search/created_at_response.rb +1 -1
- data/lib/algolia/models/search/delete_api_key_response.rb +1 -1
- data/lib/algolia/models/search/delete_by_params.rb +1 -1
- data/lib/algolia/models/search/delete_source_response.rb +1 -1
- data/lib/algolia/models/search/deleted_at_response.rb +1 -1
- data/lib/algolia/models/search/fetched_index.rb +1 -1
- data/lib/algolia/models/search/get_api_key_response.rb +1 -1
- data/lib/algolia/models/search/index_settings.rb +9 -9
- data/lib/algolia/models/search/index_settings_as_search_params.rb +5 -5
- data/lib/algolia/models/search/log.rb +1 -1
- data/lib/algolia/models/search/remove_user_id_response.rb +1 -1
- data/lib/algolia/models/search/replace_source_response.rb +1 -1
- data/lib/algolia/models/search/save_object_response.rb +1 -1
- data/lib/algolia/models/search/save_synonym_response.rb +1 -1
- data/lib/algolia/models/search/search_for_facets.rb +6 -6
- data/lib/algolia/models/search/search_for_hits.rb +6 -6
- data/lib/algolia/models/search/search_params_object.rb +6 -6
- data/lib/algolia/models/search/search_user_ids_response.rb +1 -1
- data/lib/algolia/models/search/secured_api_key_restrictions.rb +1 -1
- data/lib/algolia/models/search/update_api_key_response.rb +1 -1
- data/lib/algolia/models/search/updated_at_response.rb +1 -1
- data/lib/algolia/models/search/updated_at_with_object_id_response.rb +1 -1
- data/lib/algolia/models/search/updated_rule_response.rb +1 -1
- data/lib/algolia/models/search/user_hit.rb +1 -1
- data/lib/algolia/models/search/user_id.rb +1 -1
- data/lib/algolia/models/usage/error_base.rb +205 -0
- data/lib/algolia/models/usage/get_usage200_response.rb +198 -0
- data/lib/algolia/models/usage/get_usage200_response_statistics_inner.rb +206 -0
- data/lib/algolia/models/{recommend/base_recommended_for_you_query_parameters.rb → usage/get_usage400_response.rb} +13 -14
- data/lib/algolia/models/usage/get_usage400_response_error.rb +216 -0
- data/lib/algolia/models/usage/get_usage400_response_error_errors_inner.rb +225 -0
- data/lib/algolia/models/usage/granularity.rb +33 -0
- data/lib/algolia/models/usage/statistic.rb +116 -0
- data/lib/algolia/models/{recommend/promote.rb → usage/statistic_value.rb} +5 -5
- data/lib/algolia/version.rb +1 -1
- metadata +34 -25
- data/lib/algolia/models/recommend/automatic_facet_filter.rb +0 -220
- data/lib/algolia/models/recommend/automatic_facet_filters.rb +0 -97
- data/lib/algolia/models/recommend/consequence_query.rb +0 -97
- data/lib/algolia/models/recommend/promote_object_ids.rb +0 -228
|
@@ -215,8 +215,8 @@ module Algolia
|
|
|
215
215
|
# Required API Key ACLs:
|
|
216
216
|
# - analytics
|
|
217
217
|
# @param index [String] Index name. (required)
|
|
218
|
-
# @param start_date [String] Start date
|
|
219
|
-
# @param end_date [String] End date
|
|
218
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
219
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
220
220
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
221
221
|
# @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)
|
|
222
222
|
# @return [Http::Response] the response
|
|
@@ -254,8 +254,8 @@ module Algolia
|
|
|
254
254
|
# Required API Key ACLs:
|
|
255
255
|
# - analytics
|
|
256
256
|
# @param index [String] Index name. (required)
|
|
257
|
-
# @param start_date [String] Start date
|
|
258
|
-
# @param end_date [String] End date
|
|
257
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
258
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
259
259
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
260
260
|
# @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)
|
|
261
261
|
# @return [GetAddToCartRateResponse]
|
|
@@ -269,8 +269,8 @@ module Algolia
|
|
|
269
269
|
# Required API Key ACLs:
|
|
270
270
|
# - analytics
|
|
271
271
|
# @param index [String] Index name. (required)
|
|
272
|
-
# @param start_date [String] Start date
|
|
273
|
-
# @param end_date [String] End date
|
|
272
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
273
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
274
274
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
275
275
|
# @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)
|
|
276
276
|
# @return [Http::Response] the response
|
|
@@ -308,8 +308,8 @@ module Algolia
|
|
|
308
308
|
# Required API Key ACLs:
|
|
309
309
|
# - analytics
|
|
310
310
|
# @param index [String] Index name. (required)
|
|
311
|
-
# @param start_date [String] Start date
|
|
312
|
-
# @param end_date [String] End date
|
|
311
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
312
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
313
313
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
314
314
|
# @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)
|
|
315
315
|
# @return [GetAverageClickPositionResponse]
|
|
@@ -323,8 +323,8 @@ module Algolia
|
|
|
323
323
|
# Required API Key ACLs:
|
|
324
324
|
# - analytics
|
|
325
325
|
# @param index [String] Index name. (required)
|
|
326
|
-
# @param start_date [String] Start date
|
|
327
|
-
# @param end_date [String] End date
|
|
326
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
327
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
328
328
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
329
329
|
# @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)
|
|
330
330
|
# @return [Http::Response] the response
|
|
@@ -362,8 +362,8 @@ module Algolia
|
|
|
362
362
|
# Required API Key ACLs:
|
|
363
363
|
# - analytics
|
|
364
364
|
# @param index [String] Index name. (required)
|
|
365
|
-
# @param start_date [String] Start date
|
|
366
|
-
# @param end_date [String] End date
|
|
365
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
366
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
367
367
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
368
368
|
# @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)
|
|
369
369
|
# @return [GetClickPositionsResponse]
|
|
@@ -377,8 +377,8 @@ module Algolia
|
|
|
377
377
|
# Required API Key ACLs:
|
|
378
378
|
# - analytics
|
|
379
379
|
# @param index [String] Index name. (required)
|
|
380
|
-
# @param start_date [String] Start date
|
|
381
|
-
# @param end_date [String] End date
|
|
380
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
381
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
382
382
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
383
383
|
# @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)
|
|
384
384
|
# @return [Http::Response] the response
|
|
@@ -416,8 +416,8 @@ module Algolia
|
|
|
416
416
|
# Required API Key ACLs:
|
|
417
417
|
# - analytics
|
|
418
418
|
# @param index [String] Index name. (required)
|
|
419
|
-
# @param start_date [String] Start date
|
|
420
|
-
# @param end_date [String] End date
|
|
419
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
420
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
421
421
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
422
422
|
# @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)
|
|
423
423
|
# @return [GetClickThroughRateResponse]
|
|
@@ -431,8 +431,8 @@ module Algolia
|
|
|
431
431
|
# Required API Key ACLs:
|
|
432
432
|
# - analytics
|
|
433
433
|
# @param index [String] Index name. (required)
|
|
434
|
-
# @param start_date [String] Start date
|
|
435
|
-
# @param end_date [String] End date
|
|
434
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
435
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
436
436
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
437
437
|
# @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)
|
|
438
438
|
# @return [Http::Response] the response
|
|
@@ -470,8 +470,8 @@ module Algolia
|
|
|
470
470
|
# Required API Key ACLs:
|
|
471
471
|
# - analytics
|
|
472
472
|
# @param index [String] Index name. (required)
|
|
473
|
-
# @param start_date [String] Start date
|
|
474
|
-
# @param end_date [String] End date
|
|
473
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
474
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
475
475
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
476
476
|
# @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)
|
|
477
477
|
# @return [GetConversionRateResponse]
|
|
@@ -485,8 +485,8 @@ module Algolia
|
|
|
485
485
|
# Required API Key ACLs:
|
|
486
486
|
# - analytics
|
|
487
487
|
# @param index [String] Index name. (required)
|
|
488
|
-
# @param start_date [String] Start date
|
|
489
|
-
# @param end_date [String] End date
|
|
488
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
489
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
490
490
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
491
491
|
# @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)
|
|
492
492
|
# @return [Http::Response] the response
|
|
@@ -524,8 +524,8 @@ module Algolia
|
|
|
524
524
|
# Required API Key ACLs:
|
|
525
525
|
# - analytics
|
|
526
526
|
# @param index [String] Index name. (required)
|
|
527
|
-
# @param start_date [String] Start date
|
|
528
|
-
# @param end_date [String] End date
|
|
527
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
528
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
529
529
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
530
530
|
# @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)
|
|
531
531
|
# @return [GetNoClickRateResponse]
|
|
@@ -539,8 +539,8 @@ module Algolia
|
|
|
539
539
|
# Required API Key ACLs:
|
|
540
540
|
# - analytics
|
|
541
541
|
# @param index [String] Index name. (required)
|
|
542
|
-
# @param start_date [String] Start date
|
|
543
|
-
# @param end_date [String] End date
|
|
542
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
543
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
544
544
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
545
545
|
# @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)
|
|
546
546
|
# @return [Http::Response] the response
|
|
@@ -578,8 +578,8 @@ module Algolia
|
|
|
578
578
|
# Required API Key ACLs:
|
|
579
579
|
# - analytics
|
|
580
580
|
# @param index [String] Index name. (required)
|
|
581
|
-
# @param start_date [String] Start date
|
|
582
|
-
# @param end_date [String] End date
|
|
581
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
582
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
583
583
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
584
584
|
# @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)
|
|
585
585
|
# @return [GetNoResultsRateResponse]
|
|
@@ -593,8 +593,8 @@ module Algolia
|
|
|
593
593
|
# Required API Key ACLs:
|
|
594
594
|
# - analytics
|
|
595
595
|
# @param index [String] Index name. (required)
|
|
596
|
-
# @param start_date [String] Start date
|
|
597
|
-
# @param end_date [String] End date
|
|
596
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
597
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
598
598
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
599
599
|
# @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)
|
|
600
600
|
# @return [Http::Response] the response
|
|
@@ -632,8 +632,8 @@ module Algolia
|
|
|
632
632
|
# Required API Key ACLs:
|
|
633
633
|
# - analytics
|
|
634
634
|
# @param index [String] Index name. (required)
|
|
635
|
-
# @param start_date [String] Start date
|
|
636
|
-
# @param end_date [String] End date
|
|
635
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
636
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
637
637
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
638
638
|
# @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)
|
|
639
639
|
# @return [GetPurchaseRateResponse]
|
|
@@ -647,8 +647,8 @@ module Algolia
|
|
|
647
647
|
# Required API Key ACLs:
|
|
648
648
|
# - analytics
|
|
649
649
|
# @param index [String] Index name. (required)
|
|
650
|
-
# @param start_date [String] Start date
|
|
651
|
-
# @param end_date [String] End date
|
|
650
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
651
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
652
652
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
653
653
|
# @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)
|
|
654
654
|
# @return [Http::Response] the response
|
|
@@ -686,8 +686,8 @@ module Algolia
|
|
|
686
686
|
# Required API Key ACLs:
|
|
687
687
|
# - analytics
|
|
688
688
|
# @param index [String] Index name. (required)
|
|
689
|
-
# @param start_date [String] Start date
|
|
690
|
-
# @param end_date [String] End date
|
|
689
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
690
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
691
691
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
692
692
|
# @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)
|
|
693
693
|
# @return [GetRevenue]
|
|
@@ -701,8 +701,8 @@ module Algolia
|
|
|
701
701
|
# Required API Key ACLs:
|
|
702
702
|
# - analytics
|
|
703
703
|
# @param index [String] Index name. (required)
|
|
704
|
-
# @param start_date [String] Start date
|
|
705
|
-
# @param end_date [String] End date
|
|
704
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
705
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
706
706
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
707
707
|
# @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)
|
|
708
708
|
# @return [Http::Response] the response
|
|
@@ -740,8 +740,8 @@ module Algolia
|
|
|
740
740
|
# Required API Key ACLs:
|
|
741
741
|
# - analytics
|
|
742
742
|
# @param index [String] Index name. (required)
|
|
743
|
-
# @param start_date [String] Start date
|
|
744
|
-
# @param end_date [String] End date
|
|
743
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
744
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
745
745
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
746
746
|
# @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)
|
|
747
747
|
# @return [GetSearchesCountResponse]
|
|
@@ -755,8 +755,8 @@ module Algolia
|
|
|
755
755
|
# Required API Key ACLs:
|
|
756
756
|
# - analytics
|
|
757
757
|
# @param index [String] Index name. (required)
|
|
758
|
-
# @param start_date [String] Start date
|
|
759
|
-
# @param end_date [String] End date
|
|
758
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
759
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
760
760
|
# @param limit [Integer] Number of items to return. (default to 10)
|
|
761
761
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
|
762
762
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
@@ -801,8 +801,8 @@ module Algolia
|
|
|
801
801
|
# Required API Key ACLs:
|
|
802
802
|
# - analytics
|
|
803
803
|
# @param index [String] Index name. (required)
|
|
804
|
-
# @param start_date [String] Start date
|
|
805
|
-
# @param end_date [String] End date
|
|
804
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
805
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
806
806
|
# @param limit [Integer] Number of items to return. (default to 10)
|
|
807
807
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
|
808
808
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
@@ -818,8 +818,8 @@ module Algolia
|
|
|
818
818
|
# Required API Key ACLs:
|
|
819
819
|
# - analytics
|
|
820
820
|
# @param index [String] Index name. (required)
|
|
821
|
-
# @param start_date [String] Start date
|
|
822
|
-
# @param end_date [String] End date
|
|
821
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
822
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
823
823
|
# @param limit [Integer] Number of items to return. (default to 10)
|
|
824
824
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
|
825
825
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
@@ -864,8 +864,8 @@ module Algolia
|
|
|
864
864
|
# Required API Key ACLs:
|
|
865
865
|
# - analytics
|
|
866
866
|
# @param index [String] Index name. (required)
|
|
867
|
-
# @param start_date [String] Start date
|
|
868
|
-
# @param end_date [String] End date
|
|
867
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
868
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
869
869
|
# @param limit [Integer] Number of items to return. (default to 10)
|
|
870
870
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
|
871
871
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
@@ -926,8 +926,8 @@ module Algolia
|
|
|
926
926
|
# Required API Key ACLs:
|
|
927
927
|
# - analytics
|
|
928
928
|
# @param index [String] Index name. (required)
|
|
929
|
-
# @param start_date [String] Start date
|
|
930
|
-
# @param end_date [String] End date
|
|
929
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
930
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
931
931
|
# @param limit [Integer] Number of items to return. (default to 10)
|
|
932
932
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
|
933
933
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
@@ -972,8 +972,8 @@ module Algolia
|
|
|
972
972
|
# Required API Key ACLs:
|
|
973
973
|
# - analytics
|
|
974
974
|
# @param index [String] Index name. (required)
|
|
975
|
-
# @param start_date [String] Start date
|
|
976
|
-
# @param end_date [String] End date
|
|
975
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
976
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
977
977
|
# @param limit [Integer] Number of items to return. (default to 10)
|
|
978
978
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
|
979
979
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
@@ -990,8 +990,8 @@ module Algolia
|
|
|
990
990
|
# - analytics
|
|
991
991
|
# @param index [String] Index name. (required)
|
|
992
992
|
# @param search [String] Search query.
|
|
993
|
-
# @param start_date [String] Start date
|
|
994
|
-
# @param end_date [String] End date
|
|
993
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
994
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
995
995
|
# @param limit [Integer] Number of items to return. (default to 10)
|
|
996
996
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
|
997
997
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
@@ -1038,8 +1038,8 @@ module Algolia
|
|
|
1038
1038
|
# - analytics
|
|
1039
1039
|
# @param index [String] Index name. (required)
|
|
1040
1040
|
# @param search [String] Search query.
|
|
1041
|
-
# @param start_date [String] Start date
|
|
1042
|
-
# @param end_date [String] End date
|
|
1041
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
1042
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
1043
1043
|
# @param limit [Integer] Number of items to return. (default to 10)
|
|
1044
1044
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
|
1045
1045
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
@@ -1057,8 +1057,8 @@ module Algolia
|
|
|
1057
1057
|
# @param attribute [String] Attribute name. (required)
|
|
1058
1058
|
# @param index [String] Index name. (required)
|
|
1059
1059
|
# @param search [String] Search query.
|
|
1060
|
-
# @param start_date [String] Start date
|
|
1061
|
-
# @param end_date [String] End date
|
|
1060
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
1061
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
1062
1062
|
# @param limit [Integer] Number of items to return. (default to 10)
|
|
1063
1063
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
|
1064
1064
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
@@ -1110,8 +1110,8 @@ module Algolia
|
|
|
1110
1110
|
# @param attribute [String] Attribute name. (required)
|
|
1111
1111
|
# @param index [String] Index name. (required)
|
|
1112
1112
|
# @param search [String] Search query.
|
|
1113
|
-
# @param start_date [String] Start date
|
|
1114
|
-
# @param end_date [String] End date
|
|
1113
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
1114
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
1115
1115
|
# @param limit [Integer] Number of items to return. (default to 10)
|
|
1116
1116
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
|
1117
1117
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
@@ -1128,8 +1128,8 @@ module Algolia
|
|
|
1128
1128
|
# - analytics
|
|
1129
1129
|
# @param index [String] Index name. (required)
|
|
1130
1130
|
# @param search [String] Search query.
|
|
1131
|
-
# @param start_date [String] Start date
|
|
1132
|
-
# @param end_date [String] End date
|
|
1131
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
1132
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
1133
1133
|
# @param limit [Integer] Number of items to return. (default to 10)
|
|
1134
1134
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
|
1135
1135
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
@@ -1176,8 +1176,8 @@ module Algolia
|
|
|
1176
1176
|
# - analytics
|
|
1177
1177
|
# @param index [String] Index name. (required)
|
|
1178
1178
|
# @param search [String] Search query.
|
|
1179
|
-
# @param start_date [String] Start date
|
|
1180
|
-
# @param end_date [String] End date
|
|
1179
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
1180
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
1181
1181
|
# @param limit [Integer] Number of items to return. (default to 10)
|
|
1182
1182
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
|
1183
1183
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
@@ -1196,8 +1196,8 @@ module Algolia
|
|
|
1196
1196
|
# @param search [String] Search query.
|
|
1197
1197
|
# @param click_analytics [Boolean] Whether to include metrics related to click and conversion events in the response. (default to false)
|
|
1198
1198
|
# @param revenue_analytics [Boolean] Whether to include revenue-related metrics in the response. If true, metrics related to click and conversion events are also included in the response. (default to false)
|
|
1199
|
-
# @param start_date [String] Start date
|
|
1200
|
-
# @param end_date [String] End date
|
|
1199
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
1200
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
1201
1201
|
# @param limit [Integer] Number of items to return. (default to 10)
|
|
1202
1202
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
|
1203
1203
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
@@ -1249,8 +1249,8 @@ module Algolia
|
|
|
1249
1249
|
# @param search [String] Search query.
|
|
1250
1250
|
# @param click_analytics [Boolean] Whether to include metrics related to click and conversion events in the response. (default to false)
|
|
1251
1251
|
# @param revenue_analytics [Boolean] Whether to include revenue-related metrics in the response. If true, metrics related to click and conversion events are also included in the response. (default to false)
|
|
1252
|
-
# @param start_date [String] Start date
|
|
1253
|
-
# @param end_date [String] End date
|
|
1252
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
1253
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
1254
1254
|
# @param limit [Integer] Number of items to return. (default to 10)
|
|
1255
1255
|
# @param offset [Integer] Position of the first item to return. (default to 0)
|
|
1256
1256
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
@@ -1269,8 +1269,8 @@ module Algolia
|
|
|
1269
1269
|
# @param index [String] Index name. (required)
|
|
1270
1270
|
# @param click_analytics [Boolean] Whether to include metrics related to click and conversion events in the response. (default to false)
|
|
1271
1271
|
# @param revenue_analytics [Boolean] Whether to include revenue-related metrics in the response. If true, metrics related to click and conversion events are also included in the response. (default to false)
|
|
1272
|
-
# @param start_date [String] Start date
|
|
1273
|
-
# @param end_date [String] End date
|
|
1272
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
1273
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
1274
1274
|
# @param order_by [OrderBy] Attribute by which to order the response items. If the `clickAnalytics` parameter is false, only `searchCount` is available. (default to 'searchCount')
|
|
1275
1275
|
# @param direction [Direction] Sorting direction of the results: ascending or descending. (default to 'asc')
|
|
1276
1276
|
# @param limit [Integer] Number of items to return. (default to 10)
|
|
@@ -1324,8 +1324,8 @@ module Algolia
|
|
|
1324
1324
|
# @param index [String] Index name. (required)
|
|
1325
1325
|
# @param click_analytics [Boolean] Whether to include metrics related to click and conversion events in the response. (default to false)
|
|
1326
1326
|
# @param revenue_analytics [Boolean] Whether to include revenue-related metrics in the response. If true, metrics related to click and conversion events are also included in the response. (default to false)
|
|
1327
|
-
# @param start_date [String] Start date
|
|
1328
|
-
# @param end_date [String] End date
|
|
1327
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
1328
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
1329
1329
|
# @param order_by [OrderBy] Attribute by which to order the response items. If the `clickAnalytics` parameter is false, only `searchCount` is available. (default to 'searchCount')
|
|
1330
1330
|
# @param direction [Direction] Sorting direction of the results: ascending or descending. (default to 'asc')
|
|
1331
1331
|
# @param limit [Integer] Number of items to return. (default to 10)
|
|
@@ -1344,8 +1344,8 @@ module Algolia
|
|
|
1344
1344
|
# Required API Key ACLs:
|
|
1345
1345
|
# - analytics
|
|
1346
1346
|
# @param index [String] Index name. (required)
|
|
1347
|
-
# @param start_date [String] Start date
|
|
1348
|
-
# @param end_date [String] End date
|
|
1347
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
1348
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
1349
1349
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
1350
1350
|
# @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)
|
|
1351
1351
|
# @return [Http::Response] the response
|
|
@@ -1383,8 +1383,8 @@ module Algolia
|
|
|
1383
1383
|
# Required API Key ACLs:
|
|
1384
1384
|
# - analytics
|
|
1385
1385
|
# @param index [String] Index name. (required)
|
|
1386
|
-
# @param start_date [String] Start date
|
|
1387
|
-
# @param end_date [String] End date
|
|
1386
|
+
# @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
1387
|
+
# @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
1388
1388
|
# @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
1389
1389
|
# @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)
|
|
1390
1390
|
# @return [GetUsersCountResponse]
|
|
@@ -205,12 +205,12 @@ module Algolia
|
|
|
205
205
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
|
206
206
|
end
|
|
207
207
|
|
|
208
|
-
#
|
|
208
|
+
# Deletes a Recommend rule from a recommendation scenario.
|
|
209
209
|
#
|
|
210
210
|
# Required API Key ACLs:
|
|
211
211
|
# - editSettings
|
|
212
212
|
# @param index_name [String] Name of the index on which to perform the operation. (required)
|
|
213
|
-
# @param model [RecommendModels] [Recommend
|
|
213
|
+
# @param model [RecommendModels] [Recommend model](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models). (required)
|
|
214
214
|
# @param object_id [String] Unique record identifier. (required)
|
|
215
215
|
# @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)
|
|
216
216
|
# @return [Http::Response] the response
|
|
@@ -249,12 +249,12 @@ module Algolia
|
|
|
249
249
|
@api_client.call_api(:DELETE, path, new_options)
|
|
250
250
|
end
|
|
251
251
|
|
|
252
|
-
#
|
|
252
|
+
# Deletes a Recommend rule from a recommendation scenario.
|
|
253
253
|
#
|
|
254
254
|
# Required API Key ACLs:
|
|
255
255
|
# - editSettings
|
|
256
256
|
# @param index_name [String] Name of the index on which to perform the operation. (required)
|
|
257
|
-
# @param model [RecommendModels] [Recommend
|
|
257
|
+
# @param model [RecommendModels] [Recommend model](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models). (required)
|
|
258
258
|
# @param object_id [String] Unique record identifier. (required)
|
|
259
259
|
# @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)
|
|
260
260
|
# @return [DeletedAtResponse]
|
|
@@ -263,12 +263,12 @@ module Algolia
|
|
|
263
263
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Recommend::DeletedAtResponse')
|
|
264
264
|
end
|
|
265
265
|
|
|
266
|
-
#
|
|
266
|
+
# Retrieves a Recommend rule that you previously created in the Algolia dashboard.
|
|
267
267
|
#
|
|
268
268
|
# Required API Key ACLs:
|
|
269
269
|
# - settings
|
|
270
270
|
# @param index_name [String] Name of the index on which to perform the operation. (required)
|
|
271
|
-
# @param model [RecommendModels] [Recommend
|
|
271
|
+
# @param model [RecommendModels] [Recommend model](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models). (required)
|
|
272
272
|
# @param object_id [String] Unique record identifier. (required)
|
|
273
273
|
# @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)
|
|
274
274
|
# @return [Http::Response] the response
|
|
@@ -307,27 +307,27 @@ module Algolia
|
|
|
307
307
|
@api_client.call_api(:GET, path, new_options)
|
|
308
308
|
end
|
|
309
309
|
|
|
310
|
-
#
|
|
310
|
+
# Retrieves a Recommend rule that you previously created in the Algolia dashboard.
|
|
311
311
|
#
|
|
312
312
|
# Required API Key ACLs:
|
|
313
313
|
# - settings
|
|
314
314
|
# @param index_name [String] Name of the index on which to perform the operation. (required)
|
|
315
|
-
# @param model [RecommendModels] [Recommend
|
|
315
|
+
# @param model [RecommendModels] [Recommend model](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models). (required)
|
|
316
316
|
# @param object_id [String] Unique record identifier. (required)
|
|
317
317
|
# @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)
|
|
318
|
-
# @return [
|
|
318
|
+
# @return [RecommendRule]
|
|
319
319
|
def get_recommend_rule(index_name, model, object_id, request_options = {})
|
|
320
320
|
response = get_recommend_rule_with_http_info(index_name, model, object_id, request_options)
|
|
321
|
-
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Recommend::
|
|
321
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Recommend::RecommendRule')
|
|
322
322
|
end
|
|
323
323
|
|
|
324
|
-
#
|
|
324
|
+
# Checks the status of a given task. Deleting a Recommend rule is asynchronous. When you delete a rule, a task is created on a queue and completed depending on the load on the server. The API response includes a task ID that you can use to check the status.
|
|
325
325
|
#
|
|
326
326
|
# Required API Key ACLs:
|
|
327
327
|
# - editSettings
|
|
328
328
|
# @param index_name [String] Name of the index on which to perform the operation. (required)
|
|
329
|
-
# @param model [RecommendModels] [Recommend
|
|
330
|
-
# @param task_id [Integer] Unique
|
|
329
|
+
# @param model [RecommendModels] [Recommend model](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models). (required)
|
|
330
|
+
# @param task_id [Integer] Unique task identifier. (required)
|
|
331
331
|
# @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)
|
|
332
332
|
# @return [Http::Response] the response
|
|
333
333
|
def get_recommend_status_with_http_info(index_name, model, task_id, request_options = {})
|
|
@@ -365,13 +365,13 @@ module Algolia
|
|
|
365
365
|
@api_client.call_api(:GET, path, new_options)
|
|
366
366
|
end
|
|
367
367
|
|
|
368
|
-
#
|
|
368
|
+
# Checks the status of a given task. Deleting a Recommend rule is asynchronous. When you delete a rule, a task is created on a queue and completed depending on the load on the server. The API response includes a task ID that you can use to check the status.
|
|
369
369
|
#
|
|
370
370
|
# Required API Key ACLs:
|
|
371
371
|
# - editSettings
|
|
372
372
|
# @param index_name [String] Name of the index on which to perform the operation. (required)
|
|
373
|
-
# @param model [RecommendModels] [Recommend
|
|
374
|
-
# @param task_id [Integer] Unique
|
|
373
|
+
# @param model [RecommendModels] [Recommend model](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models). (required)
|
|
374
|
+
# @param task_id [Integer] Unique task identifier. (required)
|
|
375
375
|
# @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)
|
|
376
376
|
# @return [GetRecommendTaskResponse]
|
|
377
377
|
def get_recommend_status(index_name, model, task_id, request_options = {})
|
|
@@ -379,7 +379,7 @@ module Algolia
|
|
|
379
379
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Recommend::GetRecommendTaskResponse')
|
|
380
380
|
end
|
|
381
381
|
|
|
382
|
-
#
|
|
382
|
+
# Retrieves recommendations from selected AI models.
|
|
383
383
|
#
|
|
384
384
|
# Required API Key ACLs:
|
|
385
385
|
# - search
|
|
@@ -411,7 +411,7 @@ module Algolia
|
|
|
411
411
|
@api_client.call_api(:POST, path, new_options)
|
|
412
412
|
end
|
|
413
413
|
|
|
414
|
-
#
|
|
414
|
+
# Retrieves recommendations from selected AI models.
|
|
415
415
|
#
|
|
416
416
|
# Required API Key ACLs:
|
|
417
417
|
# - search
|
|
@@ -423,12 +423,12 @@ module Algolia
|
|
|
423
423
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Recommend::GetRecommendationsResponse')
|
|
424
424
|
end
|
|
425
425
|
|
|
426
|
-
#
|
|
426
|
+
# Searches for Recommend rules. Use an empty query to list all rules for this recommendation scenario.
|
|
427
427
|
#
|
|
428
428
|
# Required API Key ACLs:
|
|
429
429
|
# - settings
|
|
430
430
|
# @param index_name [String] Name of the index on which to perform the operation. (required)
|
|
431
|
-
# @param model [RecommendModels] [Recommend
|
|
431
|
+
# @param model [RecommendModels] [Recommend model](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models). (required)
|
|
432
432
|
# @param search_recommend_rules_params [SearchRecommendRulesParams]
|
|
433
433
|
# @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)
|
|
434
434
|
# @return [Http::Response] the response
|
|
@@ -462,12 +462,12 @@ module Algolia
|
|
|
462
462
|
@api_client.call_api(:POST, path, new_options)
|
|
463
463
|
end
|
|
464
464
|
|
|
465
|
-
#
|
|
465
|
+
# Searches for Recommend rules. Use an empty query to list all rules for this recommendation scenario.
|
|
466
466
|
#
|
|
467
467
|
# Required API Key ACLs:
|
|
468
468
|
# - settings
|
|
469
469
|
# @param index_name [String] Name of the index on which to perform the operation. (required)
|
|
470
|
-
# @param model [RecommendModels] [Recommend
|
|
470
|
+
# @param model [RecommendModels] [Recommend model](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models). (required)
|
|
471
471
|
# @param search_recommend_rules_params [SearchRecommendRulesParams]
|
|
472
472
|
# @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)
|
|
473
473
|
# @return [SearchRecommendRulesResponse]
|