...
total | Total number of aggregated data rows. | int | |
groups | The results. The structure may depend on the aggregation but, in general, you will findbuckets | A list of buckets. A bucket is the aggregated value, the total count of records with the value and descriptive information:
| int |
properties | The details of the selected aggregation. Also see ./list/aggregations | array<object> |
...
An aggregation by job status:
Code Block |
---|
{ "total": 464120, "groupsbuckets": [ { "value": 0, "title": "Draft", "countcss": 360 }, { "value": 3"status draft", "titlequery": "Proposal{status}.Matches(0)", "count": 25119 }, { "value": 52, "title": "In progressInactive", "countcss": 30 }, { "value": 6"status inactive", "titlequery": "Completed{status}.Matches(2)", "count": 491 } ], "properties": { "id": null"bystatus", "name": "Job counts per status", "desc": "Indicates total jobs per job status." } } |