# What this PR does Adds a `used` filter on schedules endpoint for internal API. Usage: - `?used=true` returns schedules that are referenced by at least one escalation policy - `?used=false` returns schedules that are NOT referenced - `?used=null` or not providing the query param at all will return all schedules ## Which issue(s) this PR fixes https://github.com/grafana/oncall/issues/1423 ## Checklist - [x] Tests updated |
||
|---|---|---|
| .. | ||
| permissions | ||
| serializers | ||
| tests | ||
| throttlers | ||
| views | ||
| __init__.py | ||
| response_renderers.py | ||
| urls.py | ||