Skip to content

provide event log for checkpoint devices

See Slack discussion.

Quick summary: from @aisrael : 2 hours ago

Yeah so was thinking we just turn it (or a new endpoint) into an event log. So,

timestamp_or_event_id control code status etc...
1 ABC12345 APPROVED ...

Then later

timestamp_or_event_id control code status etc...
10000001 ABC12345 REVOKED ...

All that’s important is:

  1. The timestamp or event_id be monotonically increasing (doesn’t even to be unique as in with timestamps, just that they never go ‘backward’), and
  2. Every record or event is ‘idempotent’. If there’s only “APPROVED” or “REJECTED” then that’s ok. Later maybe we can add “CORRECTED” or “UPDATED”
Edited by Tiongks