rateLimit
Controls the rate of traffic.
directive @rateLimit(
duration: Int! = 60
limit: Int! = 60
) on FIELD_DEFINITION | OBJECT
Arguments
rateLimit.duration ● Int! non-null scalar
Number of seconds before limit is reset.
rateLimit.limit ● Int! non-null scalar
Number of occurrences allowed over duration.