core icon indicating copy to clipboard operation
core copied to clipboard

Rate Limiting

Open KDederichs opened this issue 3 years ago • 0 comments

Description
Now that we are doing 3.0 it would be an excellent time to introduce rate limiting to Api Platform (using the Symfony rate limiter)

Example
For syntax I'd suggest something like this:

#[Get(
   ratelimit: 'LIMITER_NAME'
)]

I'd assume with the Metadata system that shouldn't be too hard to integrate

KDederichs avatar Aug 08 '22 13:08 KDederichs