geonode.harvesting.api.views ============================ .. py:module:: geonode.harvesting.api.views Attributes ---------- .. autoapisummary:: geonode.harvesting.api.views.logger Classes ------- .. autoapisummary:: geonode.harvesting.api.views.IsAdminOrListOnly geonode.harvesting.api.views.HarvesterViewSet geonode.harvesting.api.views.HarvestableResourceViewSet geonode.harvesting.api.views.AsynchronousHarvestingSessionViewSet Module Contents --------------- .. py:data:: logger .. py:class:: IsAdminOrListOnly Bases: :py:obj:`rest_framework.permissions.BasePermission` .. py:method:: has_permission(request, view) .. py:class:: HarvesterViewSet Bases: :py:obj:`rest_framework_extensions.mixins.NestedViewSetMixin`, :py:obj:`dynamic_rest.viewsets.DynamicModelViewSet` .. py:attribute:: authentication_classes .. py:attribute:: permission_classes .. py:attribute:: queryset .. py:attribute:: serializer_class .. py:attribute:: pagination_class .. py:method:: get_serializer_class() .. py:class:: HarvestableResourceViewSet Bases: :py:obj:`geonode.harvesting.api.mixins.UpdateListModelMixin`, :py:obj:`rest_framework_extensions.mixins.NestedViewSetMixin`, :py:obj:`dynamic_rest.viewsets.WithDynamicViewSetMixin`, :py:obj:`rest_framework.mixins.ListModelMixin`, :py:obj:`rest_framework.viewsets.GenericViewSet` .. py:attribute:: queryset .. py:attribute:: pagination_class .. py:attribute:: serializer_class .. py:method:: get_serializer_context() .. py:class:: AsynchronousHarvestingSessionViewSet Bases: :py:obj:`dynamic_rest.viewsets.WithDynamicViewSetMixin`, :py:obj:`rest_framework.viewsets.ReadOnlyModelViewSet` .. py:attribute:: queryset .. py:attribute:: serializer_class .. py:attribute:: pagination_class