google drive sdk - largestChangeId smaller than the last item's id? -


i moved 3 files in drive trash. retrieved changes changes: list api (https://developers.google.com/drive/v2/reference/changes/list). returned 3 changes, ids 11607, 11608 , 11609. however, largestchangeid field 11608. when made api request again startchangeid: 11608, returned 2 last changes. when made api request startchangeid: 11609, returned no result.

is expected? or relying on change ids in such way not right?

in case, looks you're exposed bug. i'm adding details of changes list , how should work in normal circumstances. let's assume latest change id 11606 , made 3 trashing operations.

get changes?startchangeid=11607 should list:

  • 11607
  • 11608
  • 11609

and next time requesting changes.list, should increment latest latestchangeid 1.

in case need request following on next poll.

get changes?startchangeid=11610 , returning empty list.


Comments