api?mode=history

Want something added? Ask for it here.
Post Reply
exussum
Jr. Member
Jr. Member
Posts: 79
Joined: November 18th, 2010, 2:51 am

api?mode=history

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: api?mode=history

Post by shypike »

Can you explain why this would be useful?
exussum
Jr. Member
Jr. Member
Posts: 79
Joined: November 18th, 2010, 2:51 am

Re: api?mode=history

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: api?mode=history

Post by shypike »

I'll put it on the list for 0.8.0
Post Reply