Page 1 of 1

api?mode=history

Posted: July 31st, 2012, 3:30 pm
by exussum
Could we have a history option instead of start=0&limit=x to be startid=xxx&finishid=yyy

where the two ids are the numbers usually used in

<id>xxxx</id>

Would be quite useful, if either id are missed it becomes a before / after query ?

Thanks

Re: api?mode=history

Posted: July 31st, 2012, 4:49 pm
by shypike
Can you explain why this would be useful?

Re: api?mode=history

Posted: August 1st, 2012, 1:23 am
by exussum
with start / limit as it is now - i cant get the full list between two numbers (I can get a list between 0 and a difference of them numbers, Which is the same when no items are deleted).

There is one Email template set in to sab, But currently im sending emails to >1 user on different days at different times (differnt days being like 5 days between emails vs 7 days between emails etc) it works fine pretty much all of the time but if i delete an entry on the time the script ran eg if 777, then the next run is at 780 start =0&limit=3 will return 780,779,778,776 which i then have to parse each one looking for ID's rather than just regex match all on a certain string. also to me it makes sence using real numbers (like the id) rather than 0 each time.

Re: api?mode=history

Posted: August 1st, 2012, 9:19 am
by shypike
I'll put it on the list for 0.8.0