Reputation: 6292
I have spotted an strange behavior when getting events from Box using the BOX API v2.
The scenario I got is like follows:
I expect if no file events happens after step 1, all the consequent get events calls will return zero entries.
Is this a bug in Box.NET API V2?
Since I use API v1 and API v2 at the same time, are they compatible?
Upvotes: 2
Views: 520
Reputation: 2599
This isn't a bug. The files you uploaded at step 1 simply were not replicated to the events system at the time of your #3 call. They made it there by #4. There is an inherent delay between uploading your files and the events being published to the API. How quickly did you do this whole process?
Let us know if you have any additional questions about using the /events endpoint, or any of the other V2 API endpoints.
And to answer your second question, yes, the V1 and V2 apis are compatible to be used together. If you need some functionality from a V1 API, then you can intermingle V1 and V2 api calls.
Upvotes: 2