from django.conf.urls import url
from api.wb import views

app_name = 'osf'

urlpatterns = [
    url(r'^move/', views.MoveFile.as_view(), name=views.MoveFile.view_name),
    url(r'^copy/', views.MoveFile.as_view(), name=views.MoveFile.view_name),
]

from django.conf.urls import url
from api.wb import views

app_name = 'osf'

urlpatterns = [
    url(r'^(?P<node_id>\w+)/move/', views.MoveFile.as_view(), name=views.MoveFile.view_name),
    url(r'^(?P<node_id>\w+)/copy/', views.MoveFile.as_view(), name=views.MoveFile.view_name),
]

Add node id to url.
Add node id to url.
