You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the privacy_experience_list endpoint does not support filtering when we only pass in country into the region param (e.g. region=eu). This is because the PrivacyNoticeRegion enum always includes country + region.
We'll need to ensure that we can filter by just country code in a way that guarantees we only retrieve 1 matching experience for the given country + component + display mechanism.
eastandwestwind
changed the title
Privacy experience list should support filtering for country code
Privacy experience list API should support filtering for country code
May 13, 2023
PrivacyExperienceBase.get_related_privacy_notices would need to be updated here - an update to the SQLAlchemy query.
More product input needed here though:
We'll need to ensure that we can filter by just country code in a way that guarantees we only retrieve 1 matching experience for the given country + component + display mechanism.
Currently the
privacy_experience_list
endpoint does not support filtering when we only pass in country into theregion
param (e.g. region=eu
). This is because thePrivacyNoticeRegion
enum always includes country + region.We'll need to ensure that we can filter by just country code in a way that guarantees we only retrieve 1 matching experience for the given country + component + display mechanism.
Originally posted by @eastandwestwind in #3191 (comment)
The text was updated successfully, but these errors were encountered: