rsdevigo / jungle

A GUI for Kong Admin API - http://getkong.org/
Apache License 2.0
125 stars 27 forks source link

ratelimiting plugin API changed? #15

Open bcollard opened 9 years ago

bcollard commented 9 years ago

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.

ajayk commented 8 years ago

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

jeevaengg21 commented 8 years ago

ratelimiting

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

omarsmak commented 8 years ago

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"