|
@@ -861,6 +861,10 @@ ORGANIZATION_URLS = [
|
|
OrganizationDetailsEndpoint.as_view(),
|
|
OrganizationDetailsEndpoint.as_view(),
|
|
name="sentry-api-0-organization-details",
|
|
name="sentry-api-0-organization-details",
|
|
),
|
|
),
|
|
|
|
+ url(
|
|
|
|
+ r"^(?P<organization_slug>[^\/]+)/(?:issues|groups)/",
|
|
|
|
+ include(GROUP_URLS),
|
|
|
|
+ ),
|
|
# Alert Rules
|
|
# Alert Rules
|
|
url(
|
|
url(
|
|
r"^(?P<organization_slug>[^\/]+)/alert-rules/available-actions/$",
|
|
r"^(?P<organization_slug>[^\/]+)/alert-rules/available-actions/$",
|
|
@@ -1247,10 +1251,6 @@ ORGANIZATION_URLS = [
|
|
OrganizationGroupIndexStatsEndpoint.as_view(),
|
|
OrganizationGroupIndexStatsEndpoint.as_view(),
|
|
name="sentry-api-0-organization-group-index-stats",
|
|
name="sentry-api-0-organization-group-index-stats",
|
|
),
|
|
),
|
|
- url(
|
|
|
|
- r"^(?P<organization_slug>[^\/]+)/(?:issues|groups)/",
|
|
|
|
- include(GROUP_URLS),
|
|
|
|
- ),
|
|
|
|
url(
|
|
url(
|
|
r"^(?P<organization_slug>[^\/]+)/integrations/$",
|
|
r"^(?P<organization_slug>[^\/]+)/integrations/$",
|
|
OrganizationIntegrationsEndpoint.as_view(),
|
|
OrganizationIntegrationsEndpoint.as_view(),
|
|
@@ -2420,7 +2420,59 @@ urlpatterns = [
|
|
r"^relays/",
|
|
r"^relays/",
|
|
include(RELAY_URLS),
|
|
include(RELAY_URLS),
|
|
),
|
|
),
|
|
- # Api Data
|
|
|
|
|
|
+ # Groups / Issues
|
|
|
|
+ url(
|
|
|
|
+ r"^(?:issues|groups)/",
|
|
|
|
+ include(GROUP_URLS),
|
|
|
|
+ ),
|
|
|
|
+ # Organizations
|
|
|
|
+ url(
|
|
|
|
+ r"^organizations/",
|
|
|
|
+ include(ORGANIZATION_URLS),
|
|
|
|
+ ),
|
|
|
|
+ # Projects
|
|
|
|
+ url(
|
|
|
|
+ r"^projects/",
|
|
|
|
+ include(PROJECT_URLS),
|
|
|
|
+ ),
|
|
|
|
+ # Teams
|
|
|
|
+ url(
|
|
|
|
+ r"^teams/",
|
|
|
|
+ include(TEAM_URLS),
|
|
|
|
+ ),
|
|
|
|
+ # Users
|
|
|
|
+ url(
|
|
|
|
+ r"^users/",
|
|
|
|
+ include(USER_URLS),
|
|
|
|
+ ),
|
|
|
|
+ # UserRoles
|
|
|
|
+ url(
|
|
|
|
+ r"^userroles/",
|
|
|
|
+ include(USER_ROLE_URLS),
|
|
|
|
+ ),
|
|
|
|
+ # Sentry Apps
|
|
|
|
+ url(
|
|
|
|
+ r"^sentry-apps/",
|
|
|
|
+ include(SENTRY_APP_URLS),
|
|
|
|
+ ),
|
|
|
|
+ # Toplevel app installs
|
|
|
|
+ url(
|
|
|
|
+ r"^sentry-app-installations/",
|
|
|
|
+ include(SENTRY_APP_INSTALLATION_URLS),
|
|
|
|
+ ),
|
|
|
|
+ # Auth
|
|
|
|
+ url(
|
|
|
|
+ r"^auth/",
|
|
|
|
+ include(AUTH_URLS),
|
|
|
|
+ ),
|
|
|
|
+ # Broadcasts
|
|
|
|
+ url(
|
|
|
|
+ r"^broadcasts/",
|
|
|
|
+ include(BROADCAST_URLS),
|
|
|
|
+ ),
|
|
|
|
+ #
|
|
|
|
+ #
|
|
|
|
+ #
|
|
url(
|
|
url(
|
|
r"^assistant/$",
|
|
r"^assistant/$",
|
|
AssistantEndpoint.as_view(),
|
|
AssistantEndpoint.as_view(),
|
|
@@ -2451,22 +2503,12 @@ urlpatterns = [
|
|
PromptsActivityEndpoint.as_view(),
|
|
PromptsActivityEndpoint.as_view(),
|
|
name="sentry-api-0-prompts-activity",
|
|
name="sentry-api-0-prompts-activity",
|
|
),
|
|
),
|
|
- # Auth
|
|
|
|
- url(
|
|
|
|
- r"^auth/",
|
|
|
|
- include(AUTH_URLS),
|
|
|
|
- ),
|
|
|
|
# List Authenticators
|
|
# List Authenticators
|
|
url(
|
|
url(
|
|
r"^authenticators/$",
|
|
r"^authenticators/$",
|
|
AuthenticatorIndexEndpoint.as_view(),
|
|
AuthenticatorIndexEndpoint.as_view(),
|
|
name="sentry-api-0-authenticator-index",
|
|
name="sentry-api-0-authenticator-index",
|
|
),
|
|
),
|
|
- # Broadcasts
|
|
|
|
- url(
|
|
|
|
- r"^broadcasts/",
|
|
|
|
- include(BROADCAST_URLS),
|
|
|
|
- ),
|
|
|
|
# Project transfer
|
|
# Project transfer
|
|
url(
|
|
url(
|
|
r"^accept-transfer/$",
|
|
r"^accept-transfer/$",
|
|
@@ -2520,41 +2562,6 @@ urlpatterns = [
|
|
]
|
|
]
|
|
),
|
|
),
|
|
),
|
|
),
|
|
- # Users
|
|
|
|
- url(
|
|
|
|
- r"^users/",
|
|
|
|
- include(USER_URLS),
|
|
|
|
- ),
|
|
|
|
- # UserRoles
|
|
|
|
- url(
|
|
|
|
- r"^userroles/",
|
|
|
|
- include(USER_ROLE_URLS),
|
|
|
|
- ),
|
|
|
|
- # Organizations
|
|
|
|
- url(
|
|
|
|
- r"^organizations/",
|
|
|
|
- include(ORGANIZATION_URLS),
|
|
|
|
- ),
|
|
|
|
- # Teams
|
|
|
|
- url(
|
|
|
|
- r"^teams/",
|
|
|
|
- include(TEAM_URLS),
|
|
|
|
- ),
|
|
|
|
- # Projects
|
|
|
|
- url(
|
|
|
|
- r"^projects/",
|
|
|
|
- include(PROJECT_URLS),
|
|
|
|
- ),
|
|
|
|
- # Toplevel app installs
|
|
|
|
- url(
|
|
|
|
- r"^sentry-app-installations/",
|
|
|
|
- include(SENTRY_APP_INSTALLATION_URLS),
|
|
|
|
- ),
|
|
|
|
- # Groups / Issues
|
|
|
|
- url(
|
|
|
|
- r"^(?:issues|groups)/",
|
|
|
|
- include(GROUP_URLS),
|
|
|
|
- ),
|
|
|
|
# Profiling - This is a temporary endpoint to easily go from a project id + profile id to a flamechart.
|
|
# Profiling - This is a temporary endpoint to easily go from a project id + profile id to a flamechart.
|
|
# It will be removed in the near future.
|
|
# It will be removed in the near future.
|
|
url(
|
|
url(
|
|
@@ -2584,11 +2591,6 @@ urlpatterns = [
|
|
SharedGroupDetailsEndpoint.as_view(),
|
|
SharedGroupDetailsEndpoint.as_view(),
|
|
name="sentry-api-0-shared-group-details",
|
|
name="sentry-api-0-shared-group-details",
|
|
),
|
|
),
|
|
- # Sentry Apps
|
|
|
|
- url(
|
|
|
|
- r"^sentry-apps/",
|
|
|
|
- include(SENTRY_APP_URLS),
|
|
|
|
- ),
|
|
|
|
url(
|
|
url(
|
|
r"^sentry-apps-stats/$",
|
|
r"^sentry-apps-stats/$",
|
|
SentryAppsStatsEndpoint.as_view(),
|
|
SentryAppsStatsEndpoint.as_view(),
|