권주희

Merge branch 'feature/item_api' into 'develop'

Feature/item api



See merge request !12
This diff is collapsed. Click to expand it.
......@@ -30,6 +30,8 @@ urlpatterns = [
path('admin/', admin.site.urls),
path('', include(router.urls)),
url(r'^search/$', views.ItemViewSet.search, name='search'),
url(r'^<int:pk>/delete/$', views.ItemViewSet.delete, name='delete'),
url(r'^<int:pk>/restore/$', views.ItemViewSet.restore, name='restore'),
url(r'^<int:pk>/share/$', views.SharedItemViewSet.share, name='share'),
url(r'^<int:pk>/move/$', views.ItemViewSet.move, name='move'),
url(r'^<int:pk>/copy/$', views.ItemViewSet.copy, name='copy'),
......@@ -38,4 +40,4 @@ urlpatterns = [
url(r'^login/$', views.UserViewSet.login, name='login'),
url(r'^upload/$', views.ItemViewSet.upload, name='upload'),
url(r'^status/$', views.ItemViewSet.status, name='status'),
]
]
\ No newline at end of file
......