mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-14 02:27:06 +01:00
add api method to get selection data
This commit is contained in:
parent
0a1b810da7
commit
320298e3ff
3 changed files with 71 additions and 4 deletions
|
|
@ -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)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue