The most reliable method to process incidents from the events API is to use a pagination cursor from the after parameter. This method ensures that incidents aren't skipped or duplicated due to the lack of time stamp precision.
These are the general sequence of steps to follow when applying the after parameter:
Issue an initial request using the request parameters and
sincewith a value set to a date in the last 60 minutes.Retrieve the next page of incidents through the Link response header value within the
nextlink relationship.Issue the paginated request.
Pause and repeat step 2.
Note
If there is no
nextlink in the response header, you have received all incidents for the time period specified in the original request.