21
21
/// SOFTWARE.
22
22
///
23
23
24
- /// 467 API methods
24
+ /// 469 API methods
25
25
26
26
#nullable enable
27
27
using System ;
@@ -488,6 +488,7 @@ namespace = SdkUtils.EncodeParam(namespace);
488
488
/// <param name="max_size">Maximum storage size of the artifact</param>
489
489
/// <param name="limit">Number of results to return. (used with offset)</param>
490
490
/// <param name="offset">Number of results to skip before returning any. (used with limit)</param>
491
+ /// <param name="tally">Return the full count of results in the X-Total-Count response header. (Slight performance hit.)</param>
491
492
public async Task < SdkResponse < Artifact [ ] , Exception > > search_artifacts (
492
493
string @namespace ,
493
494
string ? fields = null ,
@@ -497,6 +498,7 @@ public async Task<SdkResponse<Artifact[], Exception>> search_artifacts(
497
498
long ? max_size = null ,
498
499
long ? limit = null ,
499
500
long ? offset = null ,
501
+ bool ? tally = null ,
500
502
ITransportSettings ? options = null )
501
503
{
502
504
namespace = SdkUtils . EncodeParam ( namespace ) ;
@@ -507,7 +509,8 @@ namespace = SdkUtils.EncodeParam(namespace);
507
509
{ "min_size" , min_size } ,
508
510
{ "max_size" , max_size } ,
509
511
{ "limit" , limit } ,
510
- { "offset" , offset } } , null , options ) ;
512
+ { "offset" , offset } ,
513
+ { "tally" , tally } } , null , options ) ;
511
514
}
512
515
513
516
/// ### Get one or more artifacts
@@ -525,20 +528,23 @@ namespace = SdkUtils.EncodeParam(namespace);
525
528
/// <param name="fields">Comma-delimited names of fields to return in responses. Omit for all fields</param>
526
529
/// <param name="limit">Number of results to return. (used with offset)</param>
527
530
/// <param name="offset">Number of results to skip before returning any. (used with limit)</param>
531
+ /// <param name="tally">Return the full count of results in the X-Total-Count response header. (Slight performance hit.)</param>
528
532
public async Task < SdkResponse < Artifact [ ] , Exception > > artifact (
529
533
string @namespace ,
530
534
string key ,
531
535
string ? fields = null ,
532
536
long ? limit = null ,
533
537
long ? offset = null ,
538
+ bool ? tally = null ,
534
539
ITransportSettings ? options = null )
535
540
{
536
541
namespace = SdkUtils . EncodeParam ( namespace ) ;
537
542
return await AuthRequest < Artifact [ ] , Exception > ( HttpMethod . Get , $ "/artifact/{ namespace } ", new Values {
538
543
{ "key" , key } ,
539
544
{ "fields" , fields } ,
540
545
{ "limit" , limit } ,
541
- { "offset" , offset } } , null , options ) ;
546
+ { "offset" , offset } ,
547
+ { "tally" , tally } } , null , options ) ;
542
548
}
543
549
544
550
/// ### Delete one or more artifacts
@@ -7772,6 +7778,72 @@ public async Task<SdkResponse<RenderTask, Exception>> create_dashboard_element_r
7772
7778
7773
7779
#endregion RenderTask: Manage Render Tasks
7774
7780
7781
+ #region Report: Report
7782
+
7783
+ /// ### Search Reports
7784
+ ///
7785
+ /// Returns an **array of Report objects** that match the specified search criteria.
7786
+ ///
7787
+ /// If multiple search params are given and `filter_or` is FALSE or not specified,
7788
+ /// search params are combined in a logical AND operation.
7789
+ /// Only rows that match *all* search param criteria will be returned.
7790
+ ///
7791
+ /// If `filter_or` is TRUE, multiple search params are combined in a logical OR operation.
7792
+ /// Results will include rows that match **any** of the search criteria.
7793
+ ///
7794
+ /// String search params use case-insensitive matching.
7795
+ /// String search params can contain `%` and '_' as SQL LIKE pattern match wildcard expressions.
7796
+ /// example="dan%" will match "danger" and "Danzig" but not "David"
7797
+ /// example="D_m%" will match "Damage" and "dump"
7798
+ ///
7799
+ /// Integer search params can accept a single value or a comma separated list of values. The multiple
7800
+ /// values will be combined under a logical OR operation - results will match at least one of
7801
+ /// the given values.
7802
+ ///
7803
+ /// Most search params can accept "IS NULL" and "NOT NULL" as special expressions to match
7804
+ /// or exclude (respectively) rows where the column is null.
7805
+ ///
7806
+ /// Boolean search params accept only "true" and "false" as values.
7807
+ ///
7808
+ /// GET /reports/search -> Report[]
7809
+ ///
7810
+ /// <returns><c>Report[]</c> returns a list of reports. (application/json)</returns>
7811
+ ///
7812
+ /// <param name="folder_id">Select reports in a particular folder.</param>
7813
+ /// <param name="favorite">Select favorite reports.</param>
7814
+ /// <param name="recent">Select reports viewed recently.</param>
7815
+ /// <param name="id">Match report id.</param>
7816
+ /// <param name="title">Match report title.</param>
7817
+ /// <param name="sorts">One or more fields to sort results by.</param>
7818
+ /// <param name="limit">Number of results to return.(used with next_page_token)</param>
7819
+ /// <param name="fields">Comma delimited list of field names. If provided, only the fields specified will be included in the response.</param>
7820
+ /// <param name="next_page_token">Contains a token that can be used to return up to Number of results to return.(used with next_page_token) additional results. A next_page_token will not be returned if there are no additional results to display.</param>
7821
+ public async Task < SdkResponse < Report [ ] , Exception > > search_reports (
7822
+ string ? folder_id = null ,
7823
+ bool ? favorite = null ,
7824
+ bool ? recent = null ,
7825
+ string ? id = null ,
7826
+ string ? title = null ,
7827
+ string ? sorts = null ,
7828
+ long ? limit = null ,
7829
+ string ? fields = null ,
7830
+ string ? next_page_token = null ,
7831
+ ITransportSettings ? options = null )
7832
+ {
7833
+ return await AuthRequest < Report [ ] , Exception > ( HttpMethod . Get , "/reports/search" , new Values {
7834
+ { "folder_id" , folder_id } ,
7835
+ { "favorite" , favorite } ,
7836
+ { "recent" , recent } ,
7837
+ { "id" , id } ,
7838
+ { "title" , title } ,
7839
+ { "sorts" , sorts } ,
7840
+ { "limit" , limit } ,
7841
+ { "fields" , fields } ,
7842
+ { "next_page_token" , next_page_token } } , null , options ) ;
7843
+ }
7844
+
7845
+ #endregion Report: Report
7846
+
7775
7847
#region Role: Manage Roles
7776
7848
7777
7849
/// ### Search model sets
0 commit comments