DP-3T / dp3t-sdk-backend

The backend implementation for DP3T
Mozilla Public License 2.0
199 stars 87 forks source link

Move debug endpoint to new filter logic #242

Open simonroesch opened 4 years ago

simonroesch commented 4 years ago

Currently the debug endpoint (/v1/debug/exposed) is returning a HTTP status code 500 when uploading 30 keys. The problem is that the keydate of the fake keys can be outside the retention period which is not accepted. It would be nice to move the debug endpoint also to the new/refactored filter logic. Here are the very highlevel requirements for the debug-endpoint:

Nice to have: If the same key is uploaded multiple times with different device names, it would be nice if it would also be returned multiple times in the download request. This might be practical if one would like to conduct multiple experiments without resetting the keys on the phone inbetween.