On 1/24/25 2:14 AM, Ahmed Albialy wrote:
> Thanks Dan. I’m already using versioning for updates which works great. Although I wasn’t sure about first sync when ‘since=0’ does the json response include every items’s child? As couldn’t see this and had to go through them individually for that first time sync.
I'm not sure what you mean by "had to go through them individually". The
syncing process we've documented makes a /top request first to populate
the items list quickly for the user and avoid downloading child items
before top-level items.
But there can be various cases where a collection or item has a
dependency that isn't yet fulfilled (parent/child collection,
parent/child item, related item), so that's something any syncing client
needs to deal with. But that's more about
storing/skipping/retrying/resolving — it doesn't change the basic sync
process.