Skip to content
Draft
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
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ApiApplicationRotateSecretEndpoint(ApiApplicationEndpoint):
publish_status = {
"POST": ApiPublishStatus.PRIVATE,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@swartzrock my understanding is that some of these would be owned by product platform team. Maybe we should transfer them now?

authentication_classes = (SessionAuthentication,)
permission_classes = (SentryIsAuthenticated,)

Expand Down
2 changes: 1 addition & 1 deletion src/sentry/api/endpoints/api_authorizations.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ApiAuthorizationsEndpoint(Endpoint):
"DELETE": ApiPublishStatus.PRIVATE,
"GET": ApiPublishStatus.PRIVATE,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED
authentication_classes = (SessionAuthentication,)
permission_classes = (SentryIsAuthenticated,)

Expand Down
2 changes: 1 addition & 1 deletion src/sentry/api/endpoints/auth_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class AuthConfigEndpoint(Endpoint, OrganizationMixin):
publish_status = {
"GET": ApiPublishStatus.PRIVATE,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED
# Disable authentication and permission requirements.
permission_classes = ()

Expand Down
2 changes: 1 addition & 1 deletion src/sentry/api/endpoints/auth_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class BaseAuthIndexEndpoint(Endpoint):
AuthIndexEndpoint and StaffAuthIndexEndpoint (in getsentry)
"""

owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED
authentication_classes = (QuietBasicAuthentication, SessionAuthentication)

permission_classes = ()
Expand Down
2 changes: 1 addition & 1 deletion src/sentry/api/endpoints/auth_login.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class AuthLoginEndpoint(Endpoint, OrganizationMixin):
publish_status = {
"POST": ApiPublishStatus.PRIVATE,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED
# Disable authentication and permission requirements.
permission_classes = ()

Expand Down
2 changes: 1 addition & 1 deletion src/sentry/api/endpoints/oauth_userinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class OAuthUserInfoEndpoint(Endpoint):
publish_status = {
"GET": ApiPublishStatus.PRIVATE,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED
authentication_classes = ()
permission_classes = ()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class OrganizationAccessRequestDetailsEndpoint(OrganizationEndpoint):
"GET": ApiPublishStatus.PRIVATE,
"PUT": ApiPublishStatus.PRIVATE,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED
permission_classes = (AccessRequestPermission,)

# TODO(dcramer): this should go onto AccessRequestPermission
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class OrganizationAuthProviderDetailsEndpoint(OrganizationEndpoint):
publish_status = {
"GET": ApiPublishStatus.PRIVATE,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED
permission_classes = (OrganizationAuthProviderPermission,)

def get(self, request: Request, organization: Organization) -> Response:
Expand Down
2 changes: 1 addition & 1 deletion src/sentry/api/endpoints/organization_auth_providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class OrganizationAuthProvidersEndpoint(OrganizationEndpoint):
publish_status = {
"GET": ApiPublishStatus.PRIVATE,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED
permission_classes = (OrganizationAuthProviderPermission,)

def get(self, request: Request, organization: Organization) -> Response:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class OrganizationAuthTokenDetailsEndpoint(ControlSiloOrganizationEndpoint):
"GET": ApiPublishStatus.PRIVATE,
"PUT": ApiPublishStatus.PRIVATE,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED
authentication_classes = (SessionNoAuthTokenAuthentication,)
permission_classes = (OrgAuthTokenPermission,)

Expand Down
2 changes: 1 addition & 1 deletion src/sentry/api/endpoints/organization_auth_tokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class OrganizationAuthTokensEndpoint(ControlSiloOrganizationEndpoint):
"GET": ApiPublishStatus.PRIVATE,
"POST": ApiPublishStatus.PRIVATE,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED
authentication_classes = (SessionNoAuthTokenAuthentication,)
permission_classes = (OrgAuthTokenPermission,)

Expand Down
2 changes: 1 addition & 1 deletion src/sentry/api/endpoints/organization_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class OrganizationStatsEndpoint(OrganizationEndpoint, StatsMixin):
# Deprecated APIs remain private until removed
"GET": ApiPublishStatus.PRIVATE,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED

def get(self, request: Request, organization) -> Response:
"""
Expand Down
2 changes: 1 addition & 1 deletion src/sentry/api/endpoints/organization_stats_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class StatsSummaryApiResponse(TypedDict):
@cell_silo_endpoint
class OrganizationStatsSummaryEndpoint(OrganizationEndpoint):
publish_status = {"GET": ApiPublishStatus.PUBLIC}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED

@extend_schema(
operation_id="Retrieve an Organization's Events Count by Project",
Expand Down
2 changes: 1 addition & 1 deletion src/sentry/api/endpoints/organization_stats_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class OrganizationStatsEndpointV2(OrganizationEndpoint):
publish_status = {
"GET": ApiPublishStatus.PUBLIC,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED
enforce_rate_limit = True
rate_limits = RateLimitConfig(
limit_overrides={
Expand Down
2 changes: 1 addition & 1 deletion src/sentry/api/endpoints/project_member_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ProjectMemberIndexEndpoint(ProjectEndpoint):
publish_status = {
"GET": ApiPublishStatus.PUBLIC,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED

@extend_schema(
operation_id="List a Project's Organization Members",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def validate_trigger_type(self, trigger_type: str) -> int:
@cell_silo_endpoint
class ReleaseThresholdEndpoint(ProjectEndpoint):
permission_classes = (ProjectReleasePermission,)
owner: ApiOwner = ApiOwner.ENTERPRISE
owner: ApiOwner = ApiOwner.UNOWNED
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are a lot of what rotational was doing. @mrduncan do you know who would take release tasks now?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bruno-garcia releases are effectively unowned at the moment, right?

publish_status = {
"GET": ApiPublishStatus.EXPERIMENTAL,
"POST": ApiPublishStatus.EXPERIMENTAL,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def validate_trigger_type(self, trigger_type: str) -> int:
@cell_silo_endpoint
class ReleaseThresholdDetailsEndpoint(ProjectEndpoint):
permission_classes = (ProjectReleasePermission,)
owner: ApiOwner = ApiOwner.ENTERPRISE
owner: ApiOwner = ApiOwner.UNOWNED
publish_status = {
"DELETE": ApiPublishStatus.EXPERIMENTAL,
"GET": ApiPublishStatus.EXPERIMENTAL,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class ReleaseThresholdIndexGETValidator(serializers.Serializer[ReleaseThresholdI

@cell_silo_endpoint
class ReleaseThresholdIndexEndpoint(OrganizationEndpoint):
owner: ApiOwner = ApiOwner.ENTERPRISE
owner: ApiOwner = ApiOwner.UNOWNED
publish_status = {
"GET": ApiPublishStatus.EXPERIMENTAL,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def validate(self, data: ReleaseThresholdStatusIndexData) -> ReleaseThresholdSta
@cell_silo_endpoint
@extend_schema(tags=["Releases"])
class ReleaseThresholdStatusIndexEndpoint(OrganizationReleasesBaseEndpoint):
owner: ApiOwner = ApiOwner.ENTERPRISE
owner: ApiOwner = ApiOwner.UNOWNED
publish_status = {
"GET": ApiPublishStatus.PUBLIC,
}
Expand Down
2 changes: 1 addition & 1 deletion src/sentry/auth_v2/endpoints/auth_merge_user_accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class AuthMergeUserAccountsEndpoint(AuthV2Endpoint):
"GET": ApiPublishStatus.PRIVATE,
"POST": ApiPublishStatus.PRIVATE,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED
"""
List and merge user accounts with the same primary email address.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class AuthUserMergeVerificationCodeEndpoint(Endpoint):
publish_status = {
"POST": ApiPublishStatus.PRIVATE,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED
permission_classes = (SentryIsAuthenticated,)
"""
Generate and update verification codes for the user account merge flow.
Expand Down
2 changes: 1 addition & 1 deletion src/sentry/auth_v2/endpoints/csrf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class CsrfTokenEndpoint(Endpoint):
NOTE: This endpoint is not protected by the feature flag in AuthV2Endpoint!
"""

owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED
publish_status = {
"GET": ApiPublishStatus.EXPERIMENTAL,
"PUT": ApiPublishStatus.EXPERIMENTAL,
Expand Down
2 changes: 1 addition & 1 deletion src/sentry/auth_v2/endpoints/feature_flag_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

@control_silo_endpoint
class FeatureFlagView(AuthV2Endpoint):
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED
publish_status = {"GET": ApiPublishStatus.EXPERIMENTAL}
enforce_rate_limit = True
rate_limits = RateLimitConfig(
Expand Down
2 changes: 1 addition & 1 deletion src/sentry/auth_v2/endpoints/user_login_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

@control_silo_endpoint
class UserLoginView(AuthV2Endpoint):
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED
publish_status = {
"GET": ApiPublishStatus.PRIVATE,
}
Expand Down
2 changes: 1 addition & 1 deletion src/sentry/core/endpoints/organization_auditlogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class OrganizationAuditLogsEndpoint(ControlSiloOrganizationEndpoint):
publish_status = {
"GET": ApiPublishStatus.EXPERIMENTAL,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED
permission_classes = (OrganizationAuditPermission,)

def get(
Expand Down
2 changes: 1 addition & 1 deletion src/sentry/core/endpoints/organization_member_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class OrganizationMemberDetailsEndpoint(OrganizationMemberEndpoint):
"GET": ApiPublishStatus.PUBLIC,
"PUT": ApiPublishStatus.PUBLIC,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED
permission_classes = (RelaxedMemberPermission,)

def _get_member(
Expand Down
2 changes: 1 addition & 1 deletion src/sentry/core/endpoints/organization_member_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ class OrganizationMemberIndexEndpoint(OrganizationEndpoint):
)

permission_classes = (MemberAndStaffPermission,)
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED

@extend_schema(
operation_id="List an Organization's Members",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class OrganizationMemberInviteDetailsEndpoint(OrganizationEndpoint):
"GET": ApiPublishStatus.EXPERIMENTAL,
"PUT": ApiPublishStatus.EXPERIMENTAL,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED
permission_classes = (MemberInviteDetailsPermission,)

def convert_args(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class OrganizationMemberInviteIndexEndpoint(OrganizationEndpoint):
"POST": ApiPublishStatus.EXPERIMENTAL,
}
permission_classes = (MemberInviteAndStaffPermission,)
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED

def _invite_member(self, request, organization) -> Response:
allowed_roles = get_allowed_org_roles(request, organization, creating_org_invite=True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class OrganizationMemberReinviteEndpoint(OrganizationEndpoint):
publish_status = {
"PUT": ApiPublishStatus.EXPERIMENTAL,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED
permission_classes = (MemberReinvitePermission,)

def convert_args(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def convert_args(
"PUT": ApiPublishStatus.PUBLIC,
"POST": ApiPublishStatus.PUBLIC,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED
permission_classes = (OrganizationTeamMemberPermission,)

def _can_create_team_member(self, request: Request, team: Team) -> bool:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class OrganizationProjectsExperimentEndpoint(OrganizationEndpoint):
}
permission_classes = (OrgProjectPermission,)
logger = logging.getLogger("team-project.create")
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED

def should_add_creator_to_team(self, user: User | AnonymousUser) -> TypeIs[User]:
return user.is_authenticated
Expand Down
2 changes: 1 addition & 1 deletion src/sentry/core/endpoints/organization_user_teams.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class OrganizationUserTeamsEndpoint(OrganizationEndpoint):
publish_status = {
"GET": ApiPublishStatus.PUBLIC,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED

@extend_schema(
operation_id="List a User's Teams for an Organization",
Expand Down
2 changes: 1 addition & 1 deletion src/sentry/core/endpoints/project_team_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class ProjectTeamDetailsEndpoint(ProjectEndpoint):
"DELETE": ApiPublishStatus.PUBLIC,
"POST": ApiPublishStatus.PUBLIC,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED
permission_classes = (ProjectTeamsPermission,)

def convert_args(
Expand Down
2 changes: 1 addition & 1 deletion src/sentry/core/endpoints/project_teams.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ProjectTeamsEndpoint(ProjectEndpoint):
publish_status = {
"GET": ApiPublishStatus.PUBLIC,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED

@extend_schema(
operation_id="List a Project's Teams",
Expand Down
2 changes: 1 addition & 1 deletion src/sentry/core/endpoints/scim/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class SCIMListBaseResponse(TypedDict):

@extend_schema(tags=["SCIM"])
class SCIMEndpoint(OrganizationEndpoint):
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED
content_negotiation_class = SCIMClientNegotiation
cursor_name = "startIndex"

Expand Down
2 changes: 1 addition & 1 deletion src/sentry/core/endpoints/team_members.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class TeamMembersEndpoint(TeamEndpoint):
publish_status = {
"GET": ApiPublishStatus.PUBLIC,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED

@extend_schema(
operation_id="List a Team's Members",
Expand Down
2 changes: 1 addition & 1 deletion src/sentry/core/endpoints/team_projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class TeamProjectsEndpoint(TeamEndpoint):
"POST": ApiPublishStatus.PUBLIC,
}
permission_classes = (TeamProjectPermission,)
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED

@extend_schema(
operation_id="List a Team's Projects",
Expand Down
2 changes: 1 addition & 1 deletion src/sentry/core/endpoints/team_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class TeamStatsEndpoint(TeamEndpoint, StatsMixin):
publish_status = {
"GET": ApiPublishStatus.PRIVATE,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED

def get(self, request: Request, team) -> Response:
"""
Expand Down
2 changes: 1 addition & 1 deletion src/sentry/data_secrecy/api/waive_data_secrecy.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class WaiveDataSecrecyEndpoint(ControlSiloOrganizationEndpoint):
"POST": ApiPublishStatus.PRIVATE,
"DELETE": ApiPublishStatus.PRIVATE,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED

def get(
self,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class ExternalTeamDetailsEndpoint(TeamEndpoint, ExternalActorEndpointMixin):
"DELETE": ApiPublishStatus.PUBLIC,
"PUT": ApiPublishStatus.PUBLIC,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED

def convert_args(
self,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class ExternalTeamEndpoint(TeamEndpoint, ExternalActorEndpointMixin):
publish_status = {
"POST": ApiPublishStatus.PUBLIC,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED

@extend_schema(
operation_id="Create an External Team",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class OrganizationIntegrationMigrateOpsgenieEndpoint(RegionOrganizationIntegrati
publish_status = {
"PUT": ApiPublishStatus.PRIVATE,
}
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED

def put(
self,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def filter_by_features(
@control_silo_endpoint
@extend_schema(tags=["Integrations"])
class OrganizationIntegrationsEndpoint(OrganizationIntegrationBaseEndpoint):
owner = ApiOwner.ENTERPRISE
owner = ApiOwner.UNOWNED
publish_status = {
"GET": ApiPublishStatus.PUBLIC,
}
Expand Down
Loading
Loading