geonode.maps.api.views ====================== .. py:module:: geonode.maps.api.views Attributes ---------- .. autoapisummary:: geonode.maps.api.views.logger Classes ------- .. autoapisummary:: geonode.maps.api.views.MapViewSet Module Contents --------------- .. py:data:: logger .. py:class:: MapViewSet Bases: :py:obj:`dynamic_rest.viewsets.DynamicModelViewSet` API endpoint that allows maps to be viewed or edited. .. py:attribute:: http_method_names :value: ['get', 'patch', 'post', 'put'] .. py:attribute:: authentication_classes .. py:attribute:: permission_classes .. py:attribute:: filter_backends .. py:attribute:: queryset .. py:attribute:: serializer_class .. py:attribute:: pagination_class .. py:method:: list(request, *args, **kwargs) .. py:method:: update(request, *args, **kwargs) Changes in the m2m `maplayers` are committed before object changes. To protect the db, this action is done within an atomic tansation. .. py:method:: create(request, *args, **kwargs) Changes in the m2m `maplayers` are committed before object changes. To protect the db, this action is done within an atomic tansation. .. py:method:: maplayers(request, pk=None, *args, **kwargs) .. py:method:: datasets(request, pk=None, *args, **kwargs) .. py:method:: perform_create(serializer) .. py:method:: perform_update(serializer) .. py:method:: _post_change_routines(instance: geonode.maps.models.Map, create_action_perfomed: bool, additional_data: dict)