Skip to content

Commit 118a05c

Browse files
cvxluoclaude
andcommitted
ref(seer): Remove list-all supergroups endpoint
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 04cfcb8 commit 118a05c

3 files changed

Lines changed: 0 additions & 79 deletions

File tree

src/sentry/api/urls.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -563,9 +563,6 @@
563563
from sentry.seer.supergroups.endpoints.organization_supergroup_details import (
564564
OrganizationSupergroupDetailsEndpoint,
565565
)
566-
from sentry.seer.supergroups.endpoints.organization_supergroups import (
567-
OrganizationSupergroupsEndpoint,
568-
)
569566
from sentry.seer.supergroups.endpoints.organization_supergroups_by_group import (
570567
OrganizationSupergroupsByGroupEndpoint,
571568
)
@@ -2439,11 +2436,6 @@ def create_group_urls(name_prefix: str) -> list[URLPattern | URLResolver]:
24392436
OrganizationSeerExplorerUpdateEndpoint.as_view(),
24402437
name="sentry-api-0-organization-seer-explorer-update",
24412438
),
2442-
re_path(
2443-
r"^(?P<organization_id_or_slug>[^/]+)/seer/supergroups/$",
2444-
OrganizationSupergroupsEndpoint.as_view(),
2445-
name="sentry-api-0-organization-supergroups",
2446-
),
24472439
re_path(
24482440
r"^(?P<organization_id_or_slug>[^/]+)/seer/supergroups/by-group/$",
24492441
OrganizationSupergroupsByGroupEndpoint.as_view(),

src/sentry/seer/signed_seer_api.py

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -259,13 +259,6 @@ class SupergroupsEmbeddingRequest(TypedDict):
259259
artifact_data: dict[str, Any]
260260

261261

262-
class SupergroupsListRequest(TypedDict):
263-
organization_id: int
264-
offset: NotRequired[int | None]
265-
limit: NotRequired[int | None]
266-
project_ids: NotRequired[list[int] | None]
267-
268-
269262
class SupergroupsGetRequest(TypedDict):
270263
organization_id: int
271264
supergroup_id: int
@@ -375,20 +368,6 @@ def make_supergroups_embedding_request(
375368
)
376369

377370

378-
def make_supergroups_list_request(
379-
body: SupergroupsListRequest,
380-
viewer_context: SeerViewerContext,
381-
timeout: int | float | None = None,
382-
) -> BaseHTTPResponse:
383-
return make_signed_seer_api_request(
384-
seer_autofix_default_connection_pool,
385-
"/v0/issues/supergroups/list",
386-
body=orjson.dumps(body),
387-
timeout=timeout,
388-
viewer_context=viewer_context,
389-
)
390-
391-
392371
def make_supergroups_get_request(
393372
body: SupergroupsGetRequest,
394373
viewer_context: SeerViewerContext,

src/sentry/seer/supergroups/endpoints/organization_supergroups.py

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

0 commit comments

Comments
 (0)