diff --git a/src/sentry/integrations/api/endpoints/data_forwarding_details.py b/src/sentry/integrations/api/endpoints/data_forwarding_details.py index 99383b0ed13d4a..0afab5ad596702 100644 --- a/src/sentry/integrations/api/endpoints/data_forwarding_details.py +++ b/src/sentry/integrations/api/endpoints/data_forwarding_details.py @@ -287,7 +287,8 @@ def _update_single_project_configuration( @set_referrer_policy("strict-origin-when-cross-origin") @method_decorator(never_cache) @extend_schema( - operation_id="Update a Data Forwarder for an Organization", + operation_id="updateOrganizationForwarding", + summary="Update a Data Forwarder for an Organization", parameters=[GlobalParams.ORG_ID_OR_SLUG, DataForwarderParams.DATA_FORWARDER_ID], request=DataForwarderSerializer, responses={ @@ -343,7 +344,8 @@ def put( ) @extend_schema( - operation_id="Delete a Data Forwarder for an Organization", + operation_id="deleteOrganizationForwarding", + summary="Delete a Data Forwarder for an Organization", parameters=[GlobalParams.ORG_ID_OR_SLUG, DataForwarderParams.DATA_FORWARDER_ID], responses={ 204: RESPONSE_NO_CONTENT, diff --git a/src/sentry/integrations/api/endpoints/data_forwarding_index.py b/src/sentry/integrations/api/endpoints/data_forwarding_index.py index df3c673e8f2148..7ada0d16e8cf74 100644 --- a/src/sentry/integrations/api/endpoints/data_forwarding_index.py +++ b/src/sentry/integrations/api/endpoints/data_forwarding_index.py @@ -42,7 +42,8 @@ class DataForwardingIndexEndpoint(OrganizationEndpoint): permission_classes = (OrganizationDataForwardingDetailsPermission,) @extend_schema( - operation_id="Retrieve Data Forwarders for an Organization", + operation_id="listOrganizationForwarding", + summary="Retrieve Data Forwarders for an Organization", parameters=[GlobalParams.ORG_ID_OR_SLUG], responses={ 200: inline_sentry_response_serializer( @@ -67,7 +68,8 @@ def get(self, request: Request, organization) -> Response[list[DataForwarderResp ) @extend_schema( - operation_id="Create a Data Forwarder for an Organization", + operation_id="createOrganizationForwarding", + summary="Create a Data Forwarder for an Organization", parameters=[GlobalParams.ORG_ID_OR_SLUG], request=DataForwarderSerializer, responses={ diff --git a/src/sentry/integrations/api/endpoints/external_team_details.py b/src/sentry/integrations/api/endpoints/external_team_details.py index 3aed79ba16c506..047cdfd41983fd 100644 --- a/src/sentry/integrations/api/endpoints/external_team_details.py +++ b/src/sentry/integrations/api/endpoints/external_team_details.py @@ -56,7 +56,8 @@ def convert_args( return args, kwargs @extend_schema( - operation_id="Update an External Team", + operation_id="updateTeamExternalTeam", + summary="Update an External Team", parameters=[ GlobalParams.ORG_ID_OR_SLUG, GlobalParams.TEAM_ID_OR_SLUG, @@ -100,7 +101,8 @@ def put( return Response(as_validation_errors(serializer), status=status.HTTP_400_BAD_REQUEST) @extend_schema( - operation_id="Delete an External Team", + operation_id="deleteTeamExternalTeam", + summary="Delete an External Team", parameters=[ GlobalParams.ORG_ID_OR_SLUG, GlobalParams.TEAM_ID_OR_SLUG, diff --git a/src/sentry/integrations/api/endpoints/external_team_index.py b/src/sentry/integrations/api/endpoints/external_team_index.py index 9763011802c7cc..88e3a670c153ce 100644 --- a/src/sentry/integrations/api/endpoints/external_team_index.py +++ b/src/sentry/integrations/api/endpoints/external_team_index.py @@ -37,7 +37,8 @@ class ExternalTeamEndpoint(TeamEndpoint, ExternalActorEndpointMixin): owner = ApiOwner.INTEGRATION_PLATFORM @extend_schema( - operation_id="Create an External Team", + operation_id="createTeamExternalTeam", + summary="Create an External Team", parameters=[GlobalParams.ORG_ID_OR_SLUG, GlobalParams.TEAM_ID_OR_SLUG], request=ExternalTeamSerializer, responses={ diff --git a/src/sentry/integrations/api/endpoints/external_user_details.py b/src/sentry/integrations/api/endpoints/external_user_details.py index 31848016d2b356..1684f188132497 100644 --- a/src/sentry/integrations/api/endpoints/external_user_details.py +++ b/src/sentry/integrations/api/endpoints/external_user_details.py @@ -59,7 +59,8 @@ def convert_args( return args, kwargs @extend_schema( - operation_id="Update an External User", + operation_id="updateOrganizationExternalUser", + summary="Update an External User", parameters=[GlobalParams.ORG_ID_OR_SLUG, OrganizationParams.EXTERNAL_USER_ID], request=ExternalUserSerializer, responses={ @@ -96,7 +97,8 @@ def put( return Response(as_validation_errors(serializer), status=status.HTTP_400_BAD_REQUEST) @extend_schema( - operation_id="Delete an External User", + operation_id="deleteOrganizationExternalUser", + summary="Delete an External User", parameters=[GlobalParams.ORG_ID_OR_SLUG, OrganizationParams.EXTERNAL_USER_ID], request=None, responses={ diff --git a/src/sentry/integrations/api/endpoints/external_user_index.py b/src/sentry/integrations/api/endpoints/external_user_index.py index 1562afef636a79..e4f615c131db51 100644 --- a/src/sentry/integrations/api/endpoints/external_user_index.py +++ b/src/sentry/integrations/api/endpoints/external_user_index.py @@ -39,7 +39,8 @@ class ExternalUserEndpoint(OrganizationEndpoint, ExternalActorEndpointMixin): } @extend_schema( - operation_id="Create an External User", + operation_id="createOrganizationExternalUser", + summary="Create an External User", parameters=[GlobalParams.ORG_ID_OR_SLUG], request=ExternalUserSerializer, responses={ diff --git a/src/sentry/integrations/api/endpoints/organization_config_integrations.py b/src/sentry/integrations/api/endpoints/organization_config_integrations.py index 22a4a7af685054..1773371d111b21 100644 --- a/src/sentry/integrations/api/endpoints/organization_config_integrations.py +++ b/src/sentry/integrations/api/endpoints/organization_config_integrations.py @@ -36,7 +36,8 @@ class OrganizationConfigIntegrationsEndpoint(OrganizationEndpoint): } @extend_schema( - operation_id="Get Integration Provider Information", + operation_id="getOrganizationConfigIntegrations", + summary="Get Integration Provider Information", parameters=[ GlobalParams.ORG_ID_OR_SLUG, IntegrationParams.PROVIDER_KEY, diff --git a/src/sentry/integrations/api/endpoints/organization_integration_details.py b/src/sentry/integrations/api/endpoints/organization_integration_details.py index 915bf55dc3d3fb..f8f9fed28c3ca9 100644 --- a/src/sentry/integrations/api/endpoints/organization_integration_details.py +++ b/src/sentry/integrations/api/endpoints/organization_integration_details.py @@ -53,7 +53,8 @@ class OrganizationIntegrationDetailsEndpoint(OrganizationIntegrationBaseEndpoint } @extend_schema( - operation_id="Retrieve an Integration for an Organization", + operation_id="getOrganizationIntegration", + summary="Retrieve an Integration for an Organization", parameters=[ GlobalParams.ORG_ID_OR_SLUG, GlobalParams.INTEGRATION_ID, @@ -85,7 +86,8 @@ def get( ) @extend_schema( - operation_id="Delete an Integration for an Organization", + operation_id="deleteOrganizationIntegration", + summary="Delete an Integration for an Organization", parameters=[GlobalParams.ORG_ID_OR_SLUG, GlobalParams.INTEGRATION_ID], responses={ 204: RESPONSE_NO_CONTENT, diff --git a/src/sentry/integrations/api/endpoints/organization_integrations_index.py b/src/sentry/integrations/api/endpoints/organization_integrations_index.py index 5281a568b4230c..6d7429c6643cb1 100644 --- a/src/sentry/integrations/api/endpoints/organization_integrations_index.py +++ b/src/sentry/integrations/api/endpoints/organization_integrations_index.py @@ -66,7 +66,8 @@ class OrganizationIntegrationsEndpoint(OrganizationIntegrationBaseEndpoint): permission_classes = (OrganizationIntegrationsPermission,) @extend_schema( - operation_id="List an Organization's Available Integrations", + operation_id="listOrganizationIntegrations", + summary="List an Organization's Available Integrations", parameters=[ GlobalParams.ORG_ID_OR_SLUG, IntegrationParams.PROVIDER_KEY, diff --git a/src/sentry/integrations/api/endpoints/organization_repositories.py b/src/sentry/integrations/api/endpoints/organization_repositories.py index db6b2a78969da3..5343e7bb835af6 100644 --- a/src/sentry/integrations/api/endpoints/organization_repositories.py +++ b/src/sentry/integrations/api/endpoints/organization_repositories.py @@ -40,7 +40,8 @@ class OrganizationRepositoriesEndpoint(OrganizationEndpoint): ) @extend_schema( - operation_id="List an Organization's Repositories", + operation_id="listOrganizationRepos", + summary="List an Organization's Repositories", description="Return a list of version control repositories for a given organization.", parameters=[ GlobalParams.ORG_ID_OR_SLUG, diff --git a/src/sentry/integrations/api/endpoints/organization_repository_commits.py b/src/sentry/integrations/api/endpoints/organization_repository_commits.py index 17a7b34f166d4d..6f9d389a617212 100644 --- a/src/sentry/integrations/api/endpoints/organization_repository_commits.py +++ b/src/sentry/integrations/api/endpoints/organization_repository_commits.py @@ -32,7 +32,8 @@ class OrganizationRepositoryCommitsEndpoint(OrganizationEndpoint): } @extend_schema( - operation_id="List a Repository's Commits", + operation_id="listOrganizationRepoCommits", + summary="List a Repository's Commits", parameters=[ GlobalParams.ORG_ID_OR_SLUG, OpenApiParameter( diff --git a/src/sentry/issues/endpoints/group_details.py b/src/sentry/issues/endpoints/group_details.py index dd5bd990829ddd..7e98db7ffb81e8 100644 --- a/src/sentry/issues/endpoints/group_details.py +++ b/src/sentry/issues/endpoints/group_details.py @@ -179,7 +179,8 @@ def finalize_response( return response @extend_schema( - operation_id="Retrieve an Issue", + operation_id="getOrganizationIssue", + summary="Retrieve an Issue", parameters=[ GlobalParams.ORG_ID_OR_SLUG, IssueParams.ISSUES_OR_GROUPS, @@ -377,7 +378,8 @@ def get(self, request: Request, group: Group) -> Response[GroupDetailsResponse]: raise @extend_schema( - operation_id="Update an Issue", + operation_id="updateOrganizationIssue", + summary="Update an Issue", parameters=[ GlobalParams.ORG_ID_OR_SLUG, IssueParams.ISSUES_OR_GROUPS, @@ -451,7 +453,8 @@ def put( return Response(body, status=e.status_code) @extend_schema( - operation_id="Remove an Issue", + operation_id="deleteOrganizationIssue", + summary="Remove an Issue", parameters=[ GlobalParams.ORG_ID_OR_SLUG, IssueParams.ISSUES_OR_GROUPS, diff --git a/src/sentry/issues/endpoints/group_event_details.py b/src/sentry/issues/endpoints/group_event_details.py index ed817d51819378..b8383c3d4d55ce 100644 --- a/src/sentry/issues/endpoints/group_event_details.py +++ b/src/sentry/issues/endpoints/group_event_details.py @@ -143,7 +143,8 @@ class GroupEventDetailsEndpoint(GroupEndpoint): ) @extend_schema( - operation_id="Retrieve an Issue Event", + operation_id="getOrganizationIssueEvent", + summary="Retrieve an Issue Event", parameters=[ GlobalParams.ORG_ID_OR_SLUG, IssueParams.ISSUES_OR_GROUPS, diff --git a/src/sentry/issues/endpoints/group_events.py b/src/sentry/issues/endpoints/group_events.py index afbb43e277b918..72179a4ae2e2e5 100644 --- a/src/sentry/issues/endpoints/group_events.py +++ b/src/sentry/issues/endpoints/group_events.py @@ -67,7 +67,8 @@ class GroupEventsEndpoint(GroupEndpoint): owner = ApiOwner.ISSUES @extend_schema( - operation_id="List an Issue's Events", + operation_id="listOrganizationIssueEvents", + summary="List an Issue's Events", parameters=[ GlobalParams.ORG_ID_OR_SLUG, IssueParams.ISSUES_OR_GROUPS, diff --git a/src/sentry/issues/endpoints/group_hashes.py b/src/sentry/issues/endpoints/group_hashes.py index 38889f72a46d02..4b9c23b0523127 100644 --- a/src/sentry/issues/endpoints/group_hashes.py +++ b/src/sentry/issues/endpoints/group_hashes.py @@ -54,7 +54,8 @@ class GroupHashesEndpoint(GroupEndpoint): } @extend_schema( - operation_id="List an Issue's Hashes", + operation_id="listOrganizationIssueHashes", + summary="List an Issue's Hashes", parameters=[ GlobalParams.ORG_ID_OR_SLUG, IssueParams.ISSUES_OR_GROUPS, diff --git a/src/sentry/issues/endpoints/group_tagkey_details.py b/src/sentry/issues/endpoints/group_tagkey_details.py index 8e8e5d06fd9cd1..52ef2522c3faeb 100644 --- a/src/sentry/issues/endpoints/group_tagkey_details.py +++ b/src/sentry/issues/endpoints/group_tagkey_details.py @@ -47,7 +47,8 @@ class GroupTagKeyDetailsEndpoint(GroupEndpoint): ) @extend_schema( - operation_id="Retrieve Tag Details", + operation_id="getOrganizationIssueTag", + summary="Retrieve Tag Details", description="Return a list of values associated with this key for an issue. When paginated can return at most 1000 values.", parameters=[ IssueParams.ISSUE_ID, diff --git a/src/sentry/issues/endpoints/group_tagkey_values.py b/src/sentry/issues/endpoints/group_tagkey_values.py index 0a5ad35d11a09d..ce3b816b2ed204 100644 --- a/src/sentry/issues/endpoints/group_tagkey_values.py +++ b/src/sentry/issues/endpoints/group_tagkey_values.py @@ -48,7 +48,8 @@ class GroupTagKeyValuesEndpoint(GroupEndpoint): ) @extend_schema( - operation_id="List a Tag's Values for an Issue", + operation_id="listOrganizationIssueTagValues", + summary="List a Tag's Values for an Issue", description="Returns a list of values associated with this key for an issue.\nReturns at most 1000 values when paginated.", parameters=[ IssueParams.ISSUE_ID, diff --git a/src/sentry/issues/endpoints/organization_eventid.py b/src/sentry/issues/endpoints/organization_eventid.py index d9b9672caf5470..e59d943215b78d 100644 --- a/src/sentry/issues/endpoints/organization_eventid.py +++ b/src/sentry/issues/endpoints/organization_eventid.py @@ -54,7 +54,8 @@ class EventIdLookupEndpoint(OrganizationEndpoint): ) @extend_schema( - operation_id="Resolve an Event ID", + operation_id="resolveOrganizationEventId", + summary="Resolve an Event ID", parameters=[GlobalParams.ORG_ID_OR_SLUG, GlobalParams.EVENT_ID], request=None, responses={ diff --git a/src/sentry/issues/endpoints/organization_group_index.py b/src/sentry/issues/endpoints/organization_group_index.py index 6c7833bb06b25b..16191ec1149c93 100644 --- a/src/sentry/issues/endpoints/organization_group_index.py +++ b/src/sentry/issues/endpoints/organization_group_index.py @@ -281,7 +281,8 @@ def _search( return search_issues(request, organization, projects, environments, extra_query_kwargs) @extend_schema( - operation_id="List an Organization's Issues", + operation_id="listOrganizationIssues", + summary="List an Organization's Issues", description=( "Return a list of issues for an organization. " "All parameters are supplied as query string parameters. " @@ -474,7 +475,8 @@ def get( return response @extend_schema( - operation_id="Bulk Mutate an Organization's Issues", + operation_id="updateOrganizationIssues", + summary="Bulk Mutate an Organization's Issues", description=( "Bulk mutate various attributes on a maxmimum of 1000 issues. \n" "- For non-status updates, the `id` query parameter is required. \n" @@ -521,7 +523,8 @@ def put(self, request: Request, organization: Organization) -> Response[MutateIs return update_groups_with_search_fn(request, ids, projects, organization.id, search_fn) @extend_schema( - operation_id="Bulk Remove an Organization's Issues", + operation_id="deleteOrganizationIssues", + summary="Bulk Remove an Organization's Issues", description=( "Permanently remove the given issues. " "If IDs are provided, queries and filtering will be ignored. " diff --git a/src/sentry/issues/endpoints/organization_shortid.py b/src/sentry/issues/endpoints/organization_shortid.py index f6267068437d6c..fe6985cb8d3b49 100644 --- a/src/sentry/issues/endpoints/organization_shortid.py +++ b/src/sentry/issues/endpoints/organization_shortid.py @@ -38,7 +38,8 @@ class ShortIdLookupEndpoint(GroupEndpoint): } @extend_schema( - operation_id="Resolve a Short ID", + operation_id="resolveOrganizationShortId", + summary="Resolve a Short ID", parameters=[ GlobalParams.ORG_ID_OR_SLUG, OpenApiParameter( diff --git a/src/sentry/issues/endpoints/project_event_details.py b/src/sentry/issues/endpoints/project_event_details.py index fe51f7f6331b18..6422054dcea79b 100644 --- a/src/sentry/issues/endpoints/project_event_details.py +++ b/src/sentry/issues/endpoints/project_event_details.py @@ -120,7 +120,8 @@ class ProjectEventDetailsEndpoint(ProjectEndpoint): ) @extend_schema( - operation_id="Retrieve an Event for a Project", + operation_id="getProjectEvent", + summary="Retrieve an Event for a Project", parameters=[ GlobalParams.ORG_ID_OR_SLUG, GlobalParams.PROJECT_ID_OR_SLUG, diff --git a/src/sentry/issues/endpoints/project_events.py b/src/sentry/issues/endpoints/project_events.py index bef8fad012825d..9977bf119ffa31 100644 --- a/src/sentry/issues/endpoints/project_events.py +++ b/src/sentry/issues/endpoints/project_events.py @@ -45,7 +45,8 @@ class ProjectEventsEndpoint(ProjectEndpoint): ) @extend_schema( - operation_id="List a Project's Error Events", + operation_id="listProjectEvents", + summary="List a Project's Error Events", parameters=[ GlobalParams.ORG_ID_OR_SLUG, GlobalParams.PROJECT_ID_OR_SLUG, diff --git a/src/sentry/issues/endpoints/project_group_index.py b/src/sentry/issues/endpoints/project_group_index.py index 345a6f4ddd929a..a2d49e8fb89e75 100644 --- a/src/sentry/issues/endpoints/project_group_index.py +++ b/src/sentry/issues/endpoints/project_group_index.py @@ -69,7 +69,8 @@ class ProjectGroupIndexEndpoint(ProjectEndpoint): ) @extend_schema( - operation_id="List a Project's Issues", + operation_id="listProjectIssues", + summary="List a Project's Issues", parameters=[ GlobalParams.ORG_ID_OR_SLUG, GlobalParams.PROJECT_ID_OR_SLUG, diff --git a/src/sentry/issues/endpoints/project_ownership.py b/src/sentry/issues/endpoints/project_ownership.py index 376a5f790d7d0d..6ce95285519abb 100644 --- a/src/sentry/issues/endpoints/project_ownership.py +++ b/src/sentry/issues/endpoints/project_ownership.py @@ -272,7 +272,8 @@ def rename_schema_identifier_for_parsing(self, ownership: ProjectOwnership) -> N rule_owner["name"] = rule_owner.pop("identifier") @extend_schema( - operation_id="Retrieve Ownership Configuration for a Project", + operation_id="getProjectOwnership", + summary="Retrieve Ownership Configuration for a Project", parameters=[ GlobalParams.ORG_ID_OR_SLUG, GlobalParams.PROJECT_ID_OR_SLUG, @@ -295,7 +296,8 @@ def get(self, request: Request, project) -> Response[ProjectOwnershipResponse]: return Response(body) @extend_schema( - operation_id="Update Ownership Configuration for a Project", + operation_id="updateProjectOwnership", + summary="Update Ownership Configuration for a Project", parameters=[ GlobalParams.ORG_ID_OR_SLUG, GlobalParams.PROJECT_ID_OR_SLUG, diff --git a/src/sentry/releases/endpoints/organization_release_commits.py b/src/sentry/releases/endpoints/organization_release_commits.py index 5862c32d50f40c..e60457fb442dd9 100644 --- a/src/sentry/releases/endpoints/organization_release_commits.py +++ b/src/sentry/releases/endpoints/organization_release_commits.py @@ -26,7 +26,8 @@ class OrganizationReleaseCommitsEndpoint(OrganizationReleasesBaseEndpoint): } @extend_schema( - operation_id="List an Organization Release's Commits", + operation_id="listOrganizationReleaseCommits", + summary="List an Organization Release's Commits", parameters=[ GlobalParams.ORG_ID_OR_SLUG, ReleaseParams.VERSION, diff --git a/src/sentry/releases/endpoints/organization_release_details.py b/src/sentry/releases/endpoints/organization_release_details.py index 7ca581826cf228..fc54c6552e27b1 100644 --- a/src/sentry/releases/endpoints/organization_release_details.py +++ b/src/sentry/releases/endpoints/organization_release_details.py @@ -315,7 +315,8 @@ class OrganizationReleaseDetailsEndpoint( } @extend_schema( - operation_id="Retrieve an Organization's Release", + operation_id="getOrganizationRelease", + summary="Retrieve an Organization's Release", parameters=[ GlobalParams.ORG_ID_OR_SLUG, ReleaseParams.VERSION, @@ -469,7 +470,8 @@ def get( return Response(data) @extend_schema( - operation_id="Update an Organization's Release", + operation_id="updateOrganizationRelease", + summary="Update an Organization's Release", parameters=[ GlobalParams.ORG_ID_OR_SLUG, ReleaseParams.VERSION, @@ -595,7 +597,8 @@ def put( return Response(data) @extend_schema( - operation_id="Delete an Organization's Release", + operation_id="deleteOrganizationRelease", + summary="Delete an Organization's Release", parameters=[ GlobalParams.ORG_ID_OR_SLUG, ReleaseParams.VERSION, diff --git a/src/sentry/releases/endpoints/organization_release_file_details.py b/src/sentry/releases/endpoints/organization_release_file_details.py index 7a6e5e7cd106e0..9e66ee3b55ad5c 100644 --- a/src/sentry/releases/endpoints/organization_release_file_details.py +++ b/src/sentry/releases/endpoints/organization_release_file_details.py @@ -40,7 +40,8 @@ class OrganizationReleaseFileDetailsEndpoint( } @extend_schema( - operation_id="Retrieve an Organization Release's File", + operation_id="getOrganizationReleaseFile", + summary="Retrieve an Organization Release's File", parameters=[ GlobalParams.ORG_ID_OR_SLUG, ReleaseParams.VERSION, @@ -118,7 +119,8 @@ def put( return self.update_releasefile(request, release, file_id) @extend_schema( - operation_id="Delete an Organization Release's File", + operation_id="deleteOrganizationReleaseFile", + summary="Delete an Organization Release's File", parameters=[GlobalParams.ORG_ID_OR_SLUG, ReleaseParams.VERSION, ReleaseParams.FILE_ID], responses={ 204: RESPONSE_NO_CONTENT, diff --git a/src/sentry/releases/endpoints/organization_release_files.py b/src/sentry/releases/endpoints/organization_release_files.py index 69bc7f393c0464..75e1e69e1d521c 100644 --- a/src/sentry/releases/endpoints/organization_release_files.py +++ b/src/sentry/releases/endpoints/organization_release_files.py @@ -104,7 +104,8 @@ def get( return self.get_releasefiles(request, release, organization.id) @extend_schema( - operation_id="Upload a New Organization Release File", + operation_id="uploadOrganizationReleaseFile", + summary="Upload a New Organization Release File", parameters=[GlobalParams.ORG_ID_OR_SLUG, ReleaseParams.VERSION], request={"multipart/form-data": ReleaseFileUploadSerializer}, responses={ diff --git a/src/sentry/releases/endpoints/project_release_commits.py b/src/sentry/releases/endpoints/project_release_commits.py index 01e9441d86b813..d3a24d3f90ef66 100644 --- a/src/sentry/releases/endpoints/project_release_commits.py +++ b/src/sentry/releases/endpoints/project_release_commits.py @@ -29,7 +29,8 @@ class ProjectReleaseCommitsEndpoint(ProjectEndpoint): permission_classes = (ProjectReleasePermission,) @extend_schema( - operation_id="List a Project Release's Commits", + operation_id="listProjectReleaseCommits", + summary="List a Project Release's Commits", parameters=[ GlobalParams.ORG_ID_OR_SLUG, GlobalParams.PROJECT_ID_OR_SLUG, diff --git a/src/sentry/releases/endpoints/project_release_file_details.py b/src/sentry/releases/endpoints/project_release_file_details.py index 3d4006407ec075..cfe80fd60b074e 100644 --- a/src/sentry/releases/endpoints/project_release_file_details.py +++ b/src/sentry/releases/endpoints/project_release_file_details.py @@ -241,7 +241,8 @@ class ProjectReleaseFileDetailsEndpoint(ProjectEndpoint, ReleaseFileDetailsMixin permission_classes = (ProjectReleasePermission,) @extend_schema( - operation_id="Retrieve a Project Release's File", + operation_id="getProjectReleaseFile", + summary="Retrieve a Project Release's File", parameters=[ GlobalParams.ORG_ID_OR_SLUG, GlobalParams.PROJECT_ID_OR_SLUG, @@ -321,7 +322,8 @@ def put( return self.update_releasefile(request, release, file_id) @extend_schema( - operation_id="Delete a Project Release's File", + operation_id="deleteProjectReleaseFile", + summary="Delete a Project Release's File", parameters=[ GlobalParams.ORG_ID_OR_SLUG, GlobalParams.PROJECT_ID_OR_SLUG, diff --git a/src/sentry/releases/endpoints/project_release_files.py b/src/sentry/releases/endpoints/project_release_files.py index 91eb2ec9231b4f..ef07801d47aec5 100644 --- a/src/sentry/releases/endpoints/project_release_files.py +++ b/src/sentry/releases/endpoints/project_release_files.py @@ -335,7 +335,8 @@ def get( return self.get_releasefiles(request, release, project.organization_id) @extend_schema( - operation_id="Upload a New Project Release File", + operation_id="uploadProjectReleaseFile", + summary="Upload a New Project Release File", parameters=[ GlobalParams.ORG_ID_OR_SLUG, GlobalParams.PROJECT_ID_OR_SLUG, diff --git a/src/sentry/releases/endpoints/project_releases.py b/src/sentry/releases/endpoints/project_releases.py index bc1e919bb60983..285b3479be4fd3 100644 --- a/src/sentry/releases/endpoints/project_releases.py +++ b/src/sentry/releases/endpoints/project_releases.py @@ -60,7 +60,8 @@ class ProjectReleasesEndpoint(ProjectEndpoint): ) @extend_schema( - operation_id="List a Project's Releases", + operation_id="listProjectReleases", + summary="List a Project's Releases", parameters=[ GlobalParams.ORG_ID_OR_SLUG, GlobalParams.PROJECT_ID_OR_SLUG, diff --git a/src/sentry/releases/endpoints/release_deploys.py b/src/sentry/releases/endpoints/release_deploys.py index 1d3b4dd274c0dc..a7a17a8c19883c 100644 --- a/src/sentry/releases/endpoints/release_deploys.py +++ b/src/sentry/releases/endpoints/release_deploys.py @@ -147,7 +147,8 @@ class ReleaseDeploysEndpoint(OrganizationReleasesBaseEndpoint): } @extend_schema( - operation_id="List a Release's Deploys", + operation_id="listOrganizationReleaseDeploys", + summary="List a Release's Deploys", parameters=[GlobalParams.ORG_ID_OR_SLUG, ReleaseParams.VERSION, CursorQueryParam], responses={200: DeployResponseSerializer(many=True)}, ) @@ -188,7 +189,8 @@ def get( ) @extend_schema( - operation_id="Create a Deploy", + operation_id="createOrganizationReleaseDeploy", + summary="Create a Deploy", parameters=[GlobalParams.ORG_ID_OR_SLUG, ReleaseParams.VERSION], request=DeploySerializer, responses={201: DeployResponseSerializer, 400: RESPONSE_BAD_REQUEST}, diff --git a/src/sentry/workflow_engine/endpoints/organization_detector_details.py b/src/sentry/workflow_engine/endpoints/organization_detector_details.py index 9e0ea9b449ecf2..25fdfbc642c307 100644 --- a/src/sentry/workflow_engine/endpoints/organization_detector_details.py +++ b/src/sentry/workflow_engine/endpoints/organization_detector_details.py @@ -162,7 +162,8 @@ def convert_args( permission_classes = (OrganizationDetectorPermission,) @extend_schema( - operation_id="Fetch a Monitor", + operation_id="getOrganizationDetector", + summary="Fetch a Monitor", parameters=[ GlobalParams.ORG_ID_OR_SLUG, DetectorParams.DETECTOR_ID, @@ -192,7 +193,8 @@ def get( return Response(serialized_detector) @extend_schema( - operation_id="Update a Monitor by ID", + operation_id="updateOrganizationDetector", + summary="Update a Monitor by ID", parameters=[ GlobalParams.ORG_ID_OR_SLUG, DetectorParams.DETECTOR_ID, @@ -232,7 +234,8 @@ def put( return Response(body, status=status.HTTP_200_OK) @extend_schema( - operation_id="Delete a Monitor", + operation_id="deleteOrganizationDetector", + summary="Delete a Monitor", parameters=[ GlobalParams.ORG_ID_OR_SLUG, DetectorParams.DETECTOR_ID, diff --git a/src/sentry/workflow_engine/endpoints/organization_detector_index.py b/src/sentry/workflow_engine/endpoints/organization_detector_index.py index 1fafbcdc633130..09acf17d20938e 100644 --- a/src/sentry/workflow_engine/endpoints/organization_detector_index.py +++ b/src/sentry/workflow_engine/endpoints/organization_detector_index.py @@ -252,7 +252,8 @@ def filter_detectors(self, request: Request, organization: Any) -> QuerySet[Dete return queryset @extend_schema( - operation_id="Fetch an Organization's Monitors", + operation_id="listOrganizationDetectors", + summary="Fetch an Organization's Monitors", parameters=[ GlobalParams.ORG_ID_OR_SLUG, OrganizationParams.PROJECT, @@ -319,7 +320,8 @@ def get( ) @extend_schema( - operation_id="Mutate an Organization's Monitors", + operation_id="updateOrganizationDetectors", + summary="Mutate an Organization's Monitors", parameters=[ GlobalParams.ORG_ID_OR_SLUG, OrganizationParams.PROJECT, @@ -407,7 +409,8 @@ def put( ) @extend_schema( - operation_id="Bulk Delete Monitors", + operation_id="deleteOrganizationDetectors", + summary="Bulk Delete Monitors", parameters=[ GlobalParams.ORG_ID_OR_SLUG, OrganizationParams.PROJECT, diff --git a/src/sentry/workflow_engine/endpoints/organization_project_detector_index.py b/src/sentry/workflow_engine/endpoints/organization_project_detector_index.py index 2376d9d00c7464..6ecd5311077b7b 100644 --- a/src/sentry/workflow_engine/endpoints/organization_project_detector_index.py +++ b/src/sentry/workflow_engine/endpoints/organization_project_detector_index.py @@ -49,7 +49,8 @@ class OrganizationProjectDetectorIndexEndpoint(ProjectEndpoint): permission_classes = (OrganizationProjectDetectorPermission,) @extend_schema( - operation_id="Create a Monitor for a Project", + operation_id="createOrganizationProjectDetector", + summary="Create a Monitor for a Project", parameters=[ GlobalParams.ORG_ID_OR_SLUG, GlobalParams.PROJECT_ID_OR_SLUG, diff --git a/src/sentry/workflow_engine/endpoints/organization_workflow_details.py b/src/sentry/workflow_engine/endpoints/organization_workflow_details.py index ace402d516e159..497ac883be2c9f 100644 --- a/src/sentry/workflow_engine/endpoints/organization_workflow_details.py +++ b/src/sentry/workflow_engine/endpoints/organization_workflow_details.py @@ -42,7 +42,8 @@ class OrganizationWorkflowDetailsEndpoint(OrganizationWorkflowEndpoint): owner = ApiOwner.ALERTS_MONITORS @extend_schema( - operation_id="Fetch an Alert", + operation_id="getOrganizationWorkflow", + summary="Fetch an Alert", parameters=[ GlobalParams.ORG_ID_OR_SLUG, WorkflowParams.WORKFLOW_ID, @@ -70,7 +71,8 @@ def get( return Response(serialized_workflow) @extend_schema( - operation_id="Update an Alert by ID", + operation_id="updateOrganizationWorkflow", + summary="Update an Alert by ID", parameters=[ GlobalParams.ORG_ID_OR_SLUG, WorkflowParams.WORKFLOW_ID, @@ -119,7 +121,8 @@ def put( ) @extend_schema( - operation_id="Delete an Alert", + operation_id="deleteOrganizationWorkflow", + summary="Delete an Alert", parameters=[ GlobalParams.ORG_ID_OR_SLUG, WorkflowParams.WORKFLOW_ID, diff --git a/src/sentry/workflow_engine/endpoints/organization_workflow_index.py b/src/sentry/workflow_engine/endpoints/organization_workflow_index.py index b80a1bc8b36c3c..20ff8035d0651c 100644 --- a/src/sentry/workflow_engine/endpoints/organization_workflow_index.py +++ b/src/sentry/workflow_engine/endpoints/organization_workflow_index.py @@ -219,7 +219,8 @@ def filter_workflows(self, request: Request, organization: Organization) -> Quer return queryset @extend_schema( - operation_id="Fetch Alerts", + operation_id="listOrganizationWorkflows", + summary="Fetch Alerts", parameters=[ GlobalParams.ORG_ID_OR_SLUG, WorkflowParams.SORT_BY, @@ -307,7 +308,8 @@ def get( ) @extend_schema( - operation_id="Create an Alert for an Organization", + operation_id="createOrganizationWorkflow", + summary="Create an Alert for an Organization", parameters=[ GlobalParams.ORG_ID_OR_SLUG, ], @@ -339,7 +341,8 @@ def post( ) @extend_schema( - operation_id="Mutate an Organization's Alerts", + operation_id="updateOrganizationWorkflows", + summary="Mutate an Organization's Alerts", parameters=[ GlobalParams.ORG_ID_OR_SLUG, WorkflowParams.QUERY, @@ -410,7 +413,8 @@ def put( ) @extend_schema( - operation_id="Bulk Delete Alerts", + operation_id="deleteOrganizationWorkflows", + summary="Bulk Delete Alerts", parameters=[ GlobalParams.ORG_ID_OR_SLUG, WorkflowParams.QUERY,