Restful API rate limit

Hi there,

I am using restful api to update rules at once (call multiple rules PUT rule/{ruleUID} at same time).
But I found that sometime some of requests in the same time slot cannot update the information of rule.

So I cannot call “update rule” more than one at same time?

This is an uncommon use case. I doubt it’s been thoroughly tested. You’ll want to turn way up the logging and verify that the requests are indeed being received and processed or being dropped or perhaps being received but overwritten because there isn’t a lock and transaction logic where it needs to be.

There is no defined rate limit and even if there were, it would log warnings about dropping a request.

Some of the API endpoints support JSON arrays create/modify/delete multiple entities in one request. That might address this.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.