Skip to content

Commit

Permalink
docs(analytics): constrain pagination only to limit query parameter (…
Browse files Browse the repository at this point in the history
…generated)

algolia/api-clients-automation#4012

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Fernando Beck <fe.beck25@gmail.com>
Co-authored-by: shortcuts <vannicattec@gmail.com>
  • Loading branch information
3 people committed Oct 21, 2024
1 parent 0ba8856 commit 3556e60
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 32 deletions.
32 changes: 16 additions & 16 deletions packages/client-analytics/model/clientMethodProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,11 @@ export type GetSearchesNoClicksProps = {
*/
endDate?: string;
/**
* Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved.
* Number of items to return.
*/
limit?: number;
/**
* Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved.
* Position of the first item to return.
*/
offset?: number;
/**
Expand All @@ -335,11 +335,11 @@ export type GetSearchesNoResultsProps = {
*/
endDate?: string;
/**
* Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved.
* Number of items to return.
*/
limit?: number;
/**
* Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved.
* Position of the first item to return.
*/
offset?: number;
/**
Expand Down Expand Up @@ -375,11 +375,11 @@ export type GetTopCountriesProps = {
*/
endDate?: string;
/**
* Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved.
* Number of items to return.
*/
limit?: number;
/**
* Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved.
* Position of the first item to return.
*/
offset?: number;
/**
Expand Down Expand Up @@ -409,11 +409,11 @@ export type GetTopFilterAttributesProps = {
*/
endDate?: string;
/**
* Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved.
* Number of items to return.
*/
limit?: number;
/**
* Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved.
* Position of the first item to return.
*/
offset?: number;
/**
Expand Down Expand Up @@ -447,11 +447,11 @@ export type GetTopFilterForAttributeProps = {
*/
endDate?: string;
/**
* Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved.
* Number of items to return.
*/
limit?: number;
/**
* Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved.
* Position of the first item to return.
*/
offset?: number;
/**
Expand Down Expand Up @@ -481,11 +481,11 @@ export type GetTopFiltersNoResultsProps = {
*/
endDate?: string;
/**
* Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved.
* Number of items to return.
*/
limit?: number;
/**
* Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved.
* Position of the first item to return.
*/
offset?: number;
/**
Expand Down Expand Up @@ -523,11 +523,11 @@ export type GetTopHitsProps = {
*/
endDate?: string;
/**
* Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved.
* Number of items to return.
*/
limit?: number;
/**
* Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved.
* Position of the first item to return.
*/
offset?: number;
/**
Expand Down Expand Up @@ -569,11 +569,11 @@ export type GetTopSearchesProps = {
*/
direction?: Direction;
/**
* Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved.
* Number of items to return.
*/
limit?: number;
/**
* Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved.
* Position of the first item to return.
*/
offset?: number;
/**
Expand Down
32 changes: 16 additions & 16 deletions packages/client-analytics/src/analyticsClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -770,8 +770,8 @@ export function createAnalyticsClient({
* @param getSearchesNoClicks.index - Index name.
* @param getSearchesNoClicks.startDate - Start date of the period to analyze, in `YYYY-MM-DD` format.
* @param getSearchesNoClicks.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
* @param getSearchesNoClicks.limit - Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved.
* @param getSearchesNoClicks.offset - Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved.
* @param getSearchesNoClicks.limit - Number of items to return.
* @param getSearchesNoClicks.offset - Position of the first item to return.
* @param getSearchesNoClicks.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/).
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
*/
Expand Down Expand Up @@ -830,8 +830,8 @@ export function createAnalyticsClient({
* @param getSearchesNoResults.index - Index name.
* @param getSearchesNoResults.startDate - Start date of the period to analyze, in `YYYY-MM-DD` format.
* @param getSearchesNoResults.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
* @param getSearchesNoResults.limit - Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved.
* @param getSearchesNoResults.offset - Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved.
* @param getSearchesNoResults.limit - Number of items to return.
* @param getSearchesNoResults.offset - Position of the first item to return.
* @param getSearchesNoResults.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/).
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
*/
Expand Down Expand Up @@ -922,8 +922,8 @@ export function createAnalyticsClient({
* @param getTopCountries.index - Index name.
* @param getTopCountries.startDate - Start date of the period to analyze, in `YYYY-MM-DD` format.
* @param getTopCountries.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
* @param getTopCountries.limit - Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved.
* @param getTopCountries.offset - Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved.
* @param getTopCountries.limit - Number of items to return.
* @param getTopCountries.offset - Position of the first item to return.
* @param getTopCountries.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/).
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
*/
Expand Down Expand Up @@ -983,8 +983,8 @@ export function createAnalyticsClient({
* @param getTopFilterAttributes.search - Search query.
* @param getTopFilterAttributes.startDate - Start date of the period to analyze, in `YYYY-MM-DD` format.
* @param getTopFilterAttributes.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
* @param getTopFilterAttributes.limit - Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved.
* @param getTopFilterAttributes.offset - Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved.
* @param getTopFilterAttributes.limit - Number of items to return.
* @param getTopFilterAttributes.offset - Position of the first item to return.
* @param getTopFilterAttributes.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/).
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
*/
Expand Down Expand Up @@ -1049,8 +1049,8 @@ export function createAnalyticsClient({
* @param getTopFilterForAttribute.search - Search query.
* @param getTopFilterForAttribute.startDate - Start date of the period to analyze, in `YYYY-MM-DD` format.
* @param getTopFilterForAttribute.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
* @param getTopFilterForAttribute.limit - Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved.
* @param getTopFilterForAttribute.offset - Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved.
* @param getTopFilterForAttribute.limit - Number of items to return.
* @param getTopFilterForAttribute.offset - Position of the first item to return.
* @param getTopFilterForAttribute.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/).
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
*/
Expand Down Expand Up @@ -1118,8 +1118,8 @@ export function createAnalyticsClient({
* @param getTopFiltersNoResults.search - Search query.
* @param getTopFiltersNoResults.startDate - Start date of the period to analyze, in `YYYY-MM-DD` format.
* @param getTopFiltersNoResults.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
* @param getTopFiltersNoResults.limit - Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved.
* @param getTopFiltersNoResults.offset - Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved.
* @param getTopFiltersNoResults.limit - Number of items to return.
* @param getTopFiltersNoResults.offset - Position of the first item to return.
* @param getTopFiltersNoResults.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/).
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
*/
Expand Down Expand Up @@ -1185,8 +1185,8 @@ export function createAnalyticsClient({
* @param getTopHits.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.
* @param getTopHits.startDate - Start date of the period to analyze, in `YYYY-MM-DD` format.
* @param getTopHits.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
* @param getTopHits.limit - Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved.
* @param getTopHits.offset - Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved.
* @param getTopHits.limit - Number of items to return.
* @param getTopHits.offset - Position of the first item to return.
* @param getTopHits.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/).
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
*/
Expand Down Expand Up @@ -1261,8 +1261,8 @@ export function createAnalyticsClient({
* @param getTopSearches.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
* @param getTopSearches.orderBy - Attribute by which to order the response items. If the `clickAnalytics` parameter is false, only `searchCount` is available.
* @param getTopSearches.direction - Sorting direction of the results: ascending or descending.
* @param getTopSearches.limit - Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved.
* @param getTopSearches.offset - Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved.
* @param getTopSearches.limit - Number of items to return.
* @param getTopSearches.offset - Position of the first item to return.
* @param getTopSearches.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/).
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
*/
Expand Down

0 comments on commit 3556e60

Please sign in to comment.