I have small sites with a single 8 port switch to large sites with up to 15 switches of various sizes. Is there a way to pull just the last 24 hours of events from each switch on a site?
Seems like the "total_page" and "perPage" overrule the "endingBefore" or "startingAfter" options.
If I set "total_page" and "perPage" both to 10, I get 100 returns regardless of the "endingBefore" or "startingAfter" options.
If I use "endingBefore" or "startingAfter" options and leave out the "total_page" and "perPage" options, I get up to the default 30 returns.
You can not use "endingBefore" and "startingAfter" options together. If you could that would be great.
Also, I have "excludedEventTypes=[ "port_status"] to reduce the events returned.