Thinkering a bit with particle with a friend and have a device sending data to our server via webhooks. We started sending our own diagnostics too but found a lot of those are already on particle’s cloud end, so i thought that i can retrieve those instead.
Problem is that I don’t get why, when i call the API
https://api.particle.io/v1/products/xxxxx/diagnostics/xxxxxxxxx/last the data is never in sync, even hours later. My device last reported at 5:20AM (this is what I store in my db as creation time as well as the “published_at” that comes from the particle event) today and the cloud API returns me the latest as 1:20AM (updated_at).
Can someone tell me why this is? bug? am i looking at timezone difference?