Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3362,8 +3362,10 @@ components:
example: level
type: string
value:
description: Constant value to use as the second operand in the filter expression.
This value is *required* when the relation operator is a binary operator.
description: "Constant value to use as the second operand in the filter\
\ expression. This value is *required* when the relation operator is a\
\ binary operator. For `in_array` and `not_in_array` relations, provide\
\ a comma-separated list of up to 20 values."
example: "10"
type: string
hours_ago:
Expand Down Expand Up @@ -3394,6 +3396,8 @@ components:
- not_exists
- time_elapsed_gt
- time_elapsed_lt
- in_array
- not_in_array
type: string
type: object
Operator:
Expand Down
2 changes: 1 addition & 1 deletion docs/Filter.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Field** | Pointer to **string** | Required. Name of the field to use as the first operand in the filter expression. | [optional]
**Key** | Pointer to **string** | If `field` is `tag`, this field is *required* to specify `key` inside the tags. | [optional]
**Value** | Pointer to **string** | Constant value to use as the second operand in the filter expression. This value is *required* when the relation operator is a binary operator. | [optional]
**Value** | Pointer to **string** | Constant value to use as the second operand in the filter expression. This value is *required* when the relation operator is a binary operator. For `in_array` and `not_in_array` relations, provide a comma-separated list of up to 20 values. | [optional]
**HoursAgo** | Pointer to **string** | If `field` is session-related, this is *required* to specify the number of hours before or after the user's session. | [optional]
**Radius** | Pointer to **float32** | If `field` is `location`, this will specify the radius in meters from a provided location point. Use with `lat` and `long`. | [optional]
**Lat** | Pointer to **float32** | If `field` is `location`, this is *required* to specify the user's latitude. | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/FilterExpression.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Field** | Pointer to **string** | Required. Name of the field to use as the first operand in the filter expression. | [optional]
**Key** | Pointer to **string** | If `field` is `tag`, this field is *required* to specify `key` inside the tags. | [optional]
**Value** | Pointer to **string** | Constant value to use as the second operand in the filter expression. This value is *required* when the relation operator is a binary operator. | [optional]
**Value** | Pointer to **string** | Constant value to use as the second operand in the filter expression. This value is *required* when the relation operator is a binary operator. For `in_array` and `not_in_array` relations, provide a comma-separated list of up to 20 values. | [optional]
**HoursAgo** | Pointer to **string** | If `field` is session-related, this is *required* to specify the number of hours before or after the user's session. | [optional]
**Radius** | Pointer to **float32** | If `field` is `location`, this will specify the radius in meters from a provided location point. Use with `lat` and `long`. | [optional]
**Lat** | Pointer to **float32** | If `field` is `location`, this is *required* to specify the user's latitude. | [optional]
Expand Down
2 changes: 1 addition & 1 deletion model_filter.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.