def METHOD_NAME(self, request):
    """
    This function marks all activities in a NotificationFeed as seen or/and red.
    """
    serializer = self.get_serializer(data=request.data)
    serializer.is_valid(raise_exception=True)
    feed = self.get_queryset().model
    seen = serializer.validated_data["seen"]
    read = serializer.validated_data["read"]
    feed.METHOD_NAME(self.request.user.id, seen, read)
    return Response(serializer.data, status=status.HTTP_200_OK)