oncall-engine/engine/apps/public_api/serializers
Joey Orlando deb6a45588
chore: convert two slack channel ID char fields to foreign keys (#5224)
# What this PR does

Similar to https://github.com/grafana/oncall/pull/5199

Converts follow char fields to primary key relationships on
`SlackChannel` table:
- `ResolutionNoteSlackMessage.channel_id` ->
`ResolutionNoteSlackMessage.slack_channel`
- `ChannelFilter.slack_channel_id` -> `ChannelFilter.slack_channel`

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] 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-11-04 13:34:06 -05:00
..
__init__.py Update alert groups public API filters support (#4832) 2024-08-15 19:58:25 +00:00
action.py Fix action/webhook API not accepting empty/null user (#3094) 2023-10-03 14:33:05 +00:00
alert_groups.py Add latest alert to public api alert groups endpoint (#5059) 2024-10-02 17:09:50 +00:00
alerts.py remove all references to deprecated AlertGroup.is_restricted field (#3228) 2023-10-31 20:10:45 +00:00
escalation.py add POST /escalation public API endpoint + add public API docs for teams/organization endpoints (#4815) 2024-08-15 18:31:35 +00:00
escalation_chains.py Minor optimizations for public API endpoints (#5172) 2024-10-11 19:39:39 +00:00
escalation_policies.py Allow more escalation step wait times over public api (#5201) 2024-10-23 18:19:01 +00:00
integrations.py Minor optimizations for public API endpoints (#5172) 2024-10-11 19:39:39 +00:00
integtration_heartbeat.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
maintenance.py add mypy static type checker to backend codebase (#2151) 2023-06-12 12:50:33 -04:00
on_call_shifts.py Minor optimizations for public API endpoints (#5172) 2024-10-11 19:39:39 +00:00
organizations.py remove organization maintenance mode + fix integration maintenance mode (#2511) 2023-07-12 16:41:44 -04:00
personal_notification_rules.py Fix duplicate orders on routes and escalation policies (#2568) 2023-07-18 17:17:53 +00:00
resolution_notes.py Allow OnCall API to use Grafana Service Accounts (#3189) 2023-11-23 16:42:27 +00:00
routes.py chore: convert two slack channel ID char fields to foreign keys (#5224) 2024-11-04 13:34:06 -05:00
schedules_base.py Undo schedules using ical cached final data (#5182) 2024-10-16 13:01:21 +00:00
schedules_calendar.py Add schedules enable_web_overrides option to public API (#3062) 2023-09-26 14:04:53 -03:00
schedules_ical.py Update ical schedule creation/update to trigger final schedule refresh (#3156) 2023-10-18 16:41:25 +00:00
schedules_polymorphic.py Initial web schedule model and serializers. Add override shift type. 2022-07-05 12:41:55 -03:00
schedules_web.py Minor optimizations for public API endpoints (#5172) 2024-10-11 19:39:39 +00:00
slack_channel.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
teams.py feat: add Grafana IDs to users and teams public API endpoints (#5075) 2024-09-24 19:16:22 +00:00
user_groups.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
users.py feat: add Grafana IDs to users and teams public API endpoints (#5075) 2024-09-24 19:16:22 +00:00
webhooks.py Minor optimizations for public API endpoints (#5172) 2024-10-11 19:39:39 +00:00