Grouping
Grouping
By default, the entries in each response are grouped by all the entity's supported fields.
However, all requests support the groupBy
query parameter, which allows you to modify this behavior.
Syntax
?groupBy=<str>
Supported values
You can use any field or calculation that is supported by the entity.
Grouping by multiple fields
To group by multiple fields, you can repeat the groupBy
query parameter multiple times.
Examples
Query parameters | Meaning |
---|---|
? (empty) | Default, group by all the entity's fields. |
?groupBy=foo | Group by the foo field. |
?groupBy=foo&groupBy=bar | Group by both the foo and bar fields. |
Updated almost 2 years ago