2025-04-16 04:50:44 +00:00
|
|
|
from django.urls import path
|
|
|
|
|
|
|
|
|
|
from . import views
|
|
|
|
|
|
|
|
|
|
app_name = "tool"
|
2025-06-25 06:50:42 +00:00
|
|
|
# @formatter:off
|
2025-04-16 04:50:44 +00:00
|
|
|
urlpatterns = [
|
2025-06-19 10:33:15 +00:00
|
|
|
path('workspace/internal/tool', views.ToolView.InternalTool.as_view()),
|
2025-09-09 02:32:59 +00:00
|
|
|
path('workspace/store/tool', views.ToolView.StoreTool.as_view()),
|
2025-04-21 02:45:04 +00:00
|
|
|
path('workspace/<str:workspace_id>/tool', views.ToolView.as_view()),
|
2025-04-22 06:24:44 +00:00
|
|
|
path('workspace/<str:workspace_id>/tool/import', views.ToolView.Import.as_view()),
|
2025-06-04 03:08:05 +00:00
|
|
|
path('workspace/<str:workspace_id>/tool/pylint', views.ToolView.Pylint.as_view()),
|
2025-06-04 10:51:50 +00:00
|
|
|
path('workspace/<str:workspace_id>/tool/debug', views.ToolView.Debug.as_view()),
|
2025-08-11 05:12:56 +00:00
|
|
|
path('workspace/<str:workspace_id>/tool/tool_list', views.ToolView.Query.as_view()),
|
2025-09-25 04:05:21 +00:00
|
|
|
path('workspace/<str:workspace_id>/tool/test_connection', views.ToolView.TestConnection.as_view()),
|
2025-04-18 08:04:58 +00:00
|
|
|
path('workspace/<str:workspace_id>/tool/<str:tool_id>', views.ToolView.Operate.as_view()),
|
2025-06-04 10:51:50 +00:00
|
|
|
path('workspace/<str:workspace_id>/tool/<str:tool_id>/edit_icon', views.ToolView.EditIcon.as_view()),
|
2025-04-22 06:24:44 +00:00
|
|
|
path('workspace/<str:workspace_id>/tool/<str:tool_id>/export', views.ToolView.Export.as_view()),
|
2025-06-19 10:33:15 +00:00
|
|
|
path('workspace/<str:workspace_id>/tool/<str:tool_id>/add_internal_tool', views.ToolView.AddInternalTool.as_view()),
|
2025-09-09 02:32:59 +00:00
|
|
|
path('workspace/<str:workspace_id>/tool/<str:tool_id>/add_store_tool', views.ToolView.AddStoreTool.as_view()),
|
|
|
|
|
path('workspace/<str:workspace_id>/tool/<str:tool_id>/update_store_tool', views.ToolView.UpdateStoreTool.as_view()),
|
2025-04-22 06:24:44 +00:00
|
|
|
path('workspace/<str:workspace_id>/tool/<int:current_page>/<int:page_size>', views.ToolView.Page.as_view()),
|
2025-04-16 04:50:44 +00:00
|
|
|
]
|