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

Setup API with same request_host and several request_path #1173

Closed
flowdopip opened this issue Apr 22, 2016 · 1 comment
Closed

Setup API with same request_host and several request_path #1173

flowdopip opened this issue Apr 22, 2016 · 1 comment

Comments

@flowdopip
Copy link

Hi,

I have an REST API and i want to set ratelimite per resource, like twitter does:

https://dev.twitter.com/rest/public/rate-limits

Furthermore in future i need to set this values by tenant! and my tenant identifier is on access token (JSON Web Tokens).

What is the best setup for this?

something like this

Tenant | Resource | Request (minute)
1 GET Product 15
1 GET Bag 50
2 GET Product 5
2 GET Bag 25

@subnetmarco
Copy link
Member

subnetmarco commented Apr 22, 2016

Related to the implementation of #369 and #505 - closing this as dup.

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

2 participants