feat: add batch_cancel_task endpoint to document routes in urls.py
This commit is contained in:
parent
ede1e3d645
commit
ef9e80f900
@ -41,6 +41,8 @@ urlpatterns = [
|
|||||||
path('workspace/<str:workspace_id>/knowledge/<str:knowledge_id>/document/table', views.TableDocumentView.as_view()),
|
path('workspace/<str:workspace_id>/knowledge/<str:knowledge_id>/document/table', views.TableDocumentView.as_view()),
|
||||||
path('workspace/<str:workspace_id>/knowledge/<str:knowledge_id>/document/batch_hit_handling',
|
path('workspace/<str:workspace_id>/knowledge/<str:knowledge_id>/document/batch_hit_handling',
|
||||||
views.DocumentView.BatchEditHitHandling.as_view()),
|
views.DocumentView.BatchEditHitHandling.as_view()),
|
||||||
|
path('workspace/<str:workspace_id>/knowledge/<str:knowledge_id>/document/batch_cancel_task',
|
||||||
|
views.DocumentView.BatchCancelTask.as_view()),
|
||||||
path('workspace/<str:workspace_id>/knowledge/<str:knowledge_id>/document/migrate/<str:target_knowledge_id>',
|
path('workspace/<str:workspace_id>/knowledge/<str:knowledge_id>/document/migrate/<str:target_knowledge_id>',
|
||||||
views.DocumentView.Migrate.as_view()),
|
views.DocumentView.Migrate.as_view()),
|
||||||
path('workspace/<str:workspace_id>/knowledge/<str:knowledge_id>/document/<str:document_id>',
|
path('workspace/<str:workspace_id>/knowledge/<str:knowledge_id>/document/<str:document_id>',
|
||||||
@ -51,8 +53,6 @@ urlpatterns = [
|
|||||||
views.DocumentView.Refresh.as_view()),
|
views.DocumentView.Refresh.as_view()),
|
||||||
path('workspace/<str:workspace_id>/knowledge/<str:knowledge_id>/document/<str:document_id>/cancel_task',
|
path('workspace/<str:workspace_id>/knowledge/<str:knowledge_id>/document/<str:document_id>/cancel_task',
|
||||||
views.DocumentView.CancelTask.as_view()),
|
views.DocumentView.CancelTask.as_view()),
|
||||||
path('workspace/<str:workspace_id>/knowledge/<str:knowledge_id>/document/<str:document_id>/batch_cancel_task',
|
|
||||||
views.DocumentView.BatchCancelTask.as_view()),
|
|
||||||
path('workspace/<str:workspace_id>/knowledge/<str:knowledge_id>/document/<str:document_id>/export',
|
path('workspace/<str:workspace_id>/knowledge/<str:knowledge_id>/document/<str:document_id>/export',
|
||||||
views.DocumentView.Export.as_view()),
|
views.DocumentView.Export.as_view()),
|
||||||
path('workspace/<str:workspace_id>/knowledge/<str:knowledge_id>/document/<str:document_id>/export_zip',
|
path('workspace/<str:workspace_id>/knowledge/<str:knowledge_id>/document/<str:document_id>/export_zip',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user