Skip to content

Commit ddbf8c4

Browse files
cvxluoclaude
authored andcommitted
ref(grouping): remove ProjectGroupingConfigsEndpoint (#112540)
Follow up of #112536. Remove this endpoint, since it isn't used anywhere. Fixes https://linear.app/getsentry/issue/ID-703/grouping-remove-obsolete-grouping-config-endpoints Similar endpoints removed in #104303 and #96856 Co-authored-by: Claude <noreply@anthropic.com>
1 parent f8f40f6 commit ddbf8c4

File tree

6 files changed

+0
-59
lines changed

6 files changed

+0
-59
lines changed

src/sentry/api/urls.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,6 @@
377377
)
378378
from sentry.issues.endpoints.project_codeowners_details import ProjectCodeOwnersDetailsEndpoint
379379
from sentry.issues.endpoints.project_codeowners_index import ProjectCodeOwnersEndpoint
380-
from sentry.issues.endpoints.project_grouping_configs import ProjectGroupingConfigsEndpoint
381380
from sentry.issues.endpoints.project_issues_resolved_in_release import (
382381
ProjectIssuesResolvedInReleaseEndpoint,
383382
)
@@ -3278,12 +3277,6 @@ def create_group_urls(name_prefix: str) -> list[URLPattern | URLResolver]:
32783277
ProjectRepoPathParsingEndpoint.as_view(),
32793278
name="sentry-api-0-project-repo-path-parsing",
32803279
),
3281-
# Grouping configs
3282-
re_path(
3283-
r"^(?P<organization_id_or_slug>[^/]+)/(?P<project_id_or_slug>[^/]+)/grouping-configs/$",
3284-
ProjectGroupingConfigsEndpoint.as_view(),
3285-
name="sentry-api-0-project-grouping-configs",
3286-
),
32873280
re_path(
32883281
r"^(?P<organization_id_or_slug>[^/]+)/(?P<project_id_or_slug>[^/]+)/profiling/profiles/(?P<profile_id>(?:\d+|[A-Fa-f0-9-]{32,36}))/$",
32893282
ProjectProfilingProfileEndpoint.as_view(),

src/sentry/apidocs/api_publish_status_allowlist_dont_modify.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,6 @@
695695
"DELETE"
696696
},
697697
"/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/stacktrace-link/": {"GET"},
698-
"/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/grouping-configs/": {"GET"},
699698
"/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/appstoreconnect/": {"POST"},
700699
"/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/appstoreconnect/apps/": {
701700
"POST"
@@ -822,8 +821,6 @@
822821
"/api/0/doc-integrations/{doc_integration_id_or_slug}/avatar/": {"GET", "PUT"},
823822
"/api/0/integration-features/": {"GET"},
824823
"/api/0/issue-occurrence/": {"POST"},
825-
"/api/0/grouping-configs/": {"GET"},
826-
"/api/0/organizations/{organization_id_or_slug}/grouping-configs/": {"GET"},
827824
"/api/0/builtin-symbol-sources/": {"GET"},
828825
"/api/0/organizations/{organization_id_or_slug}/builtin-symbol-sources/": {"GET"},
829826
"/api/0/wizard/": {"GET", "DELETE"},

src/sentry/conf/api_pagination_allowlist_do_not_modify.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
"GroupSimilarIssuesEmbeddingsEndpoint",
2222
"GroupStatsEndpoint",
2323
"GroupTagsEndpoint",
24-
"GroupingConfigsEndpoint",
2524
"IntegrationFeaturesEndpoint",
2625
"InternalQueueTasksEndpoint",
2726
"InternalStatsEndpoint",
@@ -78,7 +77,6 @@
7877
"ProjectEnvironmentsEndpoint",
7978
"ProjectFiltersEndpoint",
8079
"ProjectGroupIndexEndpoint",
81-
"ProjectGroupingConfigsEndpoint",
8280
"ProjectIssuesResolvedInReleaseEndpoint",
8381
"ProjectMemberIndexEndpoint",
8482
"ProjectMonitorStatsEndpoint",

src/sentry/issues/endpoints/project_grouping_configs.py

Lines changed: 0 additions & 28 deletions
This file was deleted.

static/app/utils/api/knownSentryApiUrls.generated.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,6 @@ export type KnownSentryApiUrls =
655655
| '/projects/$organizationIdOrSlug/$projectIdOrSlug/files/source-maps/'
656656
| '/projects/$organizationIdOrSlug/$projectIdOrSlug/filters/'
657657
| '/projects/$organizationIdOrSlug/$projectIdOrSlug/filters/$filterId/'
658-
| '/projects/$organizationIdOrSlug/$projectIdOrSlug/grouping-configs/'
659658
| '/projects/$organizationIdOrSlug/$projectIdOrSlug/groups/'
660659
| '/projects/$organizationIdOrSlug/$projectIdOrSlug/groups/stats/'
661660
| '/projects/$organizationIdOrSlug/$projectIdOrSlug/hooks/'

tests/sentry/issues/endpoints/test_project_grouping_configs.py

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)