Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Rate limiting for an individual collection or endpoint

default discord avatar
\ ឵឵឵2 years ago
1

Wondering if there's a succinct way or a plan to put rate limits on operations to individual collections or endpoints. Right now doing this:


const limiter = rateLimit({...})
app.use("/some/special/endpoints", limiter)
  • discord user avatar
    denolfe
    2 years ago

    Current rate limiting is for all endpoints, and there is not a way to specify different values per collection. You're the first that has mentioned this. What's the use-case for the endpoint?

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.