Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement API endpoints for returning top level measurement metadata #341

Closed
hellais opened this issue Feb 18, 2020 · 4 comments
Closed
Assignees
Labels
discuss invites discussion from contributors ooni/api Issues related to https://github.com/ooni/api priority/medium

Comments

@hellais
Copy link
Member

hellais commented Feb 18, 2020

We would like to have an API endpoint for use by Explorer and Probe which takes as arguments an identifier of a measurements (report_id, input currently) and returns all the data needed to render the top level view.

This is for example in the case of a websites test:

{
"probe_asn": "AS1234",
"network_name": "Fidget Unlimited",
"probe_cc": "IT",
"test_name": "web_connectivity",
"measurement_start_time": "XXX",
"anomaly": true,
"confirmed": true,
"report_id": "XXX",
"input": "https://twitter.com",
"category_code": "SOCIAL",
"scores": {},
"analysis": {
   "blocking": "http-diff",
},
"failure": "",
"test_runtime": 2,
}

We should think about how to define the analysis key.

@sarathms
Copy link
Contributor

sarathms commented Jul 7, 2020

I think it is useful to have some more data like:

* url to fetch raw measurement
* software version
* platform
* mk version

@FedericoCeratto
Copy link
Contributor

ooni/api#166

@bassosimone
Copy link
Member

This work is currently being worked on along with ooni/api#192.

@hellais
Copy link
Member Author

hellais commented Nov 9, 2020

Looks like this is done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss invites discussion from contributors ooni/api Issues related to https://github.com/ooni/api priority/medium
Projects
None yet
Development

No branches or pull requests

4 participants