@@ -972,6 +972,8 @@ public interface IIngestionClient
972
972
/// <summary>
973
973
/// Retrieves a list of transformations.
974
974
/// </summary>
975
+ /// <param name="itemsPerPage">Number of items per page. (optional, default to 10)</param>
976
+ /// <param name="page">Page number of the paginated API response. (optional)</param>
975
977
/// <param name="sort">Property by which to sort the list. (optional)</param>
976
978
/// <param name="order">Sort order of the response, ascending or descending. (optional)</param>
977
979
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
@@ -980,11 +982,13 @@ public interface IIngestionClient
980
982
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
981
983
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
982
984
/// <returns>Task of ListTransformationsResponse</returns>
983
- Task < ListTransformationsResponse > ListTransformationsAsync ( SortKeys ? sort = default , OrderKeys ? order = default , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
985
+ Task < ListTransformationsResponse > ListTransformationsAsync ( int ? itemsPerPage = default , int ? page = default , SortKeys ? sort = default , OrderKeys ? order = default , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
984
986
985
987
/// <summary>
986
988
/// Retrieves a list of transformations. (Synchronous version)
987
989
/// </summary>
990
+ /// <param name="itemsPerPage">Number of items per page. (optional, default to 10)</param>
991
+ /// <param name="page">Page number of the paginated API response. (optional)</param>
988
992
/// <param name="sort">Property by which to sort the list. (optional)</param>
989
993
/// <param name="order">Sort order of the response, ascending or descending. (optional)</param>
990
994
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
@@ -993,7 +997,7 @@ public interface IIngestionClient
993
997
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
994
998
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
995
999
/// <returns>ListTransformationsResponse</returns>
996
- ListTransformationsResponse ListTransformations ( SortKeys ? sort = default , OrderKeys ? order = default , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1000
+ ListTransformationsResponse ListTransformations ( int ? itemsPerPage = default , int ? page = default , SortKeys ? sort = default , OrderKeys ? order = default , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
997
1001
998
1002
/// <summary>
999
1003
/// Push a `batch` request payload through the Pipeline. You can check the status of task pushes with the observability endpoints.
@@ -3286,6 +3290,8 @@ public ListTasksResponseV1 ListTasksV1(int? itemsPerPage = default, int? page =
3286
3290
/// - addObject
3287
3291
/// - deleteIndex
3288
3292
/// - editSettings
3293
+ /// <param name="itemsPerPage">Number of items per page. (optional, default to 10)</param>
3294
+ /// <param name="page">Page number of the paginated API response. (optional)</param>
3289
3295
/// <param name="sort">Property by which to sort the list. (optional)</param>
3290
3296
/// <param name="order">Sort order of the response, ascending or descending. (optional)</param>
3291
3297
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
@@ -3294,11 +3300,13 @@ public ListTasksResponseV1 ListTasksV1(int? itemsPerPage = default, int? page =
3294
3300
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
3295
3301
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
3296
3302
/// <returns>Task of ListTransformationsResponse</returns>
3297
- public async Task < ListTransformationsResponse > ListTransformationsAsync ( SortKeys ? sort = default , OrderKeys ? order = default , RequestOptions options = null , CancellationToken cancellationToken = default )
3303
+ public async Task < ListTransformationsResponse > ListTransformationsAsync ( int ? itemsPerPage = default , int ? page = default , SortKeys ? sort = default , OrderKeys ? order = default , RequestOptions options = null , CancellationToken cancellationToken = default )
3298
3304
{
3299
3305
var requestOptions = new InternalRequestOptions ( options ) ;
3300
3306
3301
3307
3308
+ requestOptions . AddQueryParameter ( "itemsPerPage" , itemsPerPage ) ;
3309
+ requestOptions . AddQueryParameter ( "page" , page ) ;
3302
3310
requestOptions . AddQueryParameter ( "sort" , sort ) ;
3303
3311
requestOptions . AddQueryParameter ( "order" , order ) ;
3304
3312
return await _transport . ExecuteRequestAsync < ListTransformationsResponse > ( new HttpMethod ( "GET" ) , "/1/transformations" , requestOptions , cancellationToken ) . ConfigureAwait ( false ) ;
@@ -3313,6 +3321,8 @@ public async Task<ListTransformationsResponse> ListTransformationsAsync(SortKeys
3313
3321
/// - addObject
3314
3322
/// - deleteIndex
3315
3323
/// - editSettings
3324
+ /// <param name="itemsPerPage">Number of items per page. (optional, default to 10)</param>
3325
+ /// <param name="page">Page number of the paginated API response. (optional)</param>
3316
3326
/// <param name="sort">Property by which to sort the list. (optional)</param>
3317
3327
/// <param name="order">Sort order of the response, ascending or descending. (optional)</param>
3318
3328
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
@@ -3321,8 +3331,8 @@ public async Task<ListTransformationsResponse> ListTransformationsAsync(SortKeys
3321
3331
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
3322
3332
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
3323
3333
/// <returns>ListTransformationsResponse</returns>
3324
- public ListTransformationsResponse ListTransformations ( SortKeys ? sort = default , OrderKeys ? order = default , RequestOptions options = null , CancellationToken cancellationToken = default ) =>
3325
- AsyncHelper . RunSync ( ( ) => ListTransformationsAsync ( sort , order , options , cancellationToken ) ) ;
3334
+ public ListTransformationsResponse ListTransformations ( int ? itemsPerPage = default , int ? page = default , SortKeys ? sort = default , OrderKeys ? order = default , RequestOptions options = null , CancellationToken cancellationToken = default ) =>
3335
+ AsyncHelper . RunSync ( ( ) => ListTransformationsAsync ( itemsPerPage , page , sort , order , options , cancellationToken ) ) ;
3326
3336
3327
3337
3328
3338
/// <summary>
0 commit comments