Skip to content

Commit 96a90c2

Browse files
Rate Limiting
1 parent 333c7aa commit 96a90c2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ You can obfuscate passwords in the props file the same way as for jetty:
415415
* db.url=OBF:fdsafdsakwaetcetcetc
416416

417417
## Rate Limiting
418-
We support rate limiting i.e functionality to limit calls per consumer key (App).
418+
We support rate limiting i.e functionality to limit calls per consumer key (App). Only `New Style Endpoins` support it. The list of they can be found at this fie: https://github.com/OpenBankProject/OBP-API/blob/develop/src/main/scala/code/api/util/NewStyle.scala.
419419
It is assumed that you have a Redis instance if you wan to use the functionality. In order to make it work edit your props file in next way:
420420
```
421421
use_consumer_limits=false, In case isn't defined default value is "false"
@@ -429,7 +429,6 @@ Next types are supported:
429429
3. per day
430430
4. per week
431431
5. per month
432-
6. per year
433432
```
434433
If you exced rate limit per minute for instance you will get the response:
435434
```json

0 commit comments

Comments
 (0)