|
|
@ -1,6 +1,6 @@ |
|
|
|
from django.urls import path |
|
|
|
|
|
|
|
from .views import AnnotationView, AnnotationAPIView, MetaInfoAPI, SearchAPI |
|
|
|
from .views import AnnotationView, AnnotationAPIView, ProgressAPI, SearchAPI |
|
|
|
from .views import ProjectListView, ProjectAdminView, RawDataAPI, LabelAPI |
|
|
|
|
|
|
|
urlpatterns = [ |
|
|
@ -10,6 +10,6 @@ urlpatterns = [ |
|
|
|
path('<int:project_id>/apis/data', AnnotationAPIView.as_view()), |
|
|
|
path('<int:pk>/apis/raw_data', RawDataAPI.as_view(), name='data_api'), |
|
|
|
path('<int:pk>/apis/labels', LabelAPI.as_view(), name='label_api'), |
|
|
|
path('<int:project_id>/apis/label', MetaInfoAPI.as_view()), |
|
|
|
path('<int:project_id>/apis/progress', ProgressAPI.as_view()), |
|
|
|
path('<int:project_id>/apis/search', SearchAPI.as_view()), |
|
|
|
] |