Baptiste,
On 15 Apr 2016, at 18:11, Baptiste Jonglez <bjonglez@illyse.org> wrote:
Hi,
I would like to find measurements matching some specific conditions, so I tried to use the measurement API documented here:
https://atlas.ripe.net/docs/rest/
However, filters don't seem to have the intended effect. For instance, I tried to restrict to a specific range of starting time:
https://atlas.ripe.net/api/v1/measurement/?start_time__gte=1443654000&start_time_lte=1446336000 There is small type in your start_time__lte query-parameter. It should have double underscores between `start_time` and `lte`. It will work then
but looking at the first result (measurement ID 1411440), its start time is 1564618500, which is way outside of the requested range.
Similarly when filtering by type:
https://atlas.ripe.net/api/v1/measurement/?type=2 type should be the name of the type as a string `?type=tracertoue`
Also, I would like to advise you to use the v2 API from now on, we’re going to deprecate v1. There is a manual for V2 at https://atlas.ripe.net/docs/api/v2/tutorial/ <https://atlas.ripe.net/docs/api/v2/tutorial/> and there is reference documentation at https://atlas.ripe.net/docs/api/v2/reference/ <https://atlas.ripe.net/docs/api/v2/reference/>. This is till in beta, url’s for the documentation will change but it will be available then be linked from https://atlas.ripe.net/docs/ <https://atlas.ripe.net/docs/> greetings, Jasper den Hertog