public Task <AssetEntities> GetAssetsAsync(ODataQuery query = null) { var queryString = query?.ToQuery(false) ?? string.Empty; return(RequestJsonAsync <AssetEntities>(HttpMethod.Get, BuildAppAssetsUrl(queryString))); }
public Task <SquidexEntities <TEntity, TData> > GetAsync(ODataQuery query = null, QueryContext context = null, CancellationToken ct = default) { var q = query?.ToQuery(true) ?? string.Empty; return(RequestJsonAsync <SquidexEntities <TEntity, TData> >(HttpMethod.Get, BuildSchemaUrl(q), null, context, ct)); }