CPC G06F 11/1448 (2013.01) [G06F 9/547 (2013.01); G06F 2201/805 (2013.01)] | 20 Claims |
1. An apparatus, comprising:
at least one memory;
a component collection stored in the at least one memory, the component collection comprising a component collection storage; and
at least one processor disposed in communication with the at least one memory, the at least one processor executing processor-executable instructions from the component collection, the component collection storage structured with processor-executable instructions, comprising:
obtain, via the at least one processor, an API call permission request datastructure associated with an API call of an application, in which the API call permission request datastructure is structured to identify an API and a set of scopes;
determine, via the at least one processor, a retry-after interval for each scope in the set of scopes, in which existence of a retry-after interval for a scope indicates that the API previously returned a throttled response for the respective scope;
determine, via the at least one processor, a wait duration associated with the API call, in which the wait duration is determined as a maximum retry-after interval across retry-after intervals that exist for any scope in the set of scopes;
provide, via the at least one processor, an API call permission response datastructure, in which the API call permission response datastructure is structured to specify the wait duration; and
in response to the wait duration being specified, prevent one or more clients of the API from making API call permission requests until the wait duration has passed.
|