This repository has been archived by the owner on May 16, 2023. It is now read-only.
Consider adding "/country/{{country}}" to submission endpoint #139
Labels
enhancement
New feature or request
Current Implementation
Submission endpoint is
/version/{{version}}/diagnosis-keys
Suggested Enhancement
Change submission endpoint to
/version/{{version}}/diagnosis-keys/country/{{country}}
.Expected Benefits
At the moment we can not be 100% certain that we will never have to submit diagnosis keys to other countries. However, if we ever get that requirement, and needed to introduce a country differentiating parameter, this would be a breaking change and would force us to bump the overall API version. With the proposed change (and an initial implementation for only
/version/v1/diagnosis-keys/country/DE
), this issue can already be avoided. Also, the proposed change would align the submission and distribution APIs.The text was updated successfully, but these errors were encountered: