This backend is used by the apps to get their config every 6h. It is used by the Swiss Government to update the epidemiological parameters if needed.
The following endpoints are available:
/v1
- returnsHello from DP3T Config WS
/v1/config
- returns aConfigResponse
with the following structure and default values:InfoBoxCollection
- empty by defaultdeInfoBox
InfoBox
title
String
msg
String
url
String
urlTitle
String
isDismissible = false
frInfoBox
InfoBox
itInfoBox
InfoBox
enInfoBox
InfoBox
ptInfoBox
InfoBox
esInfoBox
InfoBox
sqInfoBox
InfoBox
bsInfoBox
InfoBox
hrInfoBox
InfoBox
srInfoBox
InfoBox
rmInfoBox
InfoBox
SDKConfig
- will soon be removed (30/7/2020)numberOfWindowsForExposure = 3
- @Deprecated
eventThreshold = 0.8f
- @Deprecated
badAttenuationThreshold = 73.0f
contactAttenuationThreshold = 73.0f
- iOSGaenSdkConfig
GAENSDKConfig
lowerThreshold = 53
higherThreshold = 60
factorLow = 1.0d
factorHigh = 0.5d
triggerThreshold = 15
- androidGaenSdkConfig
GAENSDKConfig
/v1/testinfobox/config
- returns aConfigResponse
with only theSDKConfig
set to a static message
The call to /v1/config
does the following special actions:
If iOS == 13.6
: warn that the German 'no risk' message is misleadingIf App == Testflight
: warn that the app should be updated to the official app-store appIf App == Initial iOS test app
: setfactorHigh
=0
to avoid errors