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.)

1 Risposta
0
Risposta accettata

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

ESPERTO
con risposta 4 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande