100
100
OrganizationAlertRuleIndexEndpoint ,
101
101
OrganizationCombinedRuleIndexEndpoint ,
102
102
)
103
- from sentry .incidents .endpoints .organization_incident_activity_index import (
104
- OrganizationIncidentActivityIndexEndpoint ,
105
- )
106
- from sentry .incidents .endpoints .organization_incident_comment_details import (
107
- OrganizationIncidentCommentDetailsEndpoint ,
108
- )
109
- from sentry .incidents .endpoints .organization_incident_comment_index import (
110
- OrganizationIncidentCommentIndexEndpoint ,
111
- )
112
103
from sentry .incidents .endpoints .organization_incident_details import (
113
104
OrganizationIncidentDetailsEndpoint ,
114
105
)
115
106
from sentry .incidents .endpoints .organization_incident_index import OrganizationIncidentIndexEndpoint
116
- from sentry .incidents .endpoints .organization_incident_seen import OrganizationIncidentSeenEndpoint
117
- from sentry .incidents .endpoints .organization_incident_subscription_index import (
118
- OrganizationIncidentSubscriptionIndexEndpoint ,
119
- )
120
107
from sentry .incidents .endpoints .project_alert_rule_details import ProjectAlertRuleDetailsEndpoint
121
108
from sentry .incidents .endpoints .project_alert_rule_index import ProjectAlertRuleIndexEndpoint
122
109
from sentry .incidents .endpoints .project_alert_rule_task_details import (
@@ -1206,21 +1193,6 @@ def create_group_urls(name_prefix: str) -> list[URLPattern | URLResolver]:
1206
1193
name = "sentry-api-0-data-secrecy" ,
1207
1194
),
1208
1195
# Incidents
1209
- re_path (
1210
- r"^(?P<organization_id_or_slug>[^\/]+)/incidents/(?P<incident_identifier>[^\/]+)/activity/$" ,
1211
- OrganizationIncidentActivityIndexEndpoint .as_view (),
1212
- name = "sentry-api-0-organization-incident-activity" ,
1213
- ),
1214
- re_path (
1215
- r"^(?P<organization_id_or_slug>[^\/]+)/incidents/(?P<incident_identifier>[^\/]+)/comments/$" ,
1216
- OrganizationIncidentCommentIndexEndpoint .as_view (),
1217
- name = "sentry-api-0-organization-incident-comments" ,
1218
- ),
1219
- re_path (
1220
- r"^(?P<organization_id_or_slug>[^\/]+)/incidents/(?P<incident_identifier>[^\/]+)/comments/(?P<activity_id>[^\/]+)/$" ,
1221
- OrganizationIncidentCommentDetailsEndpoint .as_view (),
1222
- name = "sentry-api-0-organization-incident-comment-details" ,
1223
- ),
1224
1196
re_path (
1225
1197
r"^(?P<organization_id_or_slug>[^\/]+)/incidents/(?P<incident_identifier>[^\/]+)/$" ,
1226
1198
OrganizationIncidentDetailsEndpoint .as_view (),
@@ -1231,16 +1203,6 @@ def create_group_urls(name_prefix: str) -> list[URLPattern | URLResolver]:
1231
1203
OrganizationIncidentIndexEndpoint .as_view (),
1232
1204
name = "sentry-api-0-organization-incident-index" ,
1233
1205
),
1234
- re_path (
1235
- r"^(?P<organization_id_or_slug>[^\/]+)/incidents/(?P<incident_identifier>[^\/]+)/seen/$" ,
1236
- OrganizationIncidentSeenEndpoint .as_view (),
1237
- name = "sentry-api-0-organization-incident-seen" ,
1238
- ),
1239
- re_path (
1240
- r"^(?P<organization_id_or_slug>[^\/]+)/incidents/(?P<incident_identifier>[^\/]+)/subscriptions/$" ,
1241
- OrganizationIncidentSubscriptionIndexEndpoint .as_view (),
1242
- name = "sentry-api-0-organization-incident-subscription-index" ,
1243
- ),
1244
1206
re_path (
1245
1207
r"^(?P<organization_id_or_slug>[^\/]+)/chunk-upload/$" ,
1246
1208
ChunkUploadEndpoint .as_view (),
0 commit comments