Closed dstotijn closed 4 years ago
The since should not operate on intervalnumber but on submission date. Consider this scenario:
1) On may 1st Alice retrieves keys up until may first. 2) Bob gets infected on may the second and uploads the last 14 days of keys. 3) if Alice now does ?since=20200501 she will miss keys from the period where bob was infected. She needs to be able to match retroactively with bobs history.
Yes correct, I should update the description of this issue: I've created a created_at
column for this purpose already. Thanks for bringing it up 🙂
Add
since
query parameter tolistDiagnosisKeys
endpoint to allow offsetting the Diagnosis Keys from the database bycreated_at
to minimize data sent over the wire.created_at
column.since
search support indiag
,api
andpostgres
packages.