@@ -1643,47 +1643,47 @@ def create_group_urls(name_prefix: str) -> list[URLPattern | URLResolver]:
1643
1643
),
1644
1644
# Monitors
1645
1645
re_path (
1646
- r"^(?P<organization_slug >[^\/]+)/monitors/$" ,
1646
+ r"^(?P<organization_id_or_slug >[^\/]+)/monitors/$" ,
1647
1647
OrganizationMonitorIndexEndpoint .as_view (),
1648
1648
name = "sentry-api-0-organization-monitor-index" ,
1649
1649
),
1650
1650
re_path (
1651
- r"^(?P<organization_slug >[^\/]+)/monitors-stats/$" ,
1651
+ r"^(?P<organization_id_or_slug >[^\/]+)/monitors-stats/$" ,
1652
1652
OrganizationMonitorIndexStatsEndpoint .as_view (),
1653
1653
name = "sentry-api-0-organization-monitor-index-stats" ,
1654
1654
),
1655
1655
re_path (
1656
- r"^(?P<organization_slug >[^\/]+)/processing-errors/$" ,
1656
+ r"^(?P<organization_id_or_slug >[^\/]+)/processing-errors/$" ,
1657
1657
OrganizationMonitorProcessingErrorsIndexEndpoint .as_view (),
1658
1658
name = "sentry-api-0-organization-monitor-processing-errors-index" ,
1659
1659
),
1660
1660
re_path (
1661
- r"^(?P<organization_slug >[^\/]+)/monitors-schedule-data/$" ,
1661
+ r"^(?P<organization_id_or_slug >[^\/]+)/monitors-schedule-data/$" ,
1662
1662
OrganizationMonitorScheduleSampleDataEndpoint .as_view (),
1663
1663
name = "sentry-api-0-organization-monitors-schedule-sample-data" ,
1664
1664
),
1665
1665
re_path (
1666
- r"^(?P<organization_slug >[^\/]+)/monitors/(?P<monitor_id_or_slug>[^\/]+)/$" ,
1666
+ r"^(?P<organization_id_or_slug >[^\/]+)/monitors/(?P<monitor_id_or_slug>[^\/]+)/$" ,
1667
1667
OrganizationMonitorDetailsEndpoint .as_view (),
1668
1668
name = "sentry-api-0-organization-monitor-details" ,
1669
1669
),
1670
1670
re_path (
1671
- r"^(?P<organization_slug >[^\/]+)/monitors/(?P<monitor_id_or_slug>[^\/]+)/environments/(?P<environment>[^\/]+)$" ,
1671
+ r"^(?P<organization_id_or_slug >[^\/]+)/monitors/(?P<monitor_id_or_slug>[^\/]+)/environments/(?P<environment>[^\/]+)$" ,
1672
1672
OrganizationMonitorEnvironmentDetailsEndpoint .as_view (),
1673
1673
name = "sentry-api-0-organization-monitor-environment-details" ,
1674
1674
),
1675
1675
re_path (
1676
- r"^(?P<organization_slug >[^\/]+)/monitors/(?P<monitor_id_or_slug>[^\/]+)/stats/$" ,
1676
+ r"^(?P<organization_id_or_slug >[^\/]+)/monitors/(?P<monitor_id_or_slug>[^\/]+)/stats/$" ,
1677
1677
OrganizationMonitorStatsEndpoint .as_view (),
1678
1678
name = "sentry-api-0-organization-monitor-stats" ,
1679
1679
),
1680
1680
re_path (
1681
- r"^(?P<organization_slug >[^\/]+)/monitors/(?P<monitor_id_or_slug>[^\/]+)/checkins/$" ,
1681
+ r"^(?P<organization_id_or_slug >[^\/]+)/monitors/(?P<monitor_id_or_slug>[^\/]+)/checkins/$" ,
1682
1682
OrganizationMonitorCheckInIndexEndpoint .as_view (),
1683
1683
name = "sentry-api-0-organization-monitor-check-in-index" ,
1684
1684
),
1685
1685
re_path (
1686
- r"^(?P<organization_slug >[^\/]+)/monitors/(?P<monitor_id_or_slug>[^\/]+)/checkins/(?P<checkin_id>[^\/]+)/attachment/$" ,
1686
+ r"^(?P<organization_id_or_slug >[^\/]+)/monitors/(?P<monitor_id_or_slug>[^\/]+)/checkins/(?P<checkin_id>[^\/]+)/attachment/$" ,
1687
1687
method_dispatch (
1688
1688
GET = OrganizationMonitorCheckInAttachmentEndpoint .as_view (),
1689
1689
OPTIONS = OrganizationMonitorCheckInAttachmentEndpoint .as_view (),
@@ -2120,12 +2120,12 @@ def create_group_urls(name_prefix: str) -> list[URLPattern | URLResolver]:
2120
2120
),
2121
2121
# Unsubscribe from organization notifications
2122
2122
re_path (
2123
- r"^(?P<organization_slug >[^/]+)/unsubscribe/project/(?P<id>\d+)/$" ,
2123
+ r"^(?P<organization_id_or_slug >[^/]+)/unsubscribe/project/(?P<id>\d+)/$" ,
2124
2124
OrganizationUnsubscribeProject .as_view (),
2125
2125
name = "sentry-api-0-organization-unsubscribe-project" ,
2126
2126
),
2127
2127
re_path (
2128
- r"^(?P<organization_slug >[^/]+)/unsubscribe/issue/(?P<id>\d+)/$" ,
2128
+ r"^(?P<organization_id_or_slug >[^/]+)/unsubscribe/issue/(?P<id>\d+)/$" ,
2129
2129
OrganizationUnsubscribeIssue .as_view (),
2130
2130
name = "sentry-api-0-organization-unsubscribe-issue" ,
2131
2131
),
@@ -2743,22 +2743,22 @@ def create_group_urls(name_prefix: str) -> list[URLPattern | URLResolver]:
2743
2743
name = "sentry-api-0-project-statistical-detector" ,
2744
2744
),
2745
2745
re_path (
2746
- r"^(?P<organization_slug >[^\/]+)/(?P<project_id_or_slug>[^\/]+)/monitors/(?P<monitor_id_or_slug>[^\/]+)/checkins/(?P<checkin_id>[^\/]+)/attachment/$" ,
2746
+ r"^(?P<organization_id_or_slug >[^\/]+)/(?P<project_id_or_slug>[^\/]+)/monitors/(?P<monitor_id_or_slug>[^\/]+)/checkins/(?P<checkin_id>[^\/]+)/attachment/$" ,
2747
2747
ProjectMonitorCheckInAttachmentEndpoint .as_view (),
2748
2748
name = "sentry-api-0-project-monitor-check-in-attachment" ,
2749
2749
),
2750
2750
re_path (
2751
- r"^(?P<organization_slug >[^\/]+)/(?P<project_id_or_slug>[^\/]+)/monitors/(?P<monitor_id_or_slug>[^\/]+)/$" ,
2751
+ r"^(?P<organization_id_or_slug >[^\/]+)/(?P<project_id_or_slug>[^\/]+)/monitors/(?P<monitor_id_or_slug>[^\/]+)/$" ,
2752
2752
ProjectMonitorDetailsEndpoint .as_view (),
2753
2753
name = "sentry-api-0-project-monitor-details" ,
2754
2754
),
2755
2755
re_path (
2756
- r"^(?P<organization_slug >[^\/]+)/(?P<project_id_or_slug>[^\/]+)/monitors/(?P<monitor_id_or_slug>[^\/]+)/checkins/$" ,
2756
+ r"^(?P<organization_id_or_slug >[^\/]+)/(?P<project_id_or_slug>[^\/]+)/monitors/(?P<monitor_id_or_slug>[^\/]+)/checkins/$" ,
2757
2757
ProjectMonitorCheckInIndexEndpoint .as_view (),
2758
2758
name = "sentry-api-0-project-monitor-check-in-index" ,
2759
2759
),
2760
2760
re_path (
2761
- r"^(?P<organization_slug >[^\/]+)/(?P<project_id_or_slug>[^\/]+)/monitors/(?P<monitor_id_or_slug>[^\/]+)/environments/(?P<environment>[^\/]+)$" ,
2761
+ r"^(?P<organization_id_or_slug >[^\/]+)/(?P<project_id_or_slug>[^\/]+)/monitors/(?P<monitor_id_or_slug>[^\/]+)/environments/(?P<environment>[^\/]+)$" ,
2762
2762
ProjectMonitorEnvironmentDetailsEndpoint .as_view (),
2763
2763
name = "sentry-api-0-project-monitor-environment-details" ,
2764
2764
),
@@ -2768,12 +2768,12 @@ def create_group_urls(name_prefix: str) -> list[URLPattern | URLResolver]:
2768
2768
name = "sentry-api-0-project-processing-errors-details" ,
2769
2769
),
2770
2770
re_path (
2771
- r"^(?P<organization_slug >[^\/]+)/(?P<project_id_or_slug>[^\/]+)/monitors/(?P<monitor_id_or_slug>[^\/]+)/processing-errors/$" ,
2771
+ r"^(?P<organization_id_or_slug >[^\/]+)/(?P<project_id_or_slug>[^\/]+)/monitors/(?P<monitor_id_or_slug>[^\/]+)/processing-errors/$" ,
2772
2772
ProjectMonitorProcessingErrorsIndexEndpoint .as_view (),
2773
2773
name = "sentry-api-0-project-monitor-processing-errors-index" ,
2774
2774
),
2775
2775
re_path (
2776
- r"^(?P<organization_slug >[^\/]+)/(?P<project_id_or_slug>[^\/]+)/monitors/(?P<monitor_id_or_slug>[^\/]+)/stats/$" ,
2776
+ r"^(?P<organization_id_or_slug >[^\/]+)/(?P<project_id_or_slug>[^\/]+)/monitors/(?P<monitor_id_or_slug>[^\/]+)/stats/$" ,
2777
2777
ProjectMonitorStatsEndpoint .as_view (),
2778
2778
name = "sentry-api-0-project-monitor-stats" ,
2779
2779
),
0 commit comments