LegacyStateChangeMatch¶
| Field | Type | Description |
|---|---|---|
| from | Match conditions for the previous state. Leave empty to only match on the new value. | |
| to | Match conditions for the updated state. Leave empty to only match on the old value. | |
| scope | bitdrift.public.unary.explorations.v1.StateScope | The scope of the state value being observed. |
| key | string | The key of the state value within the given scope. |
Example¶
JSON
{
"from": {
"match_type": "STRING",
"operator": "GREATER_THAN",
"value": "example"
},
"key": "example-key",
"scope": "GLOBAL_STATE",
"to": {
"match_type": "STRING",
"operator": "GREATER_THAN",
"value": "example"
}
}