Closed fortuna closed 1 year ago
I'd like to analyze a country, but restrict to a fixed set of domains, and only for some ASes (the top ones). Existing options are bad:
The domain SQL filter can be easily changes to a IN operator here: https://github.com/ooni/api/blob/8aa24669cc0e5aae3b31bd35a2b371ef11a97f77/newapi/ooniapi/measurements.py#L825
domain
IN
Same for the probe_asn filter at https://github.com/ooni/api/blob/8aa24669cc0e5aae3b31bd35a2b371ef11a97f77/newapi/ooniapi/measurements.py#L777
probe_asn
Thanks for requesting this, it is indeed a much needed feature!
Closing this in favour of the existing issue: https://github.com/ooni/backend/issues/584
I'd like to analyze a country, but restrict to a fixed set of domains, and only for some ASes (the top ones). Existing options are bad:
The
domain
SQL filter can be easily changes to aIN
operator here: https://github.com/ooni/api/blob/8aa24669cc0e5aae3b31bd35a2b371ef11a97f77/newapi/ooniapi/measurements.py#L825Same for the
probe_asn
filter at https://github.com/ooni/api/blob/8aa24669cc0e5aae3b31bd35a2b371ef11a97f77/newapi/ooniapi/measurements.py#L777