jungle icon indicating copy to clipboard operation
jungle copied to clipboard

ratelimiting plugin API changed?

Open bcollard opened this issue 9 years ago • 3 comments

It looks like the body for adding values to ratemimiting plugin has changed. Jungle posts this: value: {limit: 10000, period: "day"}

This API waits for data like this: "value": {"day": 1000} See https://getkong.org/plugins/rate-limiting/

I have no skills with angular.js, tell me if I can help someway.

bcollard avatar Sep 02 '15 14:09 bcollard

@pileenretard Thanks for the report , we re migrating to plugin based ui generator further on you will not have issues regarding the plugins

ajayk avatar Oct 01 '15 01:10 ajayk

ratelimiting

Still facing problem with adding ratelimiting plugin to api, its dislaying [object Object] while perform add plugin

jeevaengg21 avatar Feb 26 '16 04:02 jeevaengg21

I guess the request body has changed: curl -X POST http://kong:8001/apis/{api}/plugins \ --data "name=rate-limiting" \ --data "config.second=5" \ --data "config.hour=10000"

Currently in Jungle is: api_id: "<id>" limit: 10 name: "ratelimiting" period: "minute"

omarsmak avatar Mar 03 '16 12:03 omarsmak