Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ module = [
"sentry.incidents.endpoints.bases",
"sentry.incidents.endpoints.organization_alert_rule_details",
"sentry.incidents.endpoints.organization_alert_rule_index",
"sentry.incidents.endpoints.organization_incident_comment_details",
"sentry.incidents.endpoints.organization_incident_index",
"sentry.incidents.subscription_processor",
"sentry.incidents.tasks",
Expand Down
38 changes: 0 additions & 38 deletions src/sentry/api/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,23 +100,10 @@
OrganizationAlertRuleIndexEndpoint,
OrganizationCombinedRuleIndexEndpoint,
)
from sentry.incidents.endpoints.organization_incident_activity_index import (
OrganizationIncidentActivityIndexEndpoint,
)
from sentry.incidents.endpoints.organization_incident_comment_details import (
OrganizationIncidentCommentDetailsEndpoint,
)
from sentry.incidents.endpoints.organization_incident_comment_index import (
OrganizationIncidentCommentIndexEndpoint,
)
from sentry.incidents.endpoints.organization_incident_details import (
OrganizationIncidentDetailsEndpoint,
)
from sentry.incidents.endpoints.organization_incident_index import OrganizationIncidentIndexEndpoint
from sentry.incidents.endpoints.organization_incident_seen import OrganizationIncidentSeenEndpoint
from sentry.incidents.endpoints.organization_incident_subscription_index import (
OrganizationIncidentSubscriptionIndexEndpoint,
)
from sentry.incidents.endpoints.project_alert_rule_details import ProjectAlertRuleDetailsEndpoint
from sentry.incidents.endpoints.project_alert_rule_index import ProjectAlertRuleIndexEndpoint
from sentry.incidents.endpoints.project_alert_rule_task_details import (
Expand Down Expand Up @@ -1206,21 +1193,6 @@ def create_group_urls(name_prefix: str) -> list[URLPattern | URLResolver]:
name="sentry-api-0-data-secrecy",
),
# Incidents
re_path(
r"^(?P<organization_id_or_slug>[^\/]+)/incidents/(?P<incident_identifier>[^\/]+)/activity/$",
OrganizationIncidentActivityIndexEndpoint.as_view(),
name="sentry-api-0-organization-incident-activity",
),
re_path(
r"^(?P<organization_id_or_slug>[^\/]+)/incidents/(?P<incident_identifier>[^\/]+)/comments/$",
OrganizationIncidentCommentIndexEndpoint.as_view(),
name="sentry-api-0-organization-incident-comments",
),
re_path(
r"^(?P<organization_id_or_slug>[^\/]+)/incidents/(?P<incident_identifier>[^\/]+)/comments/(?P<activity_id>[^\/]+)/$",
OrganizationIncidentCommentDetailsEndpoint.as_view(),
name="sentry-api-0-organization-incident-comment-details",
),
re_path(
r"^(?P<organization_id_or_slug>[^\/]+)/incidents/(?P<incident_identifier>[^\/]+)/$",
OrganizationIncidentDetailsEndpoint.as_view(),
Expand All @@ -1231,16 +1203,6 @@ def create_group_urls(name_prefix: str) -> list[URLPattern | URLResolver]:
OrganizationIncidentIndexEndpoint.as_view(),
name="sentry-api-0-organization-incident-index",
),
re_path(
r"^(?P<organization_id_or_slug>[^\/]+)/incidents/(?P<incident_identifier>[^\/]+)/seen/$",
OrganizationIncidentSeenEndpoint.as_view(),
name="sentry-api-0-organization-incident-seen",
),
re_path(
r"^(?P<organization_id_or_slug>[^\/]+)/incidents/(?P<incident_identifier>[^\/]+)/subscriptions/$",
OrganizationIncidentSubscriptionIndexEndpoint.as_view(),
name="sentry-api-0-organization-incident-subscription-index",
),
re_path(
r"^(?P<organization_id_or_slug>[^\/]+)/chunk-upload/$",
ChunkUploadEndpoint.as_view(),
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

53 changes: 0 additions & 53 deletions src/sentry/incidents/endpoints/organization_incident_seen.py

This file was deleted.

This file was deleted.

Loading
Loading