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 年前檢視次數 215 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南