About the flow restriction of multiple APIs associated with an usage plan

0

Please tell me about the behavior of the request flow restriction set in the usage plan.
When multiple APIs are associated with one usage plan, which of the following behaviors does the flow restriction set in the usage plan have?
①: The flow rate is restricted for each API. (When requesting multiple APIs, even if one API causes an excessive request error, the other API does not cause an excessive request error.)
②: The flow rate is restricted for the total number of requests to each API. (When requesting multiple APIs, if one API causes an excessive request error, the other API will also cause an excessive request error.)

akazaki
已提问 4 年前216 查看次数
1 回答
0
已接受的回答

Hello:

The usage plan limit is applied per API key and is global to all APIs that have that plan associated, so #2 in your posted scenarios. If you want to assert different limits per API, you would associate different usage plans per API and/or set method level throttling inside the plan. Though note that if you set method level throttling inside the plan, that doesn't change the fact that the overall usage plan limit is still global to that key.

Regards,
Bob

专家
已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则