Skip to content

Watch.rotated

Emitted each time a Watch is rotated.

Watch.rotate emits Watch.rotated when it completes on a Watch.

PropertyValue
Emitted byWatch.rotate
NounWatch
WakesNone.

Payload

Each delivery is an Event record. data holds what Watch.rotate returns.

FieldTypeRequiredDescription
namestringrequiredWatch.rotated.
atdatetimerequiredWhen it happened.
seqintegerIts position in the namespace, one more than the Event before; any seq is a cursor into the history.
datajsonrequiredThe Thing as the Action left it.
data.watchWatchrequiredThe Watch, signing with both secrets.
data.watch.selectorstringrequiredThe Event selector, such as Order.placed.
data.watch.urlurlrequiredWhere deliveries go.
data.watch.payloadstringOne of full, or thin: the record as the Action left it, or only its versioned address. The default is full.

Example

JSON
{
  "$id": "https://api.sb/patentpad.com/events/event_1",
  "$type": "Event",
  "name": "Watch.rotated",
  "at": "2026-10-22T12:00:00Z",
  "data": {
    "watch": {
      "$id": "https://api.sb/patentpad.com/watches/watch_1",
      "$type": "Watch",
      "selector": "Example selector",
      "url": "https://patentpad.com",
      "payload": "full"
    }
  },
  "seq": 1
}