This archive is retained to ensure existing URLs remain functional. It will not contain any emails sent to this mailing list after July 1, 2024. For all messages, including those sent before and after this date, please visit the new location of the archive at https://mailman.ripe.net/archives/list/[email protected]/
[atlas] API filtering for looking at measurements?
- Previous message (by thread): [atlas] API filtering for looking at measurements?
- Next message (by thread): [atlas] API filtering for looking at measurements?
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jasper den Hertog
jdenhertog at ripe.net
Mon Apr 18 09:18:49 CEST 2016
Baptiste, > On 15 Apr 2016, at 18:11, Baptiste Jonglez <bjonglez at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: </ripe/mail/archives/ripe-atlas/attachments/20160418/e679187a/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2619 bytes Desc: not available URL: </ripe/mail/archives/ripe-atlas/attachments/20160418/e679187a/attachment.p7s>
- Previous message (by thread): [atlas] API filtering for looking at measurements?
- Next message (by thread): [atlas] API filtering for looking at measurements?
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]