mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	add api method to get selection data
This commit is contained in:
		@@ -19,7 +19,8 @@ from documents.views import (
 | 
			
		||||
    StatisticsView,
 | 
			
		||||
    PostDocumentView,
 | 
			
		||||
    SavedViewViewSet,
 | 
			
		||||
    BulkEditView
 | 
			
		||||
    BulkEditView,
 | 
			
		||||
    SelectionDataView
 | 
			
		||||
)
 | 
			
		||||
from paperless.views import FaviconView
 | 
			
		||||
 | 
			
		||||
@@ -53,10 +54,12 @@ urlpatterns = [
 | 
			
		||||
        re_path(r"^documents/post_document/", PostDocumentView.as_view(),
 | 
			
		||||
                name="post_document"),
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        re_path(r"^documents/bulk_edit/", BulkEditView.as_view(),
 | 
			
		||||
                name="bulk_edit"),
 | 
			
		||||
 | 
			
		||||
        re_path(r"^documents/selection_data/", SelectionDataView.as_view(),
 | 
			
		||||
                name="selection_data"),
 | 
			
		||||
 | 
			
		||||
        path('token/', views.obtain_auth_token)
 | 
			
		||||
 | 
			
		||||
    ] + api_router.urls)),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user