<div dir="ltr">Hi Daniel,<div><br></div><div>Thank you for the clarification regarding the use_iso_time and format parameters. I tested out the metadata UNIX timestamp filtering and everything looks good to me. Very nice of you to implement that so quickly!</div>
<div><br></div><div>Cheers,</div><div>Matt</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 15, 2014 at 5:00 AM, Daniel Quinn <span dir="ltr"><<a href="mailto:dquinn@ripe.net" target="_blank">dquinn@ripe.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think that there might be some confusion here as to the use of the<br>
`use_iso_time` and `format` parameters, so I'd like to clear those up<br>
now. I've also patched the code to do what you need though, but one<br>
thing at a time.<br>
<br>
The `use_iso_time` flag *only changes the response* to use ISO<br>
timestamps rather than UNIX timestamps (the default). Additionally, as<br>
UNIX timestamps are the default, setting `use_iso_time=false` does<br>
nothing for you here.<br>
<br>
The `format` parameter is only useful for when you're fetching<br>
measurement results and not when you're requesting measurement<br>
metadata. The `=txt` stuff is a hack we built on top of standard REST<br>
practises in deference to the fact that result datasets can be very big<br>
and near impossible to parse as single JSON units. For all of the<br>
other calls, the API follows the same path as you'll see with other<br>
REST environments: JSON and XML. You can access these formats by using<br>
`format=json` and `format=xml` respectively.<br>
<br>
As for actually filtering your metadata by `start_time` and `stop_time`<br>
using UNIX timestamps instead of ISO ones, this was a limitation of the<br>
framework we're using. I've since burned a couple hours today<br>
overriding the default behaviour to allow for using *either* a UNIX<br>
timestamp or an ISO one. Go ahead and give it a spin. Let me know if<br>
it works as expected.<br>
</blockquote></div><br></div>