Skip to content

Commit ef9e80f

Browse files
committed
feat: add batch_cancel_task endpoint to document routes in urls.py
1 parent ede1e3d commit ef9e80f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/knowledge/urls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@
4141
path('workspace/<str:workspace_id>/knowledge/<str:knowledge_id>/document/table', views.TableDocumentView.as_view()),
4242
path('workspace/<str:workspace_id>/knowledge/<str:knowledge_id>/document/batch_hit_handling',
4343
views.DocumentView.BatchEditHitHandling.as_view()),
44+
path('workspace/<str:workspace_id>/knowledge/<str:knowledge_id>/document/batch_cancel_task',
45+
views.DocumentView.BatchCancelTask.as_view()),
4446
path('workspace/<str:workspace_id>/knowledge/<str:knowledge_id>/document/migrate/<str:target_knowledge_id>',
4547
views.DocumentView.Migrate.as_view()),
4648
path('workspace/<str:workspace_id>/knowledge/<str:knowledge_id>/document/<str:document_id>',
@@ -51,8 +53,6 @@
5153
views.DocumentView.Refresh.as_view()),
5254
path('workspace/<str:workspace_id>/knowledge/<str:knowledge_id>/document/<str:document_id>/cancel_task',
5355
views.DocumentView.CancelTask.as_view()),
54-
path('workspace/<str:workspace_id>/knowledge/<str:knowledge_id>/document/<str:document_id>/batch_cancel_task',
55-
views.DocumentView.BatchCancelTask.as_view()),
5656
path('workspace/<str:workspace_id>/knowledge/<str:knowledge_id>/document/<str:document_id>/export',
5757
views.DocumentView.Export.as_view()),
5858
path('workspace/<str:workspace_id>/knowledge/<str:knowledge_id>/document/<str:document_id>/export_zip',

0 commit comments

Comments
 (0)