@@ -2962,7 +2962,7 @@ components:
29622962 data_source:
29632963 $ref: '#/components/schemas/FormulaAndFunctionEventsDataSource'
29642964 group_by:
2965- $ref: '#/components/schemas/FormulaAndFunctionEventQueryGroupByConfig '
2965+ $ref: '#/components/schemas/FormulaAndFunctionEventQueryGroupBy '
29662966 indexes:
29672967 description: An array of index names to query in the stream. Omit or use
29682968 `[]` to query all indexes at once.
@@ -3018,6 +3018,12 @@ components:
30183018 - query
30193019 type: object
30203020 FormulaAndFunctionEventQueryGroupBy:
3021+ description: Group by configuration for a formula and functions events query.
3022+ Can be a list of facet objects or a flat object with a list of fields.
3023+ oneOf:
3024+ - $ref: '#/components/schemas/FormulaAndFunctionEventQueryGroupByFacetList'
3025+ - $ref: '#/components/schemas/FormulaAndFunctionEventQueryGroupByFields'
3026+ FormulaAndFunctionEventQueryGroupByFacet:
30213027 description: List of objects used to group by.
30223028 properties:
30233029 facet:
@@ -3034,12 +3040,11 @@ components:
30343040 required:
30353041 - facet
30363042 type: object
3037- FormulaAndFunctionEventQueryGroupByConfig:
3038- description: Group by configuration for a formula and functions events query.
3039- Can be a list of facet objects or a flat object with a list of fields.
3040- oneOf:
3041- - $ref: '#/components/schemas/FormulaAndFunctionEventQueryGroupByList'
3042- - $ref: '#/components/schemas/FormulaAndFunctionEventQueryGroupByFields'
3043+ FormulaAndFunctionEventQueryGroupByFacetList:
3044+ description: List of objects used to group by.
3045+ items:
3046+ $ref: '#/components/schemas/FormulaAndFunctionEventQueryGroupByFacet'
3047+ type: array
30433048 FormulaAndFunctionEventQueryGroupByFields:
30443049 description: Flat group by using multiple event facets.
30453050 properties:
@@ -3062,11 +3067,6 @@ components:
30623067 required:
30633068 - fields
30643069 type: object
3065- FormulaAndFunctionEventQueryGroupByList:
3066- description: List of objects used to group by.
3067- items:
3068- $ref: '#/components/schemas/FormulaAndFunctionEventQueryGroupBy'
3069- type: array
30703070 FormulaAndFunctionEventQueryGroupBySort:
30713071 description: Options for sorting group by results.
30723072 properties:
0 commit comments