-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Hello,
I am trying to retrieve statements incrementally.
In the first request our data analysis service gets ALL the records. After that I would like to be able to retrieve only the newest records that arrived since the last retrieval. I construct the URL in the following way :
statements?limit=50&from=279e08f4-9ced-4dd9-a101-18c261bdadc2
where the UUID belongs to the record that has the timestamp that is the one before the newest (so I expect to GET only 1 record). But I again GET 50 records instead of just 1.
I then used the since parameter
https://.../xapi/statements?limit=50&from=2024-03-08T13:47:39+00:00
where the timestamp used is the one before the newest.
This gives me http 500 Error.
Where am I doing wrong? how do I achieve incremental retrievals with only the newest records?
thanks