Skip to content
Merged
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
6 changes: 3 additions & 3 deletions src/sentry/replays/endpoints/organization_replay_count.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ class OrganizationReplayCountEndpoint(OrganizationEventsV2EndpointBase):

@extend_schema(
examples=ReplayExamples.GET_REPLAY_COUNTS,
operation_id="Return a Count of Replays",
operation_id="Retrieve a Count of Replays",
parameters=[
GlobalParams.END,
GlobalParams.ENVIRONMENT,
GlobalParams.ORG_ID_OR_SLUG,
GlobalParams.START,
GlobalParams.END,
GlobalParams.STATS_PERIOD,
OrganizationParams.PROJECT,
VisibilityParams.QUERY,
Expand All @@ -73,7 +73,7 @@ class OrganizationReplayCountEndpoint(OrganizationEventsV2EndpointBase):
},
)
def get(self, request: Request, organization: Organization) -> Response:
"""Return a count of replays for the given issue or transaction id."""
"""Return a count of replays for the given issue or transaction ID."""
if not features.has("organizations:session-replay", organization, actor=request.user):
return Response(status=404)

Expand Down
2 changes: 1 addition & 1 deletion src/sentry/replays/endpoints/project_replay_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def get(self, request: Request, project: Project, replay_id: str) -> Response:
)
def delete(self, request: Request, project: Project, replay_id: str) -> Response:
"""
Delete a replay
Delete a replay.
"""

if not features.has(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class ProjectReplayRecordingSegmentDetailsEndpoint(ProjectEndpoint):
}

@extend_schema(
operation_id="Fetch Recording Segment",
operation_id="Retrieve a Recording Segment",
parameters=[
GlobalParams.ORG_ID_OR_SLUG,
GlobalParams.PROJECT_ID_OR_SLUG,
Expand Down
2 changes: 1 addition & 1 deletion src/sentry/replays/endpoints/project_replay_viewed_by.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class ProjectReplayViewedByEndpoint(ProjectEndpoint):
permission_classes = (ProjectEventPermission,)

@extend_schema(
operation_id="Get list of user who have viewed a replay",
operation_id="List Users Who Have Viewed a Replay",
parameters=[
GlobalParams.ORG_ID_OR_SLUG,
GlobalParams.PROJECT_ID_OR_SLUG,
Expand Down
4 changes: 3 additions & 1 deletion src/sentry/replays/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ class ReplaySelectorValidator(serializers.Serializer):
required=False,
)
project = serializers.ListField(
required=False, help_text="The ID of the projects to filter by."
required=False,
help_text="The ID of the projects to filter by.",
child=serializers.IntegerField(),
)
sort = serializers.CharField(help_text="The field to sort the output by.", required=False)