public async Task <DataSetSummaryList> List(DataSetSummaryQuery query, CancellationToken cancellationToken = default(CancellationToken)) { var parameters = query.ToParameters(); var result = await apiConnection .Get <DataSetSummaryList>("data", parameters, HttpMessageTransformer, cancellationToken) .ConfigureAwait(false); return(result); }
public async Task <DataSetSummaryList> List(DataSetSummaryQuery query) { var parameters = query.ToParameters(); var result = await Client .Get <DataSetSummaryList>($"{ApiKeys.Endpoint}data", ApiKeys.ApiToken, parameters) .ConfigureAwait(false); return(result); }