Operation Pattern Rule Annotations
Definition
Pattern Rules use hard delete and have no folder/sharing/versions-history concept, so only creation/update/last-matched timestamps are tracked here.
Timestamp when this Pattern Rule was created. Set by the server; read-only.
Timestamp of the last update to this Pattern Rule. Doubles as the optimistic-concurrency token (truncated to millisecond precision at write time): required on PUT for UI (Clerk session token) callers -- a missing or stale value there is rejected with 400 (SupersededVersion). Optional for machine-token/OAuth PUT callers, which skip the concurrency check entirely when it is omitted.
Read-only: a value supplied on write is always ignored, never rejected, so a normal GET -> edit spec -> PUT round trip doesn't need to strip it back out. Bumped to the current time by every successful PUT on this rule (an edit counts as "using" it), and separately by an out-of-band job based on real telemetry-matching activity, writing directly to the database -- the two sources are independent and can disagree. null on a freshly created rule that has neither been matched nor edited since.
Used by 1
These schemas and endpoints reference this type directly.