[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs