[tor-bugs] #15324 [Ooni]: Document the API to access the reports stored on the OONI pipeline

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jun 14 11:01:49 UTC 2015


#15324: Document the API to access the reports stored on the OONI pipeline
-----------------------------+---------------------
     Reporter:  hellais      |      Owner:  hellais
         Type:  enhancement  |     Status:  new
     Priority:  normal       |  Milestone:
    Component:  Ooni         |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+---------------------

Comment (by hellais):

 This query will give you all the reports collected ever (sorted by date):

 http://api.ooni.io/api/reports/headers?fields=probe_cc&fields=start_time&fields=test_name&fields=probe_asn&fields=report_id&limit=0

 You can then filter in your client for the date range you are interested
 in.

 To add support for filtering by date you should look at this code and
 perhaps add an extra argument called `date_interval`:
 https://github.com/TheTorProject/ooni-
 api/blob/master/common/models/report.js

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15324#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list