Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ratelimiting plugin API changed? #15

Open
bcollard opened this issue Sep 2, 2015 · 3 comments
Open

ratelimiting plugin API changed? #15

bcollard opened this issue Sep 2, 2015 · 3 comments

Comments

@bcollard
Copy link

bcollard commented Sep 2, 2015

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
Copy link
Collaborator

ajayk commented Oct 1, 2015

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

@jeevaengg21
Copy link

ratelimiting

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

@omarsmak
Copy link

omarsmak commented Mar 3, 2016

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants