urls.py 632 Bytes
from django.urls import path, include
from cloud import views

urlpatterns = [
    path('files/loadFolder', views.loadFolder.as_view()),
    path('files/loadFiles', views.loadFiles.as_view()),
    path('files/uploadFiles', views.uploadFiles.as_view()),
    path('files/uploadFolder', views.uploadFolder.as_view()),
    path('files/deleteTrash/<int:id>', views.deleteTrash.as_view()),
    path('files/restorefile', views.restore.as_view()),
    path('files/downloadFile/<int:id>', views.downloadFile.as_view()),
    path('files/renameFile/<int:id>', views.renameFile.as_view()),
    path('files/viewXml', views.viewXml.as_view()),
]