Skip to content

Commit e27049b

Browse files
algolia-botfebeckshortcuts
committed
docs(analytics): constrain pagination only to limit query parameter (generated)
algolia/api-clients-automation#4012 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Fernando Beck <[email protected]> Co-authored-by: shortcuts <[email protected]>
1 parent 3fcacbd commit e27049b

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

lib/Api/AnalyticsClient.php

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -744,8 +744,8 @@ public function getSearchesCount($index, $startDate = null, $endDate = null, $ta
744744
* @param string $index Index name. (required)
745745
* @param string $startDate Start date of the period to analyze, in `YYYY-MM-DD` format. (optional)
746746
* @param string $endDate End date of the period to analyze, in `YYYY-MM-DD` format. (optional)
747-
* @param int $limit Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved. (optional, default to 10)
748-
* @param int $offset Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved. (optional, default to 0)
747+
* @param int $limit Number of items to return. (optional, default to 10)
748+
* @param int $offset Position of the first item to return. (optional, default to 0)
749749
* @param string $tags 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/). (optional)
750750
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
751751
*
@@ -801,8 +801,8 @@ public function getSearchesNoClicks($index, $startDate = null, $endDate = null,
801801
* @param string $index Index name. (required)
802802
* @param string $startDate Start date of the period to analyze, in `YYYY-MM-DD` format. (optional)
803803
* @param string $endDate End date of the period to analyze, in `YYYY-MM-DD` format. (optional)
804-
* @param int $limit Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved. (optional, default to 10)
805-
* @param int $offset Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved. (optional, default to 0)
804+
* @param int $limit Number of items to return. (optional, default to 10)
805+
* @param int $offset Position of the first item to return. (optional, default to 0)
806806
* @param string $tags 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/). (optional)
807807
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
808808
*
@@ -890,8 +890,8 @@ public function getStatus($index, $requestOptions = [])
890890
* @param string $index Index name. (required)
891891
* @param string $startDate Start date of the period to analyze, in `YYYY-MM-DD` format. (optional)
892892
* @param string $endDate End date of the period to analyze, in `YYYY-MM-DD` format. (optional)
893-
* @param int $limit Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved. (optional, default to 10)
894-
* @param int $offset Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved. (optional, default to 0)
893+
* @param int $limit Number of items to return. (optional, default to 10)
894+
* @param int $offset Position of the first item to return. (optional, default to 0)
895895
* @param string $tags 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/). (optional)
896896
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
897897
*
@@ -948,8 +948,8 @@ public function getTopCountries($index, $startDate = null, $endDate = null, $lim
948948
* @param string $search Search query. (optional)
949949
* @param string $startDate Start date of the period to analyze, in `YYYY-MM-DD` format. (optional)
950950
* @param string $endDate End date of the period to analyze, in `YYYY-MM-DD` format. (optional)
951-
* @param int $limit Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved. (optional, default to 10)
952-
* @param int $offset Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved. (optional, default to 0)
951+
* @param int $limit Number of items to return. (optional, default to 10)
952+
* @param int $offset Position of the first item to return. (optional, default to 0)
953953
* @param string $tags 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/). (optional)
954954
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
955955
*
@@ -1011,8 +1011,8 @@ public function getTopFilterAttributes($index, $search = null, $startDate = null
10111011
* @param string $search Search query. (optional)
10121012
* @param string $startDate Start date of the period to analyze, in `YYYY-MM-DD` format. (optional)
10131013
* @param string $endDate End date of the period to analyze, in `YYYY-MM-DD` format. (optional)
1014-
* @param int $limit Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved. (optional, default to 10)
1015-
* @param int $offset Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved. (optional, default to 0)
1014+
* @param int $limit Number of items to return. (optional, default to 10)
1015+
* @param int $offset Position of the first item to return. (optional, default to 0)
10161016
* @param string $tags 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/). (optional)
10171017
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
10181018
*
@@ -1088,8 +1088,8 @@ public function getTopFilterForAttribute($attribute, $index, $search = null, $st
10881088
* @param string $search Search query. (optional)
10891089
* @param string $startDate Start date of the period to analyze, in `YYYY-MM-DD` format. (optional)
10901090
* @param string $endDate End date of the period to analyze, in `YYYY-MM-DD` format. (optional)
1091-
* @param int $limit Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved. (optional, default to 10)
1092-
* @param int $offset Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved. (optional, default to 0)
1091+
* @param int $limit Number of items to return. (optional, default to 10)
1092+
* @param int $offset Position of the first item to return. (optional, default to 0)
10931093
* @param string $tags 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/). (optional)
10941094
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
10951095
*
@@ -1152,8 +1152,8 @@ public function getTopFiltersNoResults($index, $search = null, $startDate = null
11521152
* @param bool $revenueAnalytics Whether to include revenue-related metrics in the response. If true, metrics related to click and conversion events are also included in the response. (optional, default to false)
11531153
* @param string $startDate Start date of the period to analyze, in `YYYY-MM-DD` format. (optional)
11541154
* @param string $endDate End date of the period to analyze, in `YYYY-MM-DD` format. (optional)
1155-
* @param int $limit Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved. (optional, default to 10)
1156-
* @param int $offset Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved. (optional, default to 0)
1155+
* @param int $limit Number of items to return. (optional, default to 10)
1156+
* @param int $offset Position of the first item to return. (optional, default to 0)
11571157
* @param string $tags 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/). (optional)
11581158
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
11591159
*
@@ -1225,8 +1225,8 @@ public function getTopHits($index, $search = null, $clickAnalytics = null, $reve
12251225
* @param string $endDate End date of the period to analyze, in `YYYY-MM-DD` format. (optional)
12261226
* @param array $orderBy Attribute by which to order the response items. If the `clickAnalytics` parameter is false, only `searchCount` is available. (optional)
12271227
* @param array $direction Sorting direction of the results: ascending or descending. (optional)
1228-
* @param int $limit Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved. (optional, default to 10)
1229-
* @param int $offset Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved. (optional, default to 0)
1228+
* @param int $limit Number of items to return. (optional, default to 10)
1229+
* @param int $offset Position of the first item to return. (optional, default to 0)
12301230
* @param string $tags 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/). (optional)
12311231
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
12321232
*

0 commit comments

Comments
 (0)