1. Fetch the newest page and save its cursor
GET /project_events returns events newest first. Process the events and save
page_info.start_cursor, which points at the newest event you have seen.
2. Ask for events newer than your cursor
Pass the saved cursor asbefore. The response holds the events immediately newer than it,
newest first. Process them, save the new page_info.start_cursor, and repeat while
page_info.has_previous_page is true.
start_cursor is null. Keep your saved
cursor and try again later.
3. Leave a minute of overlap
An event can appear in the list shortly after events created later than it. If your cursor has already moved past it,before will never return it. To avoid that, make each request with a
cursor you saved at least a minute ago instead of your newest one, and skip events whose id you
have already processed. Webhook deliveries can repeat events too, so the same check covers both.