[API Suggestion] Event API Changes

[API Suggestion] Event API Changes

in API Development

Posted by: datinc.7584

datinc.7584

For API /v1/events.json it would be nice if event_id could accept a list of event ids.

[API Suggestion] Event API Changes

in API Development

Posted by: Healix.5819

Healix.5819

It’s too bad they don’t support something like event_ids=1,2,3 like the TP does.

I went with the many small requests approach on a variable delay to track 34 events on 51 servers. Currently, I’m doing this at around 1300 requests per minute at a rate of 9 KB/s including headers. If I don’t factor in the headers, it drops to 3 KB/s.

For comparison, requesting the entire server at once would be 230 KB/s, assuming a 45 KB zipped response per server on average, and all servers at once would be 100 KB/s, assuming a 1 MB zipped response on average.