const aggregates = await client.datasets.aggregate({ filter: { writeProtected: true } });
console.log('Number of write protected datasets: ', aggregates[0].count){
"items": [
{
"count": 123
}
]
}Required capabilities:
datasetsAcl:READ
Aggregate data sets in the same project. Criteria can be applied to select a subset of data sets.
const aggregates = await client.datasets.aggregate({ filter: { writeProtected: true } });
console.log('Number of write protected datasets: ', aggregates[0].count){
"items": [
{
"count": 123
}
]
}Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
Aggregation request of data sets. Filters exact field matching or timestamp ranges inclusive min and max.
Filter on data sets with strict matching.
Show child attributes
Response with list of data set aggregations
1 elementShow child attributes
Was this page helpful?