def METHOD_NAME(self, request: Request) -> Response:
    """Get the total license status"""
    total = LicenseKey.get_total()
    last_valid = LicenseKey.last_valid_date()
    # TODO: move this to a different place?
    show_admin_warning = last_valid < now() - timedelta(weeks=2)
    show_user_warning = last_valid < now() - timedelta(weeks=4)
    read_only = last_valid < now() - timedelta(weeks=6)
    latest_valid = datetime.fromtimestamp(total.exp)
    response = LicenseSummary(
        data={
            "internal_users": total.internal_users,
            "external_users": total.external_users,
            "valid": total.is_valid(),
            "show_admin_warning": show_admin_warning,
            "show_user_warning": show_user_warning,
            "read_only": read_only,
            "latest_valid": latest_valid,
            "has_license": License.objects.all().count() > 0,
        }
    )
    response.is_valid(raise_exception=True)
    return Response(response.data)