• 0
jasbro

API Get Service Data sorting an row limits

Question

Does anyone know if there is a request parameter that I can add to get all available rows of data?  Also, is there a request param to sort the data by timestamp?  By default, it comes sorted newest to oldest.  I'd really like all data for an entire month, sorted oldest to newest, but I'm having to request half a day at a time and sort myself...I am hoping to avoid that being a long-term solution.  

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

If you're using our REST API to get data, the response is limited to 500 data values.  So you can specify start and end times (in epoch format) to get data, but you'll likely need a script that iterates through start/end values to get data for a month.  There isn't a parameter that will sort data oldest to newest at this time.  We'll look into adding such a parameter as an improvement, but we'll also keep this use case in mind for our SDK, which is currently in development.  

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.