oncall-engine/engine/common/api_helpers
Ildar Iskhakov c718863bd8
Add custom ratelimits per org (#5004)
# What this PR does

This PR refactors Throttling for public API and integrations API and
allows to specify organization ratelimits.


## Which issue(s) this PR closes

Related to [issue link here]

<!--
*Note*: If you want the issue to be auto-closed once the PR is merged,
change "Related to" to "Closes" in the line above.
If you have more than one GitHub issue that this PR closes, be sure to
preface
each issue link with a [closing
keyword](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests#linking-a-pull-request-to-an-issue).
This ensures that the issue(s) are auto-closed once the PR has been
merged.
-->

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [ ] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
2024-09-17 23:16:41 +00:00
..
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
custom_fields.py Allow custom wait delay (#4446) 2024-06-03 13:06:47 +00:00
custom_rate_scoped_throttler.py Add custom ratelimits per org (#5004) 2024-09-17 23:16:41 +00:00
custom_ratelimit.py Add custom ratelimits per org (#5004) 2024-09-17 23:16:41 +00:00
errors.py Rework organization sync and grafana plugin engine backend (#4756) 2024-07-31 16:12:56 +00:00
exceptions.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
filters.py Update alert groups public API filters support (#4832) 2024-08-15 19:58:25 +00:00
mixins.py Remove unused const 2024-01-24 16:32:58 +08:00
optional_slash_router.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
paginators.py Fix pagination behavior when page # exceeds search results (#4817) 2024-08-19 13:59:01 +00:00
serializers.py Make viewset actions more consistent (#2120) 2023-06-07 12:10:53 +00:00
utils.py cleanup CustomButton backend code + add ngrok/express outgoing webhook e2e test (#2544) 2024-03-28 15:37:22 +00:00