Retrieving All Event Data for a Single Device

A common use case when debugging is trying to find all the events generated by a single device. You might do this when you are debugging and the CTC admin interface does not allow you to display historic events that are more than a week old.

One option is to simply download the latest device events using the GET /events/device/{id}/latest endpoint. You can specify the max number of events, or you can use the paged interface to download data up to 500 events at a time.

A second option is to use GET /events/device/{id}. This endpoint can display data captured during a date range provided as request parameters. This also supports the paged interface to enable downloading large numbers of events when required.