Skip to content
View as Markdown

LegacyStateChangeMatch

Field Type Description
from bitdrift.public.unary.explorations.v1.StateCondition Match conditions for the previous state. Leave empty to only match on the new value.
to bitdrift.public.unary.explorations.v1.StateCondition 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"
  }
}