Skip to content

Latest commit

 

History

History
65 lines (44 loc) · 1.18 KB

README.adoc

File metadata and controls

65 lines (44 loc) · 1.18 KB

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