aggregationOption resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Specifies which aggregations should be returned alongside the search results.

Properties

Property Type Description
bucketDefinition bucketAggregationDefinition Specifies the criteria to compute an aggregation. Optional.
field String Computes aggregation on the field while the field exists in current entity type. Required.
size Int32 The number of searchBucket resources to be returned. This is not required when the range is provided manually in the search request. Optional.

JSON representation

The following is a JSON representation of the resource.

{
  "field": "String",
  "size": 1024,
  "bucketDefinition": {"@odata.type": "microsoft.graph.bucketAggregationDefinition"}
}