Skip to content

Commit 40adae2

Browse files
authored
chore(stats-detectors): Expose temporary endpoint (#63371)
Forgot to expose it in #63363.
1 parent 103e0a8 commit 40adae2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/sentry/api/urls.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
OrganizationUnsubscribeProject,
2626
)
2727
from sentry.api.endpoints.project_stacktrace_coverage import ProjectStacktraceCoverageEndpoint
28+
from sentry.api.endpoints.project_statistical_detectors import ProjectStatisticalDetectors
2829
from sentry.api.endpoints.release_thresholds.release_threshold import ReleaseThresholdEndpoint
2930
from sentry.api.endpoints.release_thresholds.release_threshold_details import (
3031
ReleaseThresholdDetailsEndpoint,
@@ -2629,6 +2630,11 @@ def create_group_urls(name_prefix: str) -> list[URLPattern | URLResolver]:
26292630
ProjectProfilingTransactionIDProfileIDEndpoint.as_view(),
26302631
name="sentry-api-0-project-profiling-transactions",
26312632
),
2633+
re_path(
2634+
r"^(?P<organization_slug>[^\/]+)/(?P<project_slug>[^\/]+)/statistical-detector/$",
2635+
ProjectStatisticalDetectors.as_view(),
2636+
name="sentry-api-0-project-statistical-detector",
2637+
),
26322638
]
26332639

26342640
TEAM_URLS = [

0 commit comments

Comments
 (0)