mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-11 00:57:09 +01:00
API support for downloading compressed archives of multiple documents
This commit is contained in:
parent
4de4789605
commit
31f03ef1d3
5 changed files with 274 additions and 26 deletions
|
|
@ -23,7 +23,8 @@ from documents.views import (
|
|||
PostDocumentView,
|
||||
SavedViewViewSet,
|
||||
BulkEditView,
|
||||
SelectionDataView
|
||||
SelectionDataView,
|
||||
BulkDownloadView
|
||||
)
|
||||
from paperless.views import FaviconView
|
||||
|
||||
|
|
@ -63,6 +64,9 @@ urlpatterns = [
|
|||
re_path(r"^documents/selection_data/", SelectionDataView.as_view(),
|
||||
name="selection_data"),
|
||||
|
||||
re_path(r"^documents/bulk_download/", BulkDownloadView.as_view(),
|
||||
name="bulk_download"),
|
||||
|
||||
path('token/', views.obtain_auth_token)
|
||||
|
||||
] + api_router.urls)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue