Skip to content

KelkooGroup/gravitee-policy-ratelimit

 
 

Repository files navigation

RateLimit Policy

Build status Gitter

Scope

onRequest onResponse

Description

Todo

Configuration

You can configure the policy with the following options :

Property Required Description Type Default

Todo

Todo

Todo

Todo

todo

Sample
"rate-limit": {
  "todo": true
}

Errors

If you’re looking to override the default response provided by the policy, you can do it thanks to the response templates feature. These templates must be define at the API level (see Response Templates from the Proxy menu).

Here are the error keys send by this policy:

Key Parameters

RATE_LIMIT_TOO_MANY_REQUESTS

limit - period_time - period_unit

QUOTA_TOO_MANY_REQUESTS

limit - period_time - period_unit

Packages

No packages published

Languages

  • Java 100.0%