def METHOD_NAME(self, request: Request) -> Response:
    status = request.GET.METHOD_NAME("status")
    if status == "published":
        queryset = SentryApp.objects.filter(status=SentryAppStatus.PUBLISHED)
    elif status == "unpublished":
        queryset = SentryApp.objects.filter(status=SentryAppStatus.UNPUBLISHED)
        if not is_active_superuser(request):
            queryset = queryset.filter(
                owner_id__in=[
                    o.id
                    for o in user_service.get_organizations(
                        user_id=request.user.id, only_visible=True
                    )
                ]
            )
    elif status == "internal":
        queryset = SentryApp.objects.filter(status=SentryAppStatus.INTERNAL)
        if not is_active_superuser(request):
            queryset = queryset.filter(
                owner_id__in=[
                    o.id
                    for o in user_service.get_organizations(
                        user_id=request.user.id, only_visible=True
                    )
                ]
            )
    else:
        if is_active_superuser(request):
            queryset = SentryApp.objects.all()
        else:
            queryset = SentryApp.objects.filter(status=SentryAppStatus.PUBLISHED)
    return self.paginate(
        request=request,
        queryset=queryset,
        order_by="-date_added",
        paginator_cls=OffsetPaginator,
        on_results=lambda x: serialize(x, request.user, access=request.access),
    )