Simone Basso
Simone Basso
Convering the PR to draft since the code that remains to be merged in this diff is still a bit of a draft.
Not really! (I have clarified the scope of the PR with a better title, BTW)
> So probe-cli is already able to upload measurements automatically during the scan process? Indeed. What is missing here is when you (1) opt-out of upload and then want to...
How important is this issue? I have tried to assign it a priority and struggled a bit, then settled for priority/medium (@agrabeli).
Xref: https://github.com/ooni/probe-cli/issues/37
Output from https://api.ooni.io/api/v1/measurements?test_name=dnscheck&since=2020-12-01&until=2020-12-15&limit=50: See more ```JSON { "metadata": { "count": -1, "current_page": 1, "limit": 50, "next_url": "https://ams-pg.ooni.org/api/v1/measurements?test_name=dnscheck&since=2020-12-01&until=2020-12-15&limit=50&offset=50", "offset": 0, "pages": -1, "query_time": 0.07490396499633789 }, "results": [ { "anomaly": false, "confirmed":...
Output of https://api.ooni.io/api/v1/measurements?test_name=dnscheck&since=2020-12-01&until=2020-12-16&limit=50: See more ```JSON { "metadata": { "count": 28, "current_page": 1, "limit": 50, "next_url": null, "offset": 0, "pages": 1, "query_time": 0.019548416137695312 }, "results": [ { "anomaly": false, "confirmed":...
Output of https://api.ooni.io/api/v1/measurements?test_name=dnscheck&since=2020-12-01&until=2020-12-17&limit=50: See more ```JSON { "metadata": { "count": 28, "current_page": 1, "limit": 50, "next_url": null, "offset": 0, "pages": 1, "query_time": 0.023523807525634766 }, "results": [ { "anomaly": false, "confirmed":...
We looked into this with @FedericoCeratto and he mentioned that it's likely the code that performs pagination in the API.
This issue has been fixed by https://github.com/ooni/api/pull/212. We should be merging this PR in this Sprint 32.