Skip to content

Commit b1f546d

Browse files
algolia-botgazconroyGary Conroykai687
committed
fix(specs): extend Analytics descriptions (generated)
algolia/api-clients-automation#4360 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: gazconroy <[email protected]> Co-authored-by: Gary Conroy <[email protected]> Co-authored-by: Kai Welke <[email protected]>
1 parent f547ec7 commit b1f546d

File tree

57 files changed

+523
-199
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+523
-199
lines changed

src/main/scala/algoliasearch/analytics/ClickPosition.scala

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,14 @@
1313
* parameters must be [URL-encoded](https://developer.mozilla.org/en-US/docs/Glossary/Percent-encoding). Non-ASCII
1414
* characters must be UTF-8 encoded. Plus characters (`+`) are interpreted as spaces. ## Response status and errors The
1515
* Analytics API returns JSON responses. Since JSON doesn't guarantee any specific ordering, don't rely on the order of
16-
* attributes in the API response. Successful responses return a `2xx` status. Client errors return a `4xx` status.
16+
* attributes in the API response. - Successful responses return a `2xx` status - Client errors return a `4xx` status -
1717
* Server errors are indicated by a `5xx` status. Error responses have a `message` property with more information. ##
18-
* Version The current version of the Analytics API is version 2, as indicated by the `/2/` in each endpoint's URL.
18+
* Version The current version of the Analytics API is version 2, as indicated by the `/2/` in each endpoint's URL. ##
19+
* Query aggregation Algolia accepts queries on each keystroke. To ensure you have relevant analytics data, however,
20+
* the series of keystrokes is aggregated to keep only the latest (final) user query. This is called \"prefix\"
21+
* aggregation. For more information, see [Query agggregation and
22+
* processing](https://www.algolia.com/doc/guides/search-analytics/concepts/query-aggregation/). See the analytics
23+
* implementation overview for more information about query aggregation.
1924
*
2025
* The version of the OpenAPI document: 2.0.0
2126
*

src/main/scala/algoliasearch/analytics/CurrencyCode.scala

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,14 @@
1313
* parameters must be [URL-encoded](https://developer.mozilla.org/en-US/docs/Glossary/Percent-encoding). Non-ASCII
1414
* characters must be UTF-8 encoded. Plus characters (`+`) are interpreted as spaces. ## Response status and errors The
1515
* Analytics API returns JSON responses. Since JSON doesn't guarantee any specific ordering, don't rely on the order of
16-
* attributes in the API response. Successful responses return a `2xx` status. Client errors return a `4xx` status.
16+
* attributes in the API response. - Successful responses return a `2xx` status - Client errors return a `4xx` status -
1717
* Server errors are indicated by a `5xx` status. Error responses have a `message` property with more information. ##
18-
* Version The current version of the Analytics API is version 2, as indicated by the `/2/` in each endpoint's URL.
18+
* Version The current version of the Analytics API is version 2, as indicated by the `/2/` in each endpoint's URL. ##
19+
* Query aggregation Algolia accepts queries on each keystroke. To ensure you have relevant analytics data, however,
20+
* the series of keystrokes is aggregated to keep only the latest (final) user query. This is called \"prefix\"
21+
* aggregation. For more information, see [Query agggregation and
22+
* processing](https://www.algolia.com/doc/guides/search-analytics/concepts/query-aggregation/). See the analytics
23+
* implementation overview for more information about query aggregation.
1924
*
2025
* The version of the OpenAPI document: 2.0.0
2126
*

src/main/scala/algoliasearch/analytics/DailyAddToCartRates.scala

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,14 @@
1313
* parameters must be [URL-encoded](https://developer.mozilla.org/en-US/docs/Glossary/Percent-encoding). Non-ASCII
1414
* characters must be UTF-8 encoded. Plus characters (`+`) are interpreted as spaces. ## Response status and errors The
1515
* Analytics API returns JSON responses. Since JSON doesn't guarantee any specific ordering, don't rely on the order of
16-
* attributes in the API response. Successful responses return a `2xx` status. Client errors return a `4xx` status.
16+
* attributes in the API response. - Successful responses return a `2xx` status - Client errors return a `4xx` status -
1717
* Server errors are indicated by a `5xx` status. Error responses have a `message` property with more information. ##
18-
* Version The current version of the Analytics API is version 2, as indicated by the `/2/` in each endpoint's URL.
18+
* Version The current version of the Analytics API is version 2, as indicated by the `/2/` in each endpoint's URL. ##
19+
* Query aggregation Algolia accepts queries on each keystroke. To ensure you have relevant analytics data, however,
20+
* the series of keystrokes is aggregated to keep only the latest (final) user query. This is called \"prefix\"
21+
* aggregation. For more information, see [Query agggregation and
22+
* processing](https://www.algolia.com/doc/guides/search-analytics/concepts/query-aggregation/). See the analytics
23+
* implementation overview for more information about query aggregation.
1924
*
2025
* The version of the OpenAPI document: 2.0.0
2126
*
@@ -27,7 +32,7 @@ package algoliasearch.analytics
2732
/** DailyAddToCartRates
2833
*
2934
* @param rate
30-
* Add-to-cart rate, calculated as number of tracked searches with at least one add-to-cart event divided by the
35+
* Add-to-cart rate: calculated as the number of tracked searches with at least one add-to-cart event divided by the
3136
* number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true.
3237
* @param trackedSearchCount
3338
* Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true.

src/main/scala/algoliasearch/analytics/DailyAverageClicks.scala

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,14 @@
1313
* parameters must be [URL-encoded](https://developer.mozilla.org/en-US/docs/Glossary/Percent-encoding). Non-ASCII
1414
* characters must be UTF-8 encoded. Plus characters (`+`) are interpreted as spaces. ## Response status and errors The
1515
* Analytics API returns JSON responses. Since JSON doesn't guarantee any specific ordering, don't rely on the order of
16-
* attributes in the API response. Successful responses return a `2xx` status. Client errors return a `4xx` status.
16+
* attributes in the API response. - Successful responses return a `2xx` status - Client errors return a `4xx` status -
1717
* Server errors are indicated by a `5xx` status. Error responses have a `message` property with more information. ##
18-
* Version The current version of the Analytics API is version 2, as indicated by the `/2/` in each endpoint's URL.
18+
* Version The current version of the Analytics API is version 2, as indicated by the `/2/` in each endpoint's URL. ##
19+
* Query aggregation Algolia accepts queries on each keystroke. To ensure you have relevant analytics data, however,
20+
* the series of keystrokes is aggregated to keep only the latest (final) user query. This is called \"prefix\"
21+
* aggregation. For more information, see [Query agggregation and
22+
* processing](https://www.algolia.com/doc/guides/search-analytics/concepts/query-aggregation/). See the analytics
23+
* implementation overview for more information about query aggregation.
1924
*
2025
* The version of the OpenAPI document: 2.0.0
2126
*

src/main/scala/algoliasearch/analytics/DailyClickThroughRates.scala

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,14 @@
1313
* parameters must be [URL-encoded](https://developer.mozilla.org/en-US/docs/Glossary/Percent-encoding). Non-ASCII
1414
* characters must be UTF-8 encoded. Plus characters (`+`) are interpreted as spaces. ## Response status and errors The
1515
* Analytics API returns JSON responses. Since JSON doesn't guarantee any specific ordering, don't rely on the order of
16-
* attributes in the API response. Successful responses return a `2xx` status. Client errors return a `4xx` status.
16+
* attributes in the API response. - Successful responses return a `2xx` status - Client errors return a `4xx` status -
1717
* Server errors are indicated by a `5xx` status. Error responses have a `message` property with more information. ##
18-
* Version The current version of the Analytics API is version 2, as indicated by the `/2/` in each endpoint's URL.
18+
* Version The current version of the Analytics API is version 2, as indicated by the `/2/` in each endpoint's URL. ##
19+
* Query aggregation Algolia accepts queries on each keystroke. To ensure you have relevant analytics data, however,
20+
* the series of keystrokes is aggregated to keep only the latest (final) user query. This is called \"prefix\"
21+
* aggregation. For more information, see [Query agggregation and
22+
* processing](https://www.algolia.com/doc/guides/search-analytics/concepts/query-aggregation/). See the analytics
23+
* implementation overview for more information about query aggregation.
1924
*
2025
* The version of the OpenAPI document: 2.0.0
2126
*
@@ -27,8 +32,8 @@ package algoliasearch.analytics
2732
/** DailyClickThroughRates
2833
*
2934
* @param rate
30-
* Click-through rate, calculated as number of tracked searches with at least one click event divided by the number
31-
* of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true.
35+
* Click-through rate: calculated as the number of tracked searches with at least one click event divided by the
36+
* number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true.
3237
* @param clickCount
3338
* Number of clicks associated with this search.
3439
* @param trackedSearchCount

src/main/scala/algoliasearch/analytics/DailyConversionRates.scala

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,14 @@
1313
* parameters must be [URL-encoded](https://developer.mozilla.org/en-US/docs/Glossary/Percent-encoding). Non-ASCII
1414
* characters must be UTF-8 encoded. Plus characters (`+`) are interpreted as spaces. ## Response status and errors The
1515
* Analytics API returns JSON responses. Since JSON doesn't guarantee any specific ordering, don't rely on the order of
16-
* attributes in the API response. Successful responses return a `2xx` status. Client errors return a `4xx` status.
16+
* attributes in the API response. - Successful responses return a `2xx` status - Client errors return a `4xx` status -
1717
* Server errors are indicated by a `5xx` status. Error responses have a `message` property with more information. ##
18-
* Version The current version of the Analytics API is version 2, as indicated by the `/2/` in each endpoint's URL.
18+
* Version The current version of the Analytics API is version 2, as indicated by the `/2/` in each endpoint's URL. ##
19+
* Query aggregation Algolia accepts queries on each keystroke. To ensure you have relevant analytics data, however,
20+
* the series of keystrokes is aggregated to keep only the latest (final) user query. This is called \"prefix\"
21+
* aggregation. For more information, see [Query agggregation and
22+
* processing](https://www.algolia.com/doc/guides/search-analytics/concepts/query-aggregation/). See the analytics
23+
* implementation overview for more information about query aggregation.
1924
*
2025
* The version of the OpenAPI document: 2.0.0
2126
*
@@ -27,8 +32,8 @@ package algoliasearch.analytics
2732
/** DailyConversionRates
2833
*
2934
* @param rate
30-
* Conversion rate, calculated as number of tracked searches with at least one conversion event divided by the number
31-
* of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true.
35+
* Conversion rate: calculated as the number of tracked searches with at least one conversion event divided by the
36+
* number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true.
3237
* @param trackedSearchCount
3338
* Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true.
3439
* @param conversionCount

src/main/scala/algoliasearch/analytics/DailyNoClickRates.scala

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,14 @@
1313
* parameters must be [URL-encoded](https://developer.mozilla.org/en-US/docs/Glossary/Percent-encoding). Non-ASCII
1414
* characters must be UTF-8 encoded. Plus characters (`+`) are interpreted as spaces. ## Response status and errors The
1515
* Analytics API returns JSON responses. Since JSON doesn't guarantee any specific ordering, don't rely on the order of
16-
* attributes in the API response. Successful responses return a `2xx` status. Client errors return a `4xx` status.
16+
* attributes in the API response. - Successful responses return a `2xx` status - Client errors return a `4xx` status -
1717
* Server errors are indicated by a `5xx` status. Error responses have a `message` property with more information. ##
18-
* Version The current version of the Analytics API is version 2, as indicated by the `/2/` in each endpoint's URL.
18+
* Version The current version of the Analytics API is version 2, as indicated by the `/2/` in each endpoint's URL. ##
19+
* Query aggregation Algolia accepts queries on each keystroke. To ensure you have relevant analytics data, however,
20+
* the series of keystrokes is aggregated to keep only the latest (final) user query. This is called \"prefix\"
21+
* aggregation. For more information, see [Query agggregation and
22+
* processing](https://www.algolia.com/doc/guides/search-analytics/concepts/query-aggregation/). See the analytics
23+
* implementation overview for more information about query aggregation.
1924
*
2025
* The version of the OpenAPI document: 2.0.0
2126
*
@@ -27,7 +32,7 @@ package algoliasearch.analytics
2732
/** DailyNoClickRates
2833
*
2934
* @param rate
30-
* No click rate, calculated as number of tracked searches without any click divided by the number of tracked
35+
* No click rate: calculated as the number of tracked searches without clicks divided by the number of tracked
3136
* searches.
3237
* @param count
3338
* Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true.

src/main/scala/algoliasearch/analytics/DailyNoResultsRates.scala

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,14 @@
1313
* parameters must be [URL-encoded](https://developer.mozilla.org/en-US/docs/Glossary/Percent-encoding). Non-ASCII
1414
* characters must be UTF-8 encoded. Plus characters (`+`) are interpreted as spaces. ## Response status and errors The
1515
* Analytics API returns JSON responses. Since JSON doesn't guarantee any specific ordering, don't rely on the order of
16-
* attributes in the API response. Successful responses return a `2xx` status. Client errors return a `4xx` status.
16+
* attributes in the API response. - Successful responses return a `2xx` status - Client errors return a `4xx` status -
1717
* Server errors are indicated by a `5xx` status. Error responses have a `message` property with more information. ##
18-
* Version The current version of the Analytics API is version 2, as indicated by the `/2/` in each endpoint's URL.
18+
* Version The current version of the Analytics API is version 2, as indicated by the `/2/` in each endpoint's URL. ##
19+
* Query aggregation Algolia accepts queries on each keystroke. To ensure you have relevant analytics data, however,
20+
* the series of keystrokes is aggregated to keep only the latest (final) user query. This is called \"prefix\"
21+
* aggregation. For more information, see [Query agggregation and
22+
* processing](https://www.algolia.com/doc/guides/search-analytics/concepts/query-aggregation/). See the analytics
23+
* implementation overview for more information about query aggregation.
1924
*
2025
* The version of the OpenAPI document: 2.0.0
2126
*
@@ -33,7 +38,7 @@ package algoliasearch.analytics
3338
* @param count
3439
* Number of searches.
3540
* @param rate
36-
* No results rate, calculated as number of searches with zero results divided by the total number of searches.
41+
* No results rate: calculated as the number of searches with zero results divided by the total number of searches.
3742
*/
3843
case class DailyNoResultsRates(
3944
date: String,

src/main/scala/algoliasearch/analytics/DailyPurchaseRates.scala

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,14 @@
1313
* parameters must be [URL-encoded](https://developer.mozilla.org/en-US/docs/Glossary/Percent-encoding). Non-ASCII
1414
* characters must be UTF-8 encoded. Plus characters (`+`) are interpreted as spaces. ## Response status and errors The
1515
* Analytics API returns JSON responses. Since JSON doesn't guarantee any specific ordering, don't rely on the order of
16-
* attributes in the API response. Successful responses return a `2xx` status. Client errors return a `4xx` status.
16+
* attributes in the API response. - Successful responses return a `2xx` status - Client errors return a `4xx` status -
1717
* Server errors are indicated by a `5xx` status. Error responses have a `message` property with more information. ##
18-
* Version The current version of the Analytics API is version 2, as indicated by the `/2/` in each endpoint's URL.
18+
* Version The current version of the Analytics API is version 2, as indicated by the `/2/` in each endpoint's URL. ##
19+
* Query aggregation Algolia accepts queries on each keystroke. To ensure you have relevant analytics data, however,
20+
* the series of keystrokes is aggregated to keep only the latest (final) user query. This is called \"prefix\"
21+
* aggregation. For more information, see [Query agggregation and
22+
* processing](https://www.algolia.com/doc/guides/search-analytics/concepts/query-aggregation/). See the analytics
23+
* implementation overview for more information about query aggregation.
1924
*
2025
* The version of the OpenAPI document: 2.0.0
2126
*
@@ -27,8 +32,8 @@ package algoliasearch.analytics
2732
/** DailyPurchaseRates
2833
*
2934
* @param rate
30-
* Purchase rate, calculated as number of tracked searches with at least one purchase event divided by the number of
31-
* tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true.
35+
* Purchase rate: calculated as the number of tracked searches with at least one purchase event divided by the number
36+
* of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true.
3237
* @param trackedSearchCount
3338
* Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true.
3439
* @param purchaseCount

src/main/scala/algoliasearch/analytics/DailyRevenue.scala

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,14 @@
1313
* parameters must be [URL-encoded](https://developer.mozilla.org/en-US/docs/Glossary/Percent-encoding). Non-ASCII
1414
* characters must be UTF-8 encoded. Plus characters (`+`) are interpreted as spaces. ## Response status and errors The
1515
* Analytics API returns JSON responses. Since JSON doesn't guarantee any specific ordering, don't rely on the order of
16-
* attributes in the API response. Successful responses return a `2xx` status. Client errors return a `4xx` status.
16+
* attributes in the API response. - Successful responses return a `2xx` status - Client errors return a `4xx` status -
1717
* Server errors are indicated by a `5xx` status. Error responses have a `message` property with more information. ##
18-
* Version The current version of the Analytics API is version 2, as indicated by the `/2/` in each endpoint's URL.
18+
* Version The current version of the Analytics API is version 2, as indicated by the `/2/` in each endpoint's URL. ##
19+
* Query aggregation Algolia accepts queries on each keystroke. To ensure you have relevant analytics data, however,
20+
* the series of keystrokes is aggregated to keep only the latest (final) user query. This is called \"prefix\"
21+
* aggregation. For more information, see [Query agggregation and
22+
* processing](https://www.algolia.com/doc/guides/search-analytics/concepts/query-aggregation/). See the analytics
23+
* implementation overview for more information about query aggregation.
1924
*
2025
* The version of the OpenAPI document: 2.0.0
2126
*
@@ -27,7 +32,7 @@ package algoliasearch.analytics
2732
/** DailyRevenue
2833
*
2934
* @param currencies
30-
* Revenue associated with this search, broken-down by currencies.
35+
* Revenue associated with this search: broken down by currency.
3136
* @param date
3237
* Date in the format YYYY-MM-DD.
3338
*/

0 commit comments

Comments
 (0)